lcov-cobertura: fix missing distutils at runtime

This commit is contained in:
Jeremy Kolb 2024-10-17 13:48:28 -04:00
parent cf3b78e20b
commit e40493401b

View File

@ -3,12 +3,14 @@
buildPythonPackage, buildPythonPackage,
fetchPypi, fetchPypi,
pythonOlder, pythonOlder,
setuptools,
distutils,
}: }:
buildPythonPackage rec { buildPythonPackage rec {
pname = "lcov-cobertura"; pname = "lcov-cobertura";
version = "2.0.2"; version = "2.0.2";
format = "setuptools"; pyproject = true;
disabled = pythonOlder "3.6"; disabled = pythonOlder "3.6";
src = fetchPypi { src = fetchPypi {
@ -17,6 +19,9 @@ buildPythonPackage rec {
hash = "sha256-xs40e/PuZ/jV0CDNZiYmo1lM8r5yfMY0qg0R+j9/E3Q="; hash = "sha256-xs40e/PuZ/jV0CDNZiYmo1lM8r5yfMY0qg0R+j9/E3Q=";
}; };
build-system = [ setuptools ];
dependencies = [ distutils ];
doCheck = true; doCheck = true;
pythonImportsCheck = [ "lcov_cobertura" ]; pythonImportsCheck = [ "lcov_cobertura" ];