about summary refs log tree commit diff
diff options
context:
space:
mode:
authorBen Wolsieffer <benwolsieffer@gmail.com>2023-09-01 14:01:49 -0400
committerBen Wolsieffer <benwolsieffer@gmail.com>2023-09-25 21:31:59 -0400
commitcfce6560db86b1690477b8e769084ceab55c0d66 (patch)
tree2b56fc79b43a5a70358c95402a67c6ae2baa4eba
parentb55e27cc5c8f71e6f80a8011b36c8383a2087eca (diff)
python3Packages.argon2-cffi: remove Python 2 dependencies
Remove six and enum34 dependencies that are no longer needed because
argon2-cffi doesn't support Python 2.

Also, remove the wheel test dependency, which doesn't appear to be
required anymore.
-rw-r--r--pkgs/development/python-modules/argon2-cffi/default.nix11
1 files changed, 3 insertions, 8 deletions
diff --git a/pkgs/development/python-modules/argon2-cffi/default.nix b/pkgs/development/python-modules/argon2-cffi/default.nix
index 9d59b5fbad659..d3c1d28ae7e55 100644
--- a/pkgs/development/python-modules/argon2-cffi/default.nix
+++ b/pkgs/development/python-modules/argon2-cffi/default.nix
@@ -1,12 +1,8 @@
-{ six
-, enum34
-, hypothesis
+{ hypothesis
 , pytest
-, wheel
 , buildPythonPackage
 , fetchPypi
 , flit-core
-, isPy3k
 , lib
 , stdenv
 , argon2-cffi-bindings
@@ -26,10 +22,9 @@ buildPythonPackage rec {
     flit-core
   ];
 
-  propagatedBuildInputs = [ six argon2-cffi-bindings ]
-    ++ lib.optional (!isPy3k) enum34;
+  propagatedBuildInputs = [ argon2-cffi-bindings ];
 
-  nativeCheckInputs = [ hypothesis pytest wheel ];
+  nativeCheckInputs = [ hypothesis pytest ];
   checkPhase = ''
     pytest tests
   '';