1{ lib
2, bitlist
3, buildPythonPackage
4, fe25519
5, fetchPypi
6, fountains
7, nose
8, parts
9, pytestCheckHook
10}:
11
12buildPythonPackage rec {
13 pname = "ge25519";
14 version = "1.0.0";
15
16 src = fetchPypi {
17 inherit pname version;
18 sha256 = "sha256-f7xvZ92zRO3GLSdfgEyhkWVwAFT2TvKHy6+iF+k43bI=";
19 };
20
21 propagatedBuildInputs = [
22 fe25519
23 parts
24 bitlist
25 fountains
26 ];
27
28 checkInputs = [
29 nose
30 pytestCheckHook
31 ];
32
33 pythonImportsCheck = [ "ge25519" ];
34
35 meta = with lib; {
36 description = "Python implementation of Ed25519 group elements and operations";
37 homepage = "https://github.com/nthparty/ge25519";
38 license = with licenses; [ mit ];
39 maintainers = with maintainers; [ fab ];
40 };
41}