2017-09-05 11:16:41 +02:00
|
|
|
{ lib
|
|
|
|
, buildPythonPackage
|
|
|
|
, fetchPypi
|
|
|
|
, mock
|
|
|
|
}:
|
|
|
|
|
|
|
|
buildPythonPackage rec {
|
|
|
|
pname = "coverage";
|
2019-10-16 11:43:04 +02:00
|
|
|
version = "4.5.4";
|
2017-09-05 11:16:41 +02:00
|
|
|
|
|
|
|
src = fetchPypi {
|
|
|
|
inherit pname version;
|
2019-10-16 11:43:04 +02:00
|
|
|
sha256 = "e07d9f1a23e9e93ab5c62902833bf3e4b1f65502927379148b6622686223125c";
|
2017-09-05 11:16:41 +02:00
|
|
|
};
|
|
|
|
|
|
|
|
# No tests in archive
|
|
|
|
doCheck = false;
|
|
|
|
checkInputs = [ mock ];
|
|
|
|
|
|
|
|
meta = {
|
|
|
|
description = "Code coverage measurement for python";
|
2020-04-01 03:11:51 +02:00
|
|
|
homepage = "http://nedbatchelder.com/code/coverage/";
|
2017-09-05 11:16:41 +02:00
|
|
|
license = lib.licenses.bsd3;
|
|
|
|
};
|
2020-04-01 03:11:51 +02:00
|
|
|
}
|