2018-10-16 21:11:43 +01:00
|
|
|
{ stdenv
|
|
|
|
, buildPythonPackage
|
|
|
|
, fetchPypi
|
2019-03-04 21:42:03 +00:00
|
|
|
, jinja2
|
2018-10-16 21:11:43 +01:00
|
|
|
}:
|
|
|
|
|
|
|
|
buildPythonPackage rec {
|
|
|
|
pname = "gcovr";
|
2018-11-04 10:35:00 +00:00
|
|
|
version = "4.1";
|
2018-10-16 21:11:43 +01:00
|
|
|
|
|
|
|
src = fetchPypi {
|
|
|
|
inherit pname version;
|
2018-11-04 10:35:00 +00:00
|
|
|
sha256 = "ca94c337f2d9a70db177ec4330534fad7b2b772beda625c1ec071fbcf1361e22";
|
2018-10-16 21:11:43 +01:00
|
|
|
};
|
|
|
|
|
2019-03-04 21:42:03 +00:00
|
|
|
propagatedBuildInputs = [
|
|
|
|
jinja2
|
|
|
|
];
|
|
|
|
|
|
|
|
# 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;
|
|
|
|
|
2018-10-16 21:11:43 +01:00
|
|
|
meta = with stdenv.lib; {
|
|
|
|
description = "A Python script for summarizing gcov data";
|
|
|
|
license = licenses.bsd0;
|
2019-03-05 06:41:01 +00:00
|
|
|
homepage = https://www.gcovr.com/;
|
2018-10-16 21:11:43 +01:00
|
|
|
};
|
|
|
|
|
|
|
|
}
|