blob: a1b2185f7e6417411baab3943abc41a50a041836 (
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
46
47
48
49
50
51
52
|
{
buildPythonPackage,
lib,
fetchFromGitHub,
setuptools,
cffi,
libsodium,
libxeddsa,
pytestCheckHook,
pytest-cov-stub,
nix-update-script,
}:
buildPythonPackage rec {
pname = "xeddsa";
version = "1.1.1";
pyproject = true;
src = fetchFromGitHub {
owner = "Syndace";
repo = "python-xeddsa";
tag = "v${version}";
hash = "sha256-5s6ERazWnwYEc0d5e+eSdvOCTklBQVrjzvlNifC2zKU=";
};
passthru.updateScript = nix-update-script { };
build-system = [ setuptools ];
buildInputs = [
libsodium
libxeddsa
];
dependencies = [ cffi ];
nativeCheckInputs = [
pytestCheckHook
pytest-cov-stub
];
pythonImportsCheck = [ "xeddsa" ];
meta = {
description = "Python bindings to libxeddsa";
homepage = "https://github.com/Syndace/python-xeddsa";
changelog = "https://github.com/Syndace/python-xeddsa/blob/v${version}/CHANGELOG.md";
license = lib.licenses.mit;
teams = with lib.teams; [ ngi ];
maintainers = [ ];
};
}
|