python311Package.gcovr: fix build

This commit is contained in:
Martin Weinelt
2024-03-17 18:53:53 +01:00
parent 01e1ce302e
commit dbc9291fb2
@@ -1,10 +1,12 @@
{ lib
, buildPythonPackage
, fetchPypi
, colorlog
, jinja2
, lxml
, pygments
, pythonOlder
, tomli
}:
buildPythonPackage rec {
@@ -20,9 +22,12 @@ buildPythonPackage rec {
};
propagatedBuildInputs = [
colorlog
jinja2
lxml
pygments
] ++ lib.optionals (pythonOlder "3.11") [
tomli
];
# There are no unit tests in the pypi tarball. Most of the unit tests on the
@@ -32,7 +37,6 @@ buildPythonPackage rec {
pythonImportsCheck = [
"gcovr"
"gcovr.workers"
"gcovr.configuration"
];