mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-16 23:03:40 +01:00
python3Packages.lark: add import checks
This commit is contained in:
parent
787b9e48e3
commit
04cb595c55
1 changed files with 7 additions and 0 deletions
|
@ -19,6 +19,13 @@ buildPythonPackage rec {
|
|||
# Optional import, but fixes some re known bugs & allows advanced regex features
|
||||
propagatedBuildInputs = [ regex ];
|
||||
|
||||
pythonImportsCheck = [
|
||||
"lark"
|
||||
"lark.parsers"
|
||||
"lark.tools"
|
||||
"lark.grammars"
|
||||
];
|
||||
|
||||
checkPhase = ''
|
||||
runHook preCheck
|
||||
|
||||
|
|
Loading…
Reference in a new issue