pythonPackages: fix native / check inputs

This commit is contained in:
Frederik Rietdijk
2019-01-05 11:54:27 +01:00
committed by Frederik Rietdijk
parent 15396247ca
commit 5a3670b83c
34 changed files with 77 additions and 59 deletions

View File

@@ -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;