Unverified Commit 092ab720 authored by Robert Scott's avatar Robert Scott Committed by GitHub
Browse files

python3Packages.lcov-cobertura: add missing build dependency setuptools_scm, fix build (#403700)

parents bf012603 2d9a30e4
Loading
Loading
Loading
Loading
+11 −1
Original line number Diff line number Diff line
@@ -4,6 +4,7 @@
  fetchPypi,
  pythonOlder,
  setuptools,
  setuptools-scm,
  distutils,
}:

@@ -19,7 +20,16 @@ buildPythonPackage rec {
    hash = "sha256-76jiZPK93rt/UCTkrOErYz2dWQSLxkdCfR4blojItY8=";
  };

  build-system = [ setuptools ];
  # 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
  ];
  dependencies = [ distutils ];

  pythonImportsCheck = [ "lcov_cobertura" ];