python310Packages.pythonfinder: add pythonImportsCheck

This commit is contained in:
Fabian Affolter 2023-03-01 10:49:41 +01:00 committed by Martin Weinelt
parent 41c6f9bd89
commit 1d0870247c

View File

@ -21,7 +21,7 @@ buildPythonPackage rec {
owner = "sarugaku";
repo = pname;
rev = "refs/tags/${version}";
sha256 = "sha256-sfoAS3QpD78we8HcXpxjSyEIN1xLRVLExaM3oXe6tLU=";
hash = "sha256-sfoAS3QpD78we8HcXpxjSyEIN1xLRVLExaM3oXe6tLU=";
};
nativeBuildInputs = [
@ -41,7 +41,13 @@ buildPythonPackage rec {
pytest-timeout
];
pytestFlagsArray = [ "--no-cov" ];
pythonImportsCheck = [
"pythonfinder"
];
pytestFlagsArray = [
"--no-cov"
];
# these tests invoke git in a subprocess and
# for some reason git can't be found even if included in nativeCheckInputs