python3Packages.pytools: fix build

This commit is contained in:
Martin Weinelt
2022-03-08 23:21:22 +01:00
parent 2d50b18e6f
commit 546a8a0c25

View File

@@ -3,10 +3,9 @@
, fetchPypi
, pythonOlder
, decorator
, appdirs
, six
, numpy
, pytest
, platformdirs
, pytestCheckHook
}:
buildPythonPackage rec {
@@ -19,18 +18,21 @@ buildPythonPackage rec {
sha256 = "sha256-GXqs9uH11gxxW5JDh5Kst3Aq7Vnrv7FH+oTtp4DlT+4=";
};
checkInputs = [ pytest ];
propagatedBuildInputs = [
decorator
appdirs
six
numpy
platformdirs
];
checkPhase = ''
py.test -k 'not test_persistent_dict'
'';
checkInputs = [
pytestCheckHook
];
pythonImportsCheck = [
"pytools"
"pytools.batchjob"
"pytools.lex"
];
meta = {
homepage = "https://github.com/inducer/pytools/";