about summary refs log tree commit diff
path: root/pkgs/development/python-modules/pastedeploy
diff options
context:
space:
mode:
authorRobert Schütz <robert.schuetz@stud.uni-heidelberg.de>2019-02-14 15:13:35 +0100
committerFrederik Rietdijk <fridh@fridh.nl>2019-02-17 14:40:50 +0100
commit9a36041027a0c29ff0fbc0d80d185eddb0d6eb3c (patch)
treee97b819340aefcfcc2bc3cc2d76a7c103264ede6 /pkgs/development/python-modules/pastedeploy
parent869d64e2d1b6e10c57925912c3451f6e128c9cc8 (diff)
python.pkgs.PasteDeploy: no tests in tarball
Diffstat (limited to 'pkgs/development/python-modules/pastedeploy')
-rw-r--r--pkgs/development/python-modules/pastedeploy/default.nix11
1 files changed, 9 insertions, 2 deletions
diff --git a/pkgs/development/python-modules/pastedeploy/default.nix b/pkgs/development/python-modules/pastedeploy/default.nix
index 34fb090179b64..3301521b085ed 100644
--- a/pkgs/development/python-modules/pastedeploy/default.nix
+++ b/pkgs/development/python-modules/pastedeploy/default.nix
@@ -1,7 +1,8 @@
 { stdenv
 , buildPythonPackage
 , fetchPypi
-, nose
+, pytestrunner
+, pytest
 }:
 
 buildPythonPackage rec {
@@ -13,7 +14,13 @@ buildPythonPackage rec {
     sha256 = "d423fb9d51fdcf853aa4ff43ac7ec469b643ea19590f67488122d6d0d772350a";
   };
 
-  buildInputs = [ nose ];
+  buildInputs = [ pytestrunner ];
+
+  checkInputs = [ pytest ];
+
+  # no tests in PyPI tarball
+  # should be included with versions > 2.0.1
+  doCheck = false;
 
   meta = with stdenv.lib; {
     description = "Load, configure, and compose WSGI applications and servers";