python.pkgs.coverage: 4.0.1 -> 4.4.1

This commit is contained in:
Frederik Rietdijk 2017-09-05 09:56:36 +02:00
parent 66b6c04357
commit 5d057a2d7f
2 changed files with 28 additions and 18 deletions

View File

@ -0,0 +1,27 @@
{ lib
, buildPythonPackage
, fetchPypi
, isPy3k
, mock
}:
buildPythonPackage rec {
pname = "coverage";
version = "4.4.1";
name = "${pname}-${version}";
src = fetchPypi {
inherit pname version;
sha256 = "7a9c44400ee0f3b4546066e0710e1250fd75831adc02ab99dda176ad8726f424";
};
# No tests in archive
doCheck = false;
checkInputs = [ mock ];
meta = {
description = "Code coverage measurement for python";
homepage = http://nedbatchelder.com/code/coverage/;
license = lib.licenses.bsd3;
};
}

View File

@ -3223,24 +3223,7 @@ in {
coveralls = callPackage ../development/python-modules/coveralls { };
coverage = buildPythonPackage rec {
name = "coverage-4.0.1";
src = pkgs.fetchurl {
url = "mirror://pypi/c/coverage/${name}.tar.gz";
sha256 = "0nrd817pzjw1haaz6gambgwf4jdjnh9kyxkgj6l8qgl6hdxga45w";
};
# TypeError: __call__() takes 1 positional argument but 2 were given
doCheck = !isPy3k;
buildInputs = with self; [ mock ];
meta = {
description = "Code coverage measurement for python";
homepage = http://nedbatchelder.com/code/coverage/;
license = licenses.bsd3;
};
};
coverage = callPackage ../development/python-modules/coverage { };
covCore = buildPythonPackage rec {
name = "cov-core-1.15.0";