blob: 7b8b32b2c5de2b00283d873752acda4abd615e78 (
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
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
|
{ lib
, buildPythonPackage
, fetchPypi
, colorlog
, jinja2
, lxml
, pygments
, pythonOlder
, tomli
}:
buildPythonPackage rec {
pname = "gcovr";
version = "7.2";
format = "setuptools";
disabled = pythonOlder "3.7";
src = fetchPypi {
inherit pname version;
hash = "sha256-4+lctWyojbvnQctdaaor5JTrL8KgnuT2UWRKZw7lrrM=";
};
propagatedBuildInputs = [
colorlog
jinja2
lxml
pygments
] ++ lib.optionals (pythonOlder "3.11") [
tomli
];
# There are no unit tests in the pypi tarball. Most of the unit tests on the
# github repository currently only work with gcc5, so we just disable them.
# See also: https://github.com/gcovr/gcovr/issues/206
doCheck = false;
pythonImportsCheck = [
"gcovr"
"gcovr.configuration"
];
meta = with lib; {
description = "Python script for summarizing gcov data";
mainProgram = "gcovr";
homepage = "https://www.gcovr.com/";
changelog = "https://github.com/gcovr/gcovr/blob/${version}/CHANGELOG.rst";
license = licenses.bsd0;
maintainers = with maintainers; [ ];
};
}
|