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.
This commit is contained in:
Ben Wolsieffer
2023-09-25 21:31:59 -04:00
parent b55e27cc5c
commit cfce6560db
@@ -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
'';