2024-06-05 15:53:02 +00:00
|
|
|
{
|
|
|
|
lib,
|
|
|
|
buildPythonPackage,
|
|
|
|
fetchPypi,
|
|
|
|
pythonOlder,
|
2022-11-04 12:27:35 +00:00
|
|
|
}:
|
|
|
|
|
|
|
|
buildPythonPackage rec {
|
2024-01-13 08:15:51 +00:00
|
|
|
pname = "lcov-cobertura";
|
2022-11-04 12:27:35 +00:00
|
|
|
version = "2.0.2";
|
2024-01-02 11:29:13 +00:00
|
|
|
format = "setuptools";
|
2022-11-04 12:27:35 +00:00
|
|
|
disabled = pythonOlder "3.6";
|
|
|
|
|
|
|
|
src = fetchPypi {
|
2024-01-13 08:15:51 +00:00
|
|
|
pname = "lcov_cobertura";
|
|
|
|
inherit version;
|
2023-03-15 16:39:30 +00:00
|
|
|
hash = "sha256-xs40e/PuZ/jV0CDNZiYmo1lM8r5yfMY0qg0R+j9/E3Q=";
|
2022-11-04 12:27:35 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
doCheck = true;
|
2024-06-05 15:53:02 +00:00
|
|
|
pythonImportsCheck = [ "lcov_cobertura" ];
|
2022-11-04 12:27:35 +00:00
|
|
|
|
|
|
|
meta = {
|
|
|
|
description = "Converts code coverage from lcov format to Cobertura's XML format";
|
2024-04-21 15:54:59 +00:00
|
|
|
mainProgram = "lcov_cobertura";
|
2022-11-04 12:27:35 +00:00
|
|
|
homepage = "https://eriwen.github.io/lcov-to-cobertura-xml/";
|
|
|
|
license = lib.licenses.asl20;
|
|
|
|
};
|
|
|
|
}
|