summary refs log tree commit diff
path: root/pkgs/development/python-modules/pushover-complete/default.nix
diff options
context:
space:
mode:
Diffstat (limited to 'pkgs/development/python-modules/pushover-complete/default.nix')
-rw-r--r--pkgs/development/python-modules/pushover-complete/default.nix15
1 files changed, 9 insertions, 6 deletions
diff --git a/pkgs/development/python-modules/pushover-complete/default.nix b/pkgs/development/python-modules/pushover-complete/default.nix
index 33769af319d6e..92131b52628da 100644
--- a/pkgs/development/python-modules/pushover-complete/default.nix
+++ b/pkgs/development/python-modules/pushover-complete/default.nix
@@ -4,9 +4,10 @@
 , isPy27
 , requests
 , six
-, tox
-, pytest
+, pytestCheckHook
 , pythonOlder
+, requests-toolbelt
+, responses
 }:
 
 buildPythonPackage rec {
@@ -25,11 +26,13 @@ buildPythonPackage rec {
     six
   ];
 
-  checkInputs = [ pytest tox ];
+  checkInputs = [
+    pytestCheckHook
+    requests-toolbelt
+    responses
+  ];
 
-  # Fails also on their travis right now:
-  # - https://travis-ci.org/scolby33/pushover_complete/builds?utm_medium=notification&utm_source=github_status
-  doCheck = pythonOlder "3.7";
+  pythonImportsCheck = [ "pushover_complete" ];
 
   meta = with lib; {
     description = "A Python package for interacting with *all* aspects of the Pushover API";