blob: 312169acb6cf504a7210c4b49e5f93d2fbab05c1 (
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
40
41
|
{ 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=";
};
duneVersion = "3";
minimalOCamlVersion = "4.12";
propagatedBuildInputs = [
eqaf
bigarray-compat
hex
ff-sig
ff
alcotest
];
buildInputs = [
zarith
];
nativeCheckInputs = [
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 ];
};
}
|