3
0
Fork 0
forked from mirrors/nixpkgs
nixpkgs/pkgs/development/python-modules/gcovr/default.nix

40 lines
793 B
Nix
Raw Normal View History

{ stdenv
, buildPythonPackage
, fetchPypi
2019-03-04 21:42:03 +00:00
, jinja2
2019-12-06 09:19:59 +00:00
, lxml
}:
buildPythonPackage rec {
pname = "gcovr";
2019-12-06 09:19:59 +00:00
version = "4.2";
src = fetchPypi {
inherit pname version;
2019-12-06 09:19:59 +00:00
sha256 = "0gyady7x3v3l9fm1zan0idaggqqcm31y7g5vxk7h05p5h7f39bjs";
};
2019-03-04 21:42:03 +00:00
propagatedBuildInputs = [
jinja2
2019-12-06 09:19:59 +00:00
lxml
2019-03-04 21:42:03 +00:00
];
# 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;
2019-12-06 09:19:59 +00:00
pythonImportsCheck = [
"gcovr"
"gcovr.workers"
"gcovr.configuration"
];
meta = with stdenv.lib; {
description = "A Python script for summarizing gcov data";
license = licenses.bsd0;
homepage = "https://www.gcovr.com/";
};
}