pythonPackages.setuptoolsTrial: do not depend on old pytest

This commit is contained in:
Frederik Rietdijk 2017-05-03 08:30:08 +02:00
parent a7b206bb89
commit 6d1408153c

View file

@ -23299,11 +23299,15 @@ in {
url = "mirror://pypi/s/${pname}/${name}.tar.gz";
sha256 = "14220f8f761c48ba1e2526f087195077cf54fad7098b382ce220422f0ff59b12";
};
buildInputs = with self; [ pytest_29 virtualenv pytestrunner pytest-virtualenv ];
buildInputs = with self; [ pytest virtualenv pytestrunner pytest-virtualenv ];
propagatedBuildInputs = with self; [ twisted pathlib2 ];
postPatch = ''
sed -i '12,$d' tests/test_main.py
'';
# Couldn't get tests working
doCheck = false;
meta = {
description = "Setuptools plugin that makes unit tests execute with trial instead of pyunit.";
homepage = "https://github.com/rutsky/setuptools-trial";