about summary refs log tree commit diff
path: root/pkgs/development/python-modules/nosexcover/default.nix
blob: 0790e7aa227c074fd96538dea4d68e2d71850a83 (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
31
32
33
{
  lib,
  buildPythonPackage,
  fetchPypi,
  pythonAtLeast,
  coverage,
  nose,
}:

buildPythonPackage rec {
  pname = "nosexcover";
  version = "1.0.11";
  format = "setuptools";

  # requires the imp module
  disabled = pythonAtLeast "3.12";

  src = fetchPypi {
    inherit pname version;
    sha256 = "298c3c655da587f6cab8a666e9f4b150320032431062dea91353988d45c8b883";
  };

  propagatedBuildInputs = [
    coverage
    nose
  ];

  meta = with lib; {
    description = "Extends nose.plugins.cover to add Cobertura-style XML reports";
    homepage = "https://github.com/cmheisel/nose-xcover/";
    license = licenses.bsd3;
  };
}