1{ hypothesis
2, pytestCheckHook
3, buildPythonPackage
4, fetchPypi
5, lib
6, hatchling
7, hatch-vcs
8, hatch-fancy-pypi-readme
9, argon2-cffi-bindings
10}:
11
12buildPythonPackage rec {
13 pname = "argon2-cffi";
14 version = "23.1.0";
15 format = "pyproject";
16
17 src = fetchPypi {
18 pname = "argon2_cffi";
19 inherit version;
20 hash = "sha256-h5w+eaJynOdo67fTbUYJ46eKTKLsOp8SKGygV+PQ2wg=";
21 };
22
23 nativeBuildInputs = [ hatchling hatch-vcs hatch-fancy-pypi-readme ];
24
25 propagatedBuildInputs = [ argon2-cffi-bindings ];
26
27 nativeCheckInputs = [ hypothesis pytestCheckHook ];
28
29 pythonImportsCheck = [ "argon2" ];
30
31 meta = with lib; {
32 description = "Secure Password Hashes for Python";
33 homepage = "https://argon2-cffi.readthedocs.io/";
34 license = licenses.mit;
35 };
36}