pythonPackages.nose_progressive: refactor move to python-modules

This commit is contained in:
Chris Ostrouchov 2018-10-27 09:49:37 -04:00
parent 27648d41f0
commit f0be1e20bc
No known key found for this signature in database
GPG Key ID: 9ED59B0AB1EAF573
2 changed files with 33 additions and 18 deletions

View File

@ -0,0 +1,32 @@
{ stdenv
, buildPythonPackage
, fetchPypi
, nose
, pillow
, blessings
, isPy3k
}:
buildPythonPackage rec {
pname = "nose-progressive";
version = "1.5.1";
src = fetchPypi {
inherit pname version;
sha256 = "0mfbjv3dcg23q0a130670g7xpfyvgza4wxkj991xxh8w9hs43ga4";
};
buildInputs = [ nose ];
propagatedBuildInputs = [ pillow blessings ];
# fails with obscure error
doCheck = !isPy3k;
meta = with stdenv.lib; {
homepage = https://github.com/erikrose/nose-progressive;
description = "A testrunner with a progress bar and smarter tracebacks";
license = licenses.mit;
maintainers = with maintainers; [ domenkozar ];
};
}

View File

@ -3813,24 +3813,7 @@ in {
argh = callPackage ../development/python-modules/argh { };
nose_progressive = buildPythonPackage rec {
name = "nose-progressive-1.5.1";
src = pkgs.fetchurl {
url = "mirror://pypi/n/nose-progressive/${name}.tar.gz";
sha256 = "0mfbjv3dcg23q0a130670g7xpfyvgza4wxkj991xxh8w9hs43ga4";
};
buildInputs = with self; [ nose ];
propagatedBuildInputs = with self; [ pillow blessings ];
# fails with obscure error
doCheck = !isPy3k;
meta = {
maintainers = with maintainers; [ domenkozar ];
};
};
nose_progressive = callPackage ../development/python-modules/nose_progressive { };
blessings = buildPythonPackage rec {
name = "blessings-1.6";