diff options
author | Alyssa Ross <hi@alyssa.is> | 2019-02-18 01:12:31 +0000 |
---|---|---|
committer | Alyssa Ross <hi@alyssa.is> | 2019-02-18 01:12:31 +0000 |
commit | 50053cda79099c9a0b2a7803aef61f730a54848f (patch) | |
tree | 6413bbed5cbdd3f58d26d54cbf1b37d54a8c3a22 /nixpkgs/pkgs/development/python-modules/jsonschema | |
parent | 7fbd32a525182f2089e1098723219a1a4ef264bb (diff) | |
parent | 36f316007494c388df1fec434c1e658542e3c3cc (diff) | |
download | nixlib-50053cda79099c9a0b2a7803aef61f730a54848f.tar nixlib-50053cda79099c9a0b2a7803aef61f730a54848f.tar.gz nixlib-50053cda79099c9a0b2a7803aef61f730a54848f.tar.bz2 nixlib-50053cda79099c9a0b2a7803aef61f730a54848f.tar.lz nixlib-50053cda79099c9a0b2a7803aef61f730a54848f.tar.xz nixlib-50053cda79099c9a0b2a7803aef61f730a54848f.tar.zst nixlib-50053cda79099c9a0b2a7803aef61f730a54848f.zip |
Merge commit '36f316007494c388df1fec434c1e658542e3c3cc'
Diffstat (limited to 'nixpkgs/pkgs/development/python-modules/jsonschema')
-rw-r--r-- | nixpkgs/pkgs/development/python-modules/jsonschema/default.nix | 10 |
1 files changed, 6 insertions, 4 deletions
diff --git a/nixpkgs/pkgs/development/python-modules/jsonschema/default.nix b/nixpkgs/pkgs/development/python-modules/jsonschema/default.nix index 1d8eab79688a..db6be9f99182 100644 --- a/nixpkgs/pkgs/development/python-modules/jsonschema/default.nix +++ b/nixpkgs/pkgs/development/python-modules/jsonschema/default.nix @@ -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; |