pythonPackages: fix native / check inputs
This commit is contained in:
committed by
Frederik Rietdijk
parent
15396247ca
commit
5a3670b83c
@@ -10,15 +10,17 @@ buildPythonPackage rec {
|
||||
sha256 = "00kf3zmpp9ya4sydffpifn0j0mzm342a2vzh82p6r0vh10cg7xbg";
|
||||
};
|
||||
|
||||
buildInputs = [ nose mock vcversioner ];
|
||||
checkInputs = [ nose mock vcversioner ];
|
||||
propagatedBuildInputs = [ functools32 ];
|
||||
|
||||
patchPhase = ''
|
||||
postPatch = ''
|
||||
substituteInPlace jsonschema/tests/test_jsonschema_test_suite.py \
|
||||
--replace "python" "${python}/bin/${python.executable}"
|
||||
--replace "python" "${python.pythonForBuild.interpreter}"
|
||||
'';
|
||||
|
||||
checkPhase = "nosetests";
|
||||
checkPhase = ''
|
||||
nosetests
|
||||
'';
|
||||
|
||||
meta = with stdenv.lib; {
|
||||
homepage = https://github.com/Julian/jsonschema;
|
||||
|
||||
Reference in New Issue
Block a user