From 2d9a30e4cbc646abd0f574ef6682ae79ff9cf921 Mon Sep 17 00:00:00 2001 From: Willy Date: Fri, 2 May 2025 19:57:02 +0200 Subject: [PATCH] python3Packages.lcov-cobertura: fix build should really be PR'd upstream, patch for now --- pkgs/development/python-modules/lcov-cobertura/default.nix | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/pkgs/development/python-modules/lcov-cobertura/default.nix b/pkgs/development/python-modules/lcov-cobertura/default.nix index b9e1551744c7..07c5f4aa4325 100644 --- a/pkgs/development/python-modules/lcov-cobertura/default.nix +++ b/pkgs/development/python-modules/lcov-cobertura/default.nix @@ -20,6 +20,12 @@ buildPythonPackage rec { hash = "sha256-76jiZPK93rt/UCTkrOErYz2dWQSLxkdCfR4blojItY8="; }; + # https://github.com/eriwen/lcov-to-cobertura-xml/issues/63 + postPatch = '' + substituteInPlace setup.cfg \ + --replace-fail 'License :: OSI Approved :: Apache Software License' "" + ''; + build-system = [ setuptools setuptools-scm