pythonPackages.covCore: Move to own file

This commit is contained in:
Elis Hirwing 2018-03-31 19:49:26 +02:00 committed by Frederik Rietdijk
parent 9b0e266249
commit a7b6d5c960
2 changed files with 18 additions and 11 deletions

View File

@ -0,0 +1,17 @@
{ stdenv, buildPythonPackage, fetchPypi, coverage }:
buildPythonPackage rec {
pname = "cov-core";
version = "1.15.0";
src = fetchPypi {
inherit pname version;
sha256 = "0k3np9ymh06yv1ib96sb6wfsxjkqhmik8qfsn119vnhga9ywc52a";
};
propagatedBuildInputs = [ coverage ];
meta = with stdenv.lib; {
description = "Plugin core for use by pytest-cov, nose-cov and nose2-cov";
};
}

View File

@ -1653,17 +1653,7 @@ in {
coverage = callPackage ../development/python-modules/coverage { };
covCore = buildPythonPackage rec {
name = "cov-core-1.15.0";
src = pkgs.fetchurl {
url = "mirror://pypi/c/cov-core/${name}.tar.gz";
sha256 = "4a14c67d520fda9d42b0da6134638578caae1d374b9bb462d8de00587dba764c";
};
meta = {
description = "Plugin core for use by pytest-cov, nose-cov and nose2-cov";
};
propagatedBuildInputs = with self; [ self.coverage ];
};
covCore = callPackage ../development/python-modules/cov-core { };
crcmod = buildPythonPackage rec {
name = "crcmod-1.7";