fluffychat: 1.22.1 -> 1.23.0 (#364091)
[NixPkgs.git] / pkgs / development / ocaml-modules / mec / default.nix
blob29ed1fc0e862083d7f2e2696d4c2361656f76b39
2   lib,
3   fetchzip,
4   buildDunePackage,
5   zarith,
6   eqaf,
7   bigarray-compat,
8   hex,
9   ff-sig,
10   ff,
11   alcotest,
12   bisect_ppx,
15 buildDunePackage rec {
16   pname = "mec";
17   version = "0.1.0";
18   src = fetchzip {
19     url = "https://gitlab.com/nomadic-labs/cryptography/ocaml-ec/-/archive/${version}/ocaml-ec-${version}.tar.bz2";
20     sha256 = "sha256-uIcGj/exSfuuzsv6C/bnJXpYRu3OY3dcKMW/7+qwi2U=";
21   };
23   duneVersion = "3";
25   minimalOCamlVersion = "4.12";
27   propagatedBuildInputs = [
28     eqaf
29     bigarray-compat
30     hex
31     ff-sig
32     ff
33     alcotest
34   ];
36   buildInputs = [
37     zarith
38   ];
40   checkInputs = [
41     alcotest
42     bisect_ppx
43   ];
45   meta = {
46     description = "Mec - Mini Elliptic Curve library";
47     homepage = "https://gitlab.com/nomadic-labs/cryptography/ocaml-ec";
48     license = lib.licenses.mit;
49     maintainers = [ lib.maintainers.ulrikstrid ];
50   };