pythonPackages.setuptoolsTrial: 0.5.12 -> 0.6.0

Tested on Linux
- python 2.7
- python 3.5

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