2021-02-05 17:12:51 +00:00
|
|
|
{ lib
|
2020-04-24 23:36:52 +00:00
|
|
|
, buildPythonPackage
|
|
|
|
, fetchPypi
|
|
|
|
, jinja2
|
|
|
|
, lxml
|
|
|
|
}:
|
|
|
|
|
|
|
|
buildPythonPackage rec {
|
|
|
|
pname = "gcovr";
|
|
|
|
version = "4.2";
|
|
|
|
|
|
|
|
src = fetchPypi {
|
|
|
|
inherit pname version;
|
|
|
|
sha256 = "0gyady7x3v3l9fm1zan0idaggqqcm31y7g5vxk7h05p5h7f39bjs";
|
|
|
|
};
|
|
|
|
|
|
|
|
propagatedBuildInputs = [
|
|
|
|
jinja2
|
|
|
|
lxml
|
|
|
|
];
|
|
|
|
|
|
|
|
# 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.workers"
|
|
|
|
"gcovr.configuration"
|
|
|
|
];
|
|
|
|
|
2021-01-15 22:18:51 +00:00
|
|
|
meta = with lib; {
|
2020-04-24 23:36:52 +00:00
|
|
|
description = "A Python script for summarizing gcov data";
|
|
|
|
license = licenses.bsd0;
|
|
|
|
homepage = "https://www.gcovr.com/";
|
|
|
|
};
|
|
|
|
|
|
|
|
}
|