python3Packages.lark: add import checks

This commit is contained in:
Martin Weinelt 2022-01-18 10:28:47 +01:00
parent 787b9e48e3
commit 04cb595c55

View file

@ -19,6 +19,13 @@ buildPythonPackage rec {
# Optional import, but fixes some re known bugs & allows advanced regex features # Optional import, but fixes some re known bugs & allows advanced regex features
propagatedBuildInputs = [ regex ]; propagatedBuildInputs = [ regex ];
pythonImportsCheck = [
"lark"
"lark.parsers"
"lark.tools"
"lark.grammars"
];
checkPhase = '' checkPhase = ''
runHook preCheck runHook preCheck