mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-02 03:43:06 +00:00
lcov-cobertura: fix missing distutils at runtime
This commit is contained in:
parent
cf3b78e20b
commit
e40493401b
@ -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" ];
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user