blob: 7e366cf4972544c250d30bf74e6cc89c37b19b1a (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
|
{
lib,
buildPythonPackage,
fetchPypi,
mock,
pythonOlder,
setuptools,
}:
buildPythonPackage rec {
pname = "coverage";
version = "7.5.3";
pyproject = true;
# uses f strings
disabled = pythonOlder "3.5";
src = fetchPypi {
inherit pname version;
hash = "sha256-BK78pRkNHcelOkwaWn+FaIETBteo7iMcQvtpIVVxlE8=";
};
nativeBuildInputs = [ setuptools ];
# No tests in archive
doCheck = false;
nativeCheckInputs = [ mock ];
meta = {
description = "Code coverage measurement for python";
homepage = "https://coverage.readthedocs.io/";
license = lib.licenses.bsd3;
};
}
|