mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-01 19:33:03 +00:00
lcov-cobertura: fix missing distutils at runtime
This commit is contained in:
parent
cf3b78e20b
commit
e40493401b
@ -3,12 +3,14 @@
|
||||
buildPythonPackage,
|
||||
fetchPypi,
|
||||
pythonOlder,
|
||||
setuptools,
|
||||
distutils,
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "lcov-cobertura";
|
||||
version = "2.0.2";
|
||||
format = "setuptools";
|
||||
pyproject = true;
|
||||
disabled = pythonOlder "3.6";
|
||||
|
||||
src = fetchPypi {
|
||||
@ -17,6 +19,9 @@ buildPythonPackage rec {
|
||||
hash = "sha256-xs40e/PuZ/jV0CDNZiYmo1lM8r5yfMY0qg0R+j9/E3Q=";
|
||||
};
|
||||
|
||||
build-system = [ setuptools ];
|
||||
dependencies = [ distutils ];
|
||||
|
||||
doCheck = true;
|
||||
pythonImportsCheck = [ "lcov_cobertura" ];
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user