python3Packages.serpent: fix tests
This commit is contained in:
parent
3b4bdf3f38
commit
b5daee5c5d
@ -6,6 +6,8 @@
|
|||||||
, isPy27
|
, isPy27
|
||||||
, isPy33
|
, isPy33
|
||||||
, enum34
|
, enum34
|
||||||
|
, attrs
|
||||||
|
, pytz
|
||||||
}:
|
}:
|
||||||
|
|
||||||
buildPythonPackage rec {
|
buildPythonPackage rec {
|
||||||
@ -14,11 +16,12 @@ buildPythonPackage rec {
|
|||||||
|
|
||||||
src = fetchPypi {
|
src = fetchPypi {
|
||||||
inherit pname version;
|
inherit pname version;
|
||||||
sha256 = "f306336ca09aa38e526f3b03cab58eb7e45af09981267233167bcf3bfd6436ab";
|
sha256 = "1arnckykpkvv2qrp49l1k7q5mr5pisswl0rvdx98x8wsl1n361pk";
|
||||||
};
|
};
|
||||||
|
|
||||||
propagatedBuildInputs = lib.optionals (isPy27 || isPy33) [ enum34 ];
|
propagatedBuildInputs = lib.optionals (isPy27 || isPy33) [ enum34 ];
|
||||||
|
|
||||||
|
checkInputs = [ attrs pytz ];
|
||||||
checkPhase = ''
|
checkPhase = ''
|
||||||
${python.interpreter} setup.py test
|
${python.interpreter} setup.py test
|
||||||
'';
|
'';
|
||||||
|
Loading…
x
Reference in New Issue
Block a user