pythonPackages.setuptoolsTrial: 0.5.12 -> 0.6.0

Tested on Linux
- python 2.7
- python 3.5
This commit is contained in:
Fernando J Pando 2016-08-18 10:54:40 -04:00 committed by Frederik Rietdijk
parent e84a3524b5
commit 202d9e29c3

View File

@ -21873,23 +21873,25 @@ in modules // {
}; };
}; };
setuptoolsTrial = buildPythonPackage rec {
setuptoolsTrial = buildPythonPackage { name = "${pname}-${version}";
name = "setuptools-trial-0.5.12"; pname = "setuptools_trial";
version = "0.6.0";
src = pkgs.fetchurl { src = pkgs.fetchurl {
url = "mirror://pypi/s/setuptools_trial/setuptools_trial-0.5.12.tar.gz"; url = "mirror://pypi/s/${pname}/${name}.tar.gz";
sha256 = "9cc4ca5fd432944eb95e193f28b5a602e8b07201fea4d7077c0976a40f073432"; sha256 = "14220f8f761c48ba1e2526f087195077cf54fad7098b382ce220422f0ff59b12";
}; };
buildInputs = with self; [ pytest virtualenv pytestrunner pytest-virtualenv ];
propagatedBuildInputs = with self; [ twisted ]; propagatedBuildInputs = with self; [ twisted pathlib2 ];
postPatch = ''
sed -i '12,$d' tests/test_main.py
'';
meta = { meta = {
description = "Setuptools plug-in that helps run unit tests built with the \"Trial\" framework (from Twisted)"; description = "Setuptools plugin that makes unit tests execute with trial instead of pyunit.";
homepage = "https://github.com/rutsky/setuptools-trial";
homepage = http://allmydata.org/trac/setuptools_trial; license = licenses.bsd2;
maintainers = with maintainers; [ ryansydnor nand0p ];
license = "unspecified"; # ! platforms = platforms.all;
}; };
}; };