mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-11-16 18:37:04 +03:00
python.pkgs.coverage: 4.0.1 -> 4.4.1
This commit is contained in:
parent
66b6c04357
commit
5d057a2d7f
27
pkgs/development/python-modules/coverage/default.nix
Normal file
27
pkgs/development/python-modules/coverage/default.nix
Normal 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;
|
||||
};
|
||||
}
|
@ -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";
|
||||
|
Loading…
Reference in New Issue
Block a user