From e40493401b135cc26ccb71b7c5fae231b307eb9e Mon Sep 17 00:00:00 2001 From: Jeremy Kolb Date: Thu, 17 Oct 2024 13:48:28 -0400 Subject: [PATCH] lcov-cobertura: fix missing distutils at runtime --- pkgs/development/python-modules/lcov-cobertura/default.nix | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/pkgs/development/python-modules/lcov-cobertura/default.nix b/pkgs/development/python-modules/lcov-cobertura/default.nix index 0f1697c7f62f..f17dfec5900a 100644 --- a/pkgs/development/python-modules/lcov-cobertura/default.nix +++ b/pkgs/development/python-modules/lcov-cobertura/default.nix @@ -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" ];