Merge pull request #119126 from fabaff/pycomfoconnect
[NixPkgs.git] / pkgs / development / python-modules / fe25519 / default.nix
blob466de64453f432d6b45191219114a5e2c8756fdb
1 { lib
2 , bitlist
3 , buildPythonPackage
4 , fetchPypi
5 , fountains
6 , parts
7 , nose
8 , pytestCheckHook
9 }:
11 buildPythonPackage rec {
12   pname = "fe25519";
13   version = "0.2.0";
15   src = fetchPypi {
16     inherit pname version;
17     sha256 = "1m85qvw9dwxk81mv9k45c9n75pk8wqn70qkinqh56h5zv56vgq24";
18   };
20   propagatedBuildInputs = [
21     bitlist
22     fountains
23     parts
24   ];
26   checkInputs = [
27     nose
28     pytestCheckHook
29   ];
31   pythonImportsCheck = [ "fe25519" ];
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   };