blob: 8381cf821ed34399069582637fafc1d9717e9f98 (
plain) (
blame)
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
|
{ lib, fetchzip, buildDunePackage, ocaml
, zarith, eqaf, bigarray-compat, hex, ff-sig, ff
, alcotest, bisect_ppx }:
buildDunePackage rec {
pname = "mec";
version = "0.1.0";
src = fetchzip {
url = "https://gitlab.com/nomadic-labs/cryptography/ocaml-ec/-/archive/${version}/ocaml-ec-${version}.tar.bz2";
sha256 = "sha256-uIcGj/exSfuuzsv6C/bnJXpYRu3OY3dcKMW/7+qwi2U=";
};
minimalOCamlVersion = "4.12";
propagatedBuildInputs = [
eqaf
bigarray-compat
hex
ff-sig
ff
alcotest
];
buildInputs = [
zarith
];
checkInputs = [
alcotest
bisect_ppx
];
meta = {
description = "Mec - Mini Elliptic Curve library";
homepage = "https://gitlab.com/nomadic-labs/cryptography/ocaml-ec";
license = lib.licenses.mit;
maintainers = [ lib.maintainers.ulrikstrid ];
};
}
|