about summary refs log tree commit diff
path: root/pkgs/development/python-modules/pytest-cov
diff options
context:
space:
mode:
authorFabian Affolter <mail@fabian-affolter.ch>2021-06-06 23:20:35 +0200
committerFabian Affolter <mail@fabian-affolter.ch>2021-06-08 00:48:35 +0200
commit903b39b47bf40dc59dfa59de32e00711b47d17f9 (patch)
tree0227f2482d734b518601e43f654c606a09f9efb6 /pkgs/development/python-modules/pytest-cov
parentb43f2e92a39effa77b61bd5f95b92d8ad87c4d37 (diff)
python3Packages.pytest-cov: 2.11.1 -> 2.12.1
Diffstat (limited to 'pkgs/development/python-modules/pytest-cov')
-rw-r--r--pkgs/development/python-modules/pytest-cov/default.nix15
1 files changed, 11 insertions, 4 deletions
diff --git a/pkgs/development/python-modules/pytest-cov/default.nix b/pkgs/development/python-modules/pytest-cov/default.nix
index a41c26b753b79..d0beff8a5cdcd 100644
--- a/pkgs/development/python-modules/pytest-cov/default.nix
+++ b/pkgs/development/python-modules/pytest-cov/default.nix
@@ -1,16 +1,21 @@
-{ lib, buildPythonPackage, fetchPypi
-, pytest, coverage }:
+{ lib
+, buildPythonPackage
+, fetchPypi
+, pytest
+, coverage
+}:
 
 buildPythonPackage rec {
   pname = "pytest-cov";
-  version = "2.11.1";
+  version = "2.12.1";
 
   src = fetchPypi {
     inherit pname version;
-    sha256 = "359952d9d39b9f822d9d29324483e7ba04a3a17dd7d05aa6beb7ea01e359e5f7";
+    sha256 = "sha256-JhzuuMIntyYkmzdrhSa2APOGZ+4xT5EDU/oxjKoB9Nc=";
   };
 
   buildInputs = [ pytest ];
+
   propagatedBuildInputs = [ coverage ];
 
   # xdist related tests fail with the following error
@@ -22,6 +27,8 @@ buildPythonPackage rec {
     py.test tests
   '';
 
+  pythonImportsCheck = [ "pytest_cov" ];
+
   meta = with lib; {
     description = "Plugin for coverage reporting with support for both centralised and distributed testing, including subprocesses and multiprocessing";
     homepage = "https://github.com/pytest-dev/pytest-cov";