python.pkgs.packaging: fix tests

This commit is contained in:
Frederik Rietdijk 2018-02-18 19:31:39 +01:00
parent d800601ae5
commit 05c13dfca1

View file

@ -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";