From cfce6560db86b1690477b8e769084ceab55c0d66 Mon Sep 17 00:00:00 2001 From: Ben Wolsieffer Date: Fri, 1 Sep 2023 14:01:49 -0400 Subject: [PATCH] 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. --- .../python-modules/argon2-cffi/default.nix | 11 +++-------- 1 file 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 9d59b5fbad65..d3c1d28ae7e5 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 '';