2017-09-05 10:16:41 +01:00
|
|
|
{ lib
|
|
|
|
, buildPythonPackage
|
|
|
|
, fetchPypi
|
|
|
|
, mock
|
|
|
|
}:
|
|
|
|
|
|
|
|
buildPythonPackage rec {
|
|
|
|
pname = "coverage";
|
2020-05-09 21:50:51 +01:00
|
|
|
version = "5.1";
|
2017-09-05 10:16:41 +01:00
|
|
|
|
|
|
|
src = fetchPypi {
|
|
|
|
inherit pname version;
|
2020-05-09 21:50:51 +01:00
|
|
|
sha256 = "0ll0hr8g3szbxa4al6khhzi6l92a3vwyldj0085whl44s55gq2zr";
|
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
|
|
|
}
|