pythonPackages.nose-cover3: refactor move to python-modules

This commit is contained in:
Chris Ostrouchov 2018-10-17 01:09:53 -04:00 committed by Frederik Rietdijk
parent 1059d71947
commit 962ff0296f
2 changed files with 28 additions and 20 deletions

View File

@ -0,0 +1,27 @@
{ stdenv
, buildPythonPackage
, fetchPypi
, nose
}:
buildPythonPackage rec {
pname = "nose-cover3";
version = "0.1.0";
src = fetchPypi {
inherit pname version;
sha256 = "1la4hhc1yszjpcchvkqk5xmzlb2g1b3fgxj9wwc58qc549whlcc1";
};
propagatedBuildInputs = [ nose ];
# No tests included
doCheck = false;
meta = with stdenv.lib; {
description = "Coverage 3.x support for Nose";
homepage = https://github.com/ask/nosecover3;
license = licenses.lgpl21;
};
}

View File

@ -2983,26 +2983,7 @@ in {
nose2 = callPackage ../development/python-modules/nose2 { }; nose2 = callPackage ../development/python-modules/nose2 { };
nose-cover3 = buildPythonPackage rec { nose-cover3 = callPackage ../development/python-modules/nose-cover3 { };
name = "nose-cover3-${version}";
version = "0.1.0";
src = pkgs.fetchurl {
url = "mirror://pypi/n/nose-cover3/${name}.tar.gz";
sha256 = "1la4hhc1yszjpcchvkqk5xmzlb2g1b3fgxj9wwc58qc549whlcc1";
};
propagatedBuildInputs = with self; [ nose ];
# No tests included
doCheck = false;
meta = {
description = "Coverage 3.x support for Nose";
homepage = https://github.com/ask/nosecover3;
license = licenses.lgpl21;
};
};
nosexcover = buildPythonPackage (rec { nosexcover = buildPythonPackage (rec {
name = "nosexcover-1.0.10"; name = "nosexcover-1.0.10";