mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-01 15:11:25 +00:00
pythonPackages.nose_progressive: refactor move to python-modules
This commit is contained in:
parent
27648d41f0
commit
f0be1e20bc
32
pkgs/development/python-modules/nose_progressive/default.nix
Normal file
32
pkgs/development/python-modules/nose_progressive/default.nix
Normal 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 ];
|
||||
};
|
||||
|
||||
}
|
@ -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";
|
||||
|
Loading…
Reference in New Issue
Block a user