pythonPackages.nosexcover: refactor move to python-modules

This commit is contained in:
Chris Ostrouchov 2018-10-17 01:11:56 -04:00 committed by Frederik Rietdijk
parent 962ff0296f
commit 94b15aa9e6
2 changed files with 26 additions and 18 deletions

View file

@ -0,0 +1,25 @@
{ stdenv
, buildPythonPackage
, fetchPypi
, coverage
, nose
}:
buildPythonPackage rec {
pname = "nosexcover";
version = "1.0.10";
src = fetchPypi {
inherit pname version;
sha256 = "f5b3a7c936c4f703f15418c1f325775098184b69fa572f868edb8a99f8f144a8";
};
propagatedBuildInputs = [ coverage nose ];
meta = with stdenv.lib; {
description = "Extends nose.plugins.cover to add Cobertura-style XML reports";
homepage = https://github.com/cmheisel/nose-xcover/;
license = licenses.bsd3;
};
}

View file

@ -2985,24 +2985,7 @@ in {
nose-cover3 = callPackage ../development/python-modules/nose-cover3 { };
nosexcover = buildPythonPackage (rec {
name = "nosexcover-1.0.10";
src = pkgs.fetchurl {
url = "mirror://pypi/n/nosexcover/${name}.tar.gz";
sha256 = "f5b3a7c936c4f703f15418c1f325775098184b69fa572f868edb8a99f8f144a8";
};
propagatedBuildInputs = with self; [ coverage nose ];
meta = {
description = "Extends nose.plugins.cover to add Cobertura-style XML reports";
homepage = https://github.com/cmheisel/nose-xcover/;
license = licenses.bsd3;
};
});
nosexcover = callPackage ../development/python-modules/nosexcover { };
nosejs = buildPythonPackage {
name = "nosejs-0.9.4";