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