Files
nixpkgs/pkgs/development/python-modules/nosexcover/default.nix
T
2024-05-22 17:32:03 +02:00

34 lines
635 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;
};
}