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