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:
@@ -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
|
||||
'';
|
||||
|
||||
Reference in New Issue
Block a user