1{ lib
2, bitlist
3, buildPythonPackage
4, fetchPypi
5, fountains
6, parts
7, nose
8, pytestCheckHook
9}:
10
11buildPythonPackage rec {
12 pname = "fe25519";
13 version = "1.0.0";
14
15 src = fetchPypi {
16 inherit pname version;
17 sha256 = "sha256-947DIkmg56mAegEgLKq8iqETWf2SCvtmeDZi5cxVSJA=";
18 };
19
20 propagatedBuildInputs = [
21 bitlist
22 fountains
23 parts
24 ];
25
26 checkInputs = [
27 nose
28 pytestCheckHook
29 ];
30
31 pythonImportsCheck = [ "fe25519" ];
32
33 meta = with lib; {
34 description = "Python field operations for Curve25519's prime";
35 homepage = "https://github.com/BjoernMHaase/fe25519";
36 license = with licenses; [ cc0 ];
37 maintainers = with maintainers; [ fab ];
38 };
39}