1{
2 lib,
3 buildPythonPackage,
4 fetchPypi,
5 pythonAtLeast,
6 coverage,
7 nose,
8}:
9
10buildPythonPackage rec {
11 pname = "nosexcover";
12 version = "1.0.11";
13 format = "setuptools";
14
15 # requires the imp module
16 disabled = pythonAtLeast "3.12";
17
18 src = fetchPypi {
19 inherit pname version;
20 sha256 = "298c3c655da587f6cab8a666e9f4b150320032431062dea91353988d45c8b883";
21 };
22
23 propagatedBuildInputs = [
24 coverage
25 nose
26 ];
27
28 meta = with lib; {
29 description = "Extends nose.plugins.cover to add Cobertura-style XML reports";
30 homepage = "https://github.com/cmheisel/nose-xcover/";
31 license = licenses.bsd3;
32 };
33}