about summary refs log tree commit diff
path: root/nixpkgs/pkgs/development/python-modules/lcov-cobertura/default.nix
blob: a2f91b8436def27348b1a8c15ab93bec8f500147 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
{ lib
, buildPythonPackage
, fetchPypi
, pythonOlder
}:

buildPythonPackage rec {
  pname = "lcov-cobertura";
  version = "2.0.2";
  format = "setuptools";
  disabled = pythonOlder "3.6";

  src = fetchPypi {
    pname = "lcov_cobertura";
    inherit version;
    hash = "sha256-xs40e/PuZ/jV0CDNZiYmo1lM8r5yfMY0qg0R+j9/E3Q=";
  };

  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;
  };
}