depot/third_party/nixpkgs/pkgs/development/python-modules/nosexcover/default.nix
Default email e7ec2969af Project import generated by Copybara.
GitOrigin-RevId: 9b19f5e77dd906cb52dade0b7bd280339d2a1f3d
2024-01-13 09:15:51 +01:00

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