nixpkgs/pkgs/development/python-modules/gcovr/default.nix

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

47 lines
994 B
Nix
Raw Normal View History

{ lib
, buildPythonPackage
, fetchPypi
2019-03-04 21:42:03 +00:00
, jinja2
2019-12-06 09:19:59 +00:00
, lxml
, pygments
, pythonOlder
}:
buildPythonPackage rec {
pname = "gcovr";
2023-03-10 08:04:22 +00:00
version = "6.0";
format = "setuptools";
disabled = pythonOlder "3.7";
src = fetchPypi {
inherit pname version;
2023-03-10 08:04:22 +00:00
hash = "sha256-hjjV9E3vEOOOMWbIozvvZkPsIEaH4Kx9NFzkGpjFdQs=";
};
2019-03-04 21:42:03 +00:00
propagatedBuildInputs = [
jinja2
2019-12-06 09:19:59 +00:00
lxml
pygments
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 lib; {
description = "Python script for summarizing gcov data";
homepage = "https://www.gcovr.com/";
changelog = "https://github.com/gcovr/gcovr/blob/${version}/CHANGELOG.rst";
license = licenses.bsd0;
maintainers = with maintainers; [ ];
};
}