diff options
Diffstat (limited to 'nixpkgs/pkgs/development/python-modules/natsort/default.nix')
-rw-r--r-- | nixpkgs/pkgs/development/python-modules/natsort/default.nix | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/nixpkgs/pkgs/development/python-modules/natsort/default.nix b/nixpkgs/pkgs/development/python-modules/natsort/default.nix index 3df8ce7c5ba..bfe486e1a54 100644 --- a/nixpkgs/pkgs/development/python-modules/natsort/default.nix +++ b/nixpkgs/pkgs/development/python-modules/natsort/default.nix @@ -8,11 +8,12 @@ , hypothesis , glibcLocales , pathlib ? null +, isPy3k }: buildPythonPackage rec { pname = "natsort"; - version = "6.2.1"; + version = "7.0.1"; checkInputs = [ pytest @@ -26,9 +27,12 @@ buildPythonPackage rec { src = fetchPypi { inherit pname version; - sha256 = "c5944ffd2343141fa5679b17991c398e15105f3b35bb11beefe66c67e08289d5"; + sha256 = "a633464dc3a22b305df0f27abcb3e83515898aa1fd0ed2f9726c3571a27258cf"; }; + # Does not support Python 2 + disabled = !isPy3k; + # testing based on project's tox.ini # natsort_keygen has pytest mock issues checkPhase = '' |