about summary refs log tree commit diff
path: root/pkgs/development
diff options
context:
space:
mode:
authorWeijia Wang <9713184+wegank@users.noreply.github.com>2023-09-06 01:03:15 +0200
committerGitHub <noreply@github.com>2023-09-06 01:03:15 +0200
commit8af908bc069c918eab6f39f9e5ed1639d0e55878 (patch)
treec1636f81c99cf7454f742583f67b50ba9bc4f897 /pkgs/development
parenta185ff3f58f83965261f13052c5c636d8dcf291b (diff)
parentced869e53757ff87edcacddf87bd4edb450719d5 (diff)
Merge pull request #252267 from tjni/pytest-quickcheck
python310Packages.pytest-quickcheck: unbreak and enable tests
Diffstat (limited to 'pkgs/development')
-rw-r--r--pkgs/development/python-modules/pytest-quickcheck/default.nix15
1 files changed, 9 insertions, 6 deletions
diff --git a/pkgs/development/python-modules/pytest-quickcheck/default.nix b/pkgs/development/python-modules/pytest-quickcheck/default.nix
index 16f85581cabf6..a5e11c66a71af 100644
--- a/pkgs/development/python-modules/pytest-quickcheck/default.nix
+++ b/pkgs/development/python-modules/pytest-quickcheck/default.nix
@@ -2,30 +2,33 @@
 , buildPythonPackage
 , fetchPypi
 , pytest
+, pytestCheckHook
 , pytest-flakes
-, tox
 }:
 
 buildPythonPackage rec {
   pname = "pytest-quickcheck";
   version = "0.9.0";
+  format = "setuptools";
 
   src = fetchPypi {
     inherit pname version;
     hash = "sha256-UFF8ldnaImXU6al4kGjf720mbwXE6Nut9VlvNVrMVoY=";
   };
 
-  buildInputs = [ pytest ];
+  propagatedBuildInputs = [
+    pytest
+  ];
 
-  propagatedBuildInputs = [ pytest-flakes tox ];
+  nativeCheckInputs = [
+    pytestCheckHook
+    pytest-flakes
+  ];
 
   meta = with lib; {
     license = licenses.asl20;
     homepage = "https://pypi.python.org/pypi/pytest-quickcheck";
     description = "pytest plugin to generate random data inspired by QuickCheck";
     maintainers = with maintainers; [ onny ];
-    # Pytest support > 6.0 missing
-    # https://github.com/t2y/pytest-quickcheck/issues/17
-    broken = true;
   };
 }