1{ stdenv
2, buildPythonPackage
3, fetchPypi
4, jinja2
5}:
6
7buildPythonPackage rec {
8 pname = "gcovr";
9 version = "4.1";
10
11 src = fetchPypi {
12 inherit pname version;
13 sha256 = "ca94c337f2d9a70db177ec4330534fad7b2b772beda625c1ec071fbcf1361e22";
14 };
15
16 propagatedBuildInputs = [
17 jinja2
18 ];
19
20 # There are no unit tests in the pypi tarball. Most of the unit tests on the
21 # github repository currently only work with gcc5, so we just disable them.
22 # See also: https://github.com/gcovr/gcovr/issues/206
23 doCheck = false;
24
25 meta = with stdenv.lib; {
26 description = "A Python script for summarizing gcov data";
27 license = licenses.bsd0;
28 homepage = https://www.gcovr.com/;
29 };
30
31}