pythonPackages.pyristent: add pytestrunner, fix build
This commit is contained in:
committed by
Jake Waksbaum
parent
33f486f456
commit
0756066b1b
@@ -4,6 +4,7 @@
|
||||
, six
|
||||
, pytest
|
||||
, hypothesis
|
||||
, pytestrunner
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
@@ -16,11 +17,11 @@ buildPythonPackage rec {
|
||||
};
|
||||
|
||||
propagatedBuildInputs = [ six ];
|
||||
buildInputs = [ pytest hypothesis ];
|
||||
|
||||
checkPhase = ''
|
||||
py.test
|
||||
'';
|
||||
checkInputs = [ pytestrunner pytest hypothesis ];
|
||||
|
||||
# pytestrunner is only needed to run tests
|
||||
patches = [ ./no-setup-requires-pytestrunner.patch ];
|
||||
|
||||
meta = with stdenv.lib; {
|
||||
homepage = https://github.com/tobgu/pyrsistent/;
|
||||
|
||||
Reference in New Issue
Block a user