about summary refs log tree commit diff
diff options
context:
space:
mode:
authorMario Rodas <marsam@users.noreply.github.com>2023-03-20 09:07:58 -0500
committerGitHub <noreply@github.com>2023-03-20 09:07:58 -0500
commit32d082e4adab2ec36c34740ae0442a403844e081 (patch)
treee5e4421c2ec2580bb039a6efbed72a0250d1eed3
parent8bc6945b1224a1cfa679d6801580b1054dba1a5c (diff)
parent9a89bf966930abf3e05139332b039f6e9dbc34ca (diff)
Merge pull request #221997 from marsam/update-pytest-twisted
python310Packages.pytest-twisted: 1.13.2 -> 1.14.0
-rw-r--r--pkgs/development/python-modules/pytest-twisted/default.nix26
1 files changed, 21 insertions, 5 deletions
diff --git a/pkgs/development/python-modules/pytest-twisted/default.nix b/pkgs/development/python-modules/pytest-twisted/default.nix
index 789af67694158..198d21083e27b 100644
--- a/pkgs/development/python-modules/pytest-twisted/default.nix
+++ b/pkgs/development/python-modules/pytest-twisted/default.nix
@@ -4,21 +4,37 @@
 , greenlet
 , pytest
 , decorator
+, twisted
+, pytestCheckHook
 }:
 
 buildPythonPackage rec {
   pname = "pytest-twisted";
-  version = "1.13.2";
+  version = "1.14.0";
+  format = "setuptools";
 
   src = fetchPypi {
     inherit pname version;
-    extension = "zip";
-    sha256 = "cee2320becc5625050ab221b8f38533e636651a24644612f4726891fdf1f1847";
+    sha256 = "sha256-IJv1pkUs+/th3o8BWQLBTsgSZACRFQcHS7LuTOjf4xM=";
   };
 
-  buildInputs = [ pytest ];
+  buildInputs = [
+    pytest
+  ];
 
-  propagatedBuildInputs = [ greenlet decorator ];
+  propagatedBuildInputs = [
+    decorator
+    greenlet
+  ];
+
+  nativeCheckInputs = [
+    pytestCheckHook
+    twisted
+  ];
+
+  pythonImportsCheck = [
+    "pytest_twisted"
+  ];
 
   meta = with lib; {
     description = "A twisted plugin for py.test";