diff options
author | Frederik Rietdijk <fridh@fridh.nl> | 2018-02-18 19:31:39 +0100 |
---|---|---|
committer | Frederik Rietdijk <fridh@fridh.nl> | 2018-02-18 20:07:43 +0100 |
commit | 05c13dfca1ebfd9b326b4ac92526c5b17e225ccb (patch) | |
tree | b2d336fa63900cd0ce67a5e56a8c4536c3f56381 /pkgs/development/python-modules/packaging | |
parent | d800601ae5fa792c3b1582ac28787d324b772b8a (diff) | |
download | nixpkgs-05c13dfca1ebfd9b326b4ac92526c5b17e225ccb.tar nixpkgs-05c13dfca1ebfd9b326b4ac92526c5b17e225ccb.tar.gz nixpkgs-05c13dfca1ebfd9b326b4ac92526c5b17e225ccb.tar.bz2 nixpkgs-05c13dfca1ebfd9b326b4ac92526c5b17e225ccb.tar.lz nixpkgs-05c13dfca1ebfd9b326b4ac92526c5b17e225ccb.tar.xz nixpkgs-05c13dfca1ebfd9b326b4ac92526c5b17e225ccb.tar.zst nixpkgs-05c13dfca1ebfd9b326b4ac92526c5b17e225ccb.zip |
python.pkgs.packaging: fix tests
Diffstat (limited to 'pkgs/development/python-modules/packaging')
-rw-r--r-- | pkgs/development/python-modules/packaging/default.nix | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/pkgs/development/python-modules/packaging/default.nix b/pkgs/development/python-modules/packaging/default.nix index 4ba93bb57f2..f335bfa135f 100644 --- a/pkgs/development/python-modules/packaging/default.nix +++ b/pkgs/development/python-modules/packaging/default.nix @@ -4,7 +4,6 @@ buildPythonPackage rec { pname = "packaging"; version = "16.8"; - name = "${pname}-${version}"; src = fetchPypi { inherit pname version; @@ -13,7 +12,11 @@ buildPythonPackage rec { propagatedBuildInputs = [ pyparsing six ]; - buildInputs = [ pytest pretend ]; + checkInputs = [ pytest pretend ]; + + checkPhase = '' + py.test tests + ''; meta = with stdenv.lib; { description = "Core utilities for Python packages"; |