about summary refs log tree commit diff
path: root/pkgs/development/python-modules/natsort
diff options
context:
space:
mode:
authorRobert Schütz <robert.schuetz@stud.uni-heidelberg.de>2018-12-03 10:35:08 +0100
committerFrederik Rietdijk <fridh@fridh.nl>2018-12-03 16:50:41 +0100
commit0f2570554c70f25a616115b2c11d6284245db011 (patch)
tree1b2b5b0ca4c0830f26adc8f7ae340e3d0339e4e2 /pkgs/development/python-modules/natsort
parent023580878ca9fa2357b7e45b526ae66b10e38d14 (diff)
python.pkgs.natsort: 5.4.1 -> 5.5.0
Diffstat (limited to 'pkgs/development/python-modules/natsort')
-rw-r--r--pkgs/development/python-modules/natsort/default.nix19
1 files changed, 9 insertions, 10 deletions
diff --git a/pkgs/development/python-modules/natsort/default.nix b/pkgs/development/python-modules/natsort/default.nix
index 5c652744fa164..92f885d7bbdad 100644
--- a/pkgs/development/python-modules/natsort/default.nix
+++ b/pkgs/development/python-modules/natsort/default.nix
@@ -2,32 +2,31 @@
 , buildPythonPackage
 , pythonOlder
 , fetchPypi
-, hypothesis
-, pytestcache
 , pytest
+, pytestcov
+, pytest-mock
+, hypothesis
 , glibcLocales
-, mock ? null
 , pathlib ? null
 }:
 
 buildPythonPackage rec {
   pname = "natsort";
-  version = "5.4.1";
+  version = "5.5.0";
 
   checkInputs = [
-    hypothesis
-    pytestcache
     pytest
+    pytestcov
+    pytest-mock
+    hypothesis
     glibcLocales
   ]
   # pathlib was made part of standard library in 3.5:
-  ++ (lib.optionals (pythonOlder "3.4") [ pathlib ])
-  # based on testing-requirements.txt:
-  ++ (lib.optionals (pythonOlder "3.3") [ mock ]);
+  ++ (lib.optionals (pythonOlder "3.4") [ pathlib ]);
 
   src = fetchPypi {
     inherit pname version;
-    sha256 = "ae73b005135dc152e7b282b2d4cf19380d8cab4c4026461ee9f37bf3aa12e344";
+    sha256 = "e29031f37aa264145d6ad9acdab335479ce3636806fc7aa70b7675a2b2198d09";
   };
 
   # testing based on project's tox.ini