python.pkgs.packaging: fix tests
This commit is contained in:
parent
d800601ae5
commit
05c13dfca1
@ -4,7 +4,6 @@
|
|||||||
buildPythonPackage rec {
|
buildPythonPackage rec {
|
||||||
pname = "packaging";
|
pname = "packaging";
|
||||||
version = "16.8";
|
version = "16.8";
|
||||||
name = "${pname}-${version}";
|
|
||||||
|
|
||||||
src = fetchPypi {
|
src = fetchPypi {
|
||||||
inherit pname version;
|
inherit pname version;
|
||||||
@ -13,7 +12,11 @@ buildPythonPackage rec {
|
|||||||
|
|
||||||
propagatedBuildInputs = [ pyparsing six ];
|
propagatedBuildInputs = [ pyparsing six ];
|
||||||
|
|
||||||
buildInputs = [ pytest pretend ];
|
checkInputs = [ pytest pretend ];
|
||||||
|
|
||||||
|
checkPhase = ''
|
||||||
|
py.test tests
|
||||||
|
'';
|
||||||
|
|
||||||
meta = with stdenv.lib; {
|
meta = with stdenv.lib; {
|
||||||
description = "Core utilities for Python packages";
|
description = "Core utilities for Python packages";
|
||||||
|
Loading…
x
Reference in New Issue
Block a user