e7ec2969af
GitOrigin-RevId: 9b19f5e77dd906cb52dade0b7bd280339d2a1f3d
30 lines
618 B
Nix
30 lines
618 B
Nix
{ 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;
|
|
};
|
|
|
|
}
|