summaryrefslogtreecommitdiff
path: root/pkgs/development/python-modules/lcov-cobertura/default.nix
blob: d04302c6a18e2043a7bdb751f531f83e6a8d8a80 (about) (plain)
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
31
32
33
{
  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 ];

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