python3Packages.argon2-cffi-bindings: init at 21.2.0

This commit is contained in:
Jonathan Ringer 2022-01-13 23:22:08 -08:00 committed by Martin Weinelt
parent 6290de6319
commit 7a46625c85
2 changed files with 37 additions and 0 deletions

View file

@ -0,0 +1,35 @@
{ lib
, buildPythonPackage
, fetchPypi
, cffi
, setuptools-scm
}:
buildPythonPackage rec {
pname = "argon2-cffi-bindings";
version = "21.2.0";
src = fetchPypi {
inherit pname version;
sha256 = "bb89ceffa6c791807d1305ceb77dbfacc5aa499891d2c55661c6459651fc39e3";
};
nativeBuildInputs = [
setuptools-scm
];
propagatedBuildInputs = [
cffi
];
# tarball doesn't include tests, but the upstream tests are minimal
doCheck = false;
pythonImportsCheck = [ "_argon2_cffi_bindings" ];
meta = with lib; {
description = "Low-level CFFI bindings for Argon2";
homepage = "https://github.com/hynek/argon2-cffi-bindings";
license = licenses.mit;
maintainers = with maintainers; [ jonringer ];
};
}

View file

@ -600,6 +600,8 @@ in {
argon2_cffi = callPackage ../development/python-modules/argon2_cffi { };
argon2-cffi-bindings = callPackage ../development/python-modules/argon2-cffi-bindings { };
args = callPackage ../development/python-modules/args { };
aria2p = callPackage ../development/python-modules/aria2p { };