blob: b3d802196c69c697f2117850be172dac23bdf438 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
|
{
lib,
buildPythonPackage,
fetchFromGitHub,
libargon2,
cffi,
setuptools-scm,
pytestCheckHook,
}:
buildPythonPackage rec {
pname = "argon2-cffi-bindings";
version = "25.1.0";
pyproject = true;
src = fetchFromGitHub {
owner = "hynek";
repo = "argon2-cffi-bindings";
tag = version;
hash = "sha256-UDPxwqEpsmByAPM7lz3cxZz8jWwCEdghPlKXt8zQrfc=";
};
buildInputs = [ libargon2 ];
build-system = [
setuptools-scm
cffi
];
dependencies = [ cffi ];
env.ARGON2_CFFI_USE_SYSTEM = 1;
nativeCheckInputs = [ pytestCheckHook ];
pythonImportsCheck = [ "_argon2_cffi_bindings" ];
meta = {
changelog = "https://github.com/hynek/argon2-cffi-bindings/releases/tag/${src.tag}";
description = "Low-level CFFI bindings for Argon2";
homepage = "https://github.com/hynek/argon2-cffi-bindings";
license = lib.licenses.mit;
maintainers = [ ];
};
}
|