blob: 4226bcc03304d144d6f90ed7aadbbfa1edde3570 (
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
|
{
lib,
bitlist,
buildPythonPackage,
fetchPypi,
fountains,
parts,
pytest-cov-stub,
pytestCheckHook,
setuptools,
}:
buildPythonPackage rec {
pname = "fe25519";
version = "2.0.0";
pyproject = true;
src = fetchPypi {
inherit pname version;
hash = "sha256-Kf5OCTG3IL2dYGvzFngoS+OMZPqq/O//8Gf0a2McgPc=";
};
build-system = [ setuptools ];
dependencies = [
bitlist
fountains
parts
];
nativeCheckInputs = [
pytest-cov-stub
pytestCheckHook
];
pythonImportsCheck = [ "fe25519" ];
meta = {
description = "Python field operations for Curve25519's prime";
homepage = "https://github.com/BjoernMHaase/fe25519";
license = with lib.licenses; [ cc0 ];
maintainers = with lib.maintainers; [ fab ];
};
}
|