1
0
Fork 0
mirror of https://github.com/NixOS/nixpkgs.git synced 2025-07-01 13:29:13 +03:00
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.

46 lines
914 B
Nix
Raw Normal View History

{ lib
, buildPythonPackage
, fetchPypi
2019-03-04 22:42:03 +01:00
, jinja2
2019-12-06 01:19:59 -08:00
, lxml
, pygments
, pythonOlder
}:
buildPythonPackage rec {
pname = "gcovr";
2022-08-09 14:18:18 +00:00
version = "5.2";
format = "setuptools";
disabled = pythonOlder "3.7";
src = fetchPypi {
inherit pname version;
2022-08-09 14:18:18 +00:00
hash = "sha256-IXGVCF7JQ0YpGoe3sebZz97u5WKz4PmjKyXJUws7zo8=";
};
2019-03-04 22:42:03 +01:00
propagatedBuildInputs = [
jinja2
2019-12-06 01:19:59 -08:00
lxml
pygments
2019-03-04 22:42:03 +01: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 01:19:59 -08:00
pythonImportsCheck = [
"gcovr"
"gcovr.workers"
"gcovr.configuration"
];
meta = with lib; {
description = "Python script for summarizing gcov data";
homepage = "https://www.gcovr.com/";
license = licenses.bsd0;
maintainers = with maintainers; [ ];
};
}