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