1{
2 lib,
3 buildPythonPackage,
4 fetchPypi,
5 pythonOlder,
6}:
7
8buildPythonPackage rec {
9 pname = "lcov-cobertura";
10 version = "2.0.2";
11 format = "setuptools";
12 disabled = pythonOlder "3.6";
13
14 src = fetchPypi {
15 pname = "lcov_cobertura";
16 inherit version;
17 hash = "sha256-xs40e/PuZ/jV0CDNZiYmo1lM8r5yfMY0qg0R+j9/E3Q=";
18 };
19
20 doCheck = true;
21 pythonImportsCheck = [ "lcov_cobertura" ];
22
23 meta = {
24 description = "Converts code coverage from lcov format to Cobertura's XML format";
25 mainProgram = "lcov_cobertura";
26 homepage = "https://eriwen.github.io/lcov-to-cobertura-xml/";
27 license = lib.licenses.asl20;
28 };
29}