depot/third_party/nixpkgs/pkgs/development/python-modules/lcov-cobertura/default.nix
Default email 24fdeddc0a Project import generated by Copybara.
GitOrigin-RevId: 2768c7d042a37de65bb1b5b3268fc987e534c49d
2024-10-23 09:41:50 +03:00

34 lines
731 B
Nix

{
lib,
buildPythonPackage,
fetchPypi,
pythonOlder,
setuptools,
distutils,
}:
buildPythonPackage rec {
pname = "lcov-cobertura";
version = "2.0.2";
pyproject = true;
disabled = pythonOlder "3.6";
src = fetchPypi {
pname = "lcov_cobertura";
inherit version;
hash = "sha256-xs40e/PuZ/jV0CDNZiYmo1lM8r5yfMY0qg0R+j9/E3Q=";
};
build-system = [ setuptools ];
dependencies = [ distutils ];
doCheck = true;
pythonImportsCheck = [ "lcov_cobertura" ];
meta = {
description = "Converts code coverage from lcov format to Cobertura's XML format";
mainProgram = "lcov_cobertura";
homepage = "https://eriwen.github.io/lcov-to-cobertura-xml/";
license = lib.licenses.asl20;
};
}