10 buildPythonPackage rec {
11 pname = "argon2-cffi-bindings";
13 format = "setuptools";
16 inherit pname version;
17 sha256 = "bb89ceffa6c791807d1305ceb77dbfacc5aa499891d2c55661c6459651fc39e3";
20 buildInputs = [ libargon2 ];
27 propagatedBuildInputs = [ cffi ];
29 env.ARGON2_CFFI_USE_SYSTEM = 1;
31 # tarball doesn't include tests, but the upstream tests are minimal
33 pythonImportsCheck = [ "_argon2_cffi_bindings" ];
36 description = "Low-level CFFI bindings for Argon2";
37 homepage = "https://github.com/hynek/argon2-cffi-bindings";
38 license = licenses.mit;