From c59c9a37377b628e7c654ab1312db74c07b67b04 Mon Sep 17 00:00:00 2001 From: Maximilian Bosch Date: Fri, 16 Nov 2018 21:41:06 +0100 Subject: [PATCH] pythonPackages.nose-cov: init at 1.6 Module for coverage reports with Python using nosetests. --- .../python-modules/nose-cov/default.nix | 20 +++++++++++++++++++ pkgs/top-level/python-packages.nix | 2 ++ 2 files changed, 22 insertions(+) create mode 100644 pkgs/development/python-modules/nose-cov/default.nix diff --git a/pkgs/development/python-modules/nose-cov/default.nix b/pkgs/development/python-modules/nose-cov/default.nix new file mode 100644 index 000000000000..1d3d6179ae63 --- /dev/null +++ b/pkgs/development/python-modules/nose-cov/default.nix @@ -0,0 +1,20 @@ +{ buildPythonPackage, fetchPypi, lib, nose, covCore }: + +buildPythonPackage rec { + pname = "nose-cov"; + version = "1.6"; + + src = fetchPypi { + inherit pname version; + sha256 = "04j4fw01bv648gimqqj4z88606lcczbm1k326agcc74gb4sh7v4b"; + }; + + propagatedBuildInputs = [ nose covCore ]; + + meta = with lib; { + homepage = https://pypi.org/project/nose-cov/; + license = licenses.mit; + description = "This plugin produces coverage reports. It also supports coverage of subprocesses."; + maintainers = with maintainers; [ ma27 ]; + }; +} diff --git a/pkgs/top-level/python-packages.nix b/pkgs/top-level/python-packages.nix index c413ae1b47e5..aa8b214997a6 100644 --- a/pkgs/top-level/python-packages.nix +++ b/pkgs/top-level/python-packages.nix @@ -2966,6 +2966,8 @@ in { nose = callPackage ../development/python-modules/nose { }; + nose-cov = callPackage ../development/python-modules/nose-cov { }; + nose-exclude = callPackage ../development/python-modules/nose-exclude { }; nose2 = callPackage ../development/python-modules/nose2 { };