mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-24 06:31:02 +00:00
python.pkgs.packaging: fix tests
This commit is contained in:
parent
d800601ae5
commit
05c13dfca1
|
@ -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";
|
||||
|
|
Loading…
Reference in a new issue