mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-16 23:03:40 +01:00
python.pkgs.packaging: fix tests
This commit is contained in:
parent
d800601ae5
commit
05c13dfca1
1 changed files with 5 additions and 2 deletions
|
@ -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