lol

pythonPackages.setuptoolsTrial: 0.5.12 -> 0.6.0

Tested on Linux
- python 2.7
- python 3.5

authored by

Fernando J Pando and committed by
Frederik Rietdijk
202d9e29 e84a3524

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