2021-10-14 00:43:12 +00:00
|
|
|
{ lib, fetchFromGitLab, buildDunePackage, zarith }:
|
|
|
|
|
|
|
|
buildDunePackage rec {
|
|
|
|
pname = "ff-sig";
|
2022-10-21 18:38:19 +00:00
|
|
|
version = "0.6.2";
|
2021-10-14 00:43:12 +00:00
|
|
|
src = fetchFromGitLab {
|
2022-10-21 18:38:19 +00:00
|
|
|
owner = "nomadic-labs";
|
|
|
|
repo = "cryptography/ocaml-ff";
|
2021-10-14 00:43:12 +00:00
|
|
|
rev = version;
|
2022-10-21 18:38:19 +00:00
|
|
|
sha256 = "sha256-IoUH4awMOa1pm/t8E5io87R0TZsAxJjGWaXhXjn/w+Y=";
|
2021-10-14 00:43:12 +00:00
|
|
|
};
|
|
|
|
|
2023-04-12 12:48:02 +00:00
|
|
|
duneVersion = "3";
|
|
|
|
|
2021-10-14 00:43:12 +00:00
|
|
|
propagatedBuildInputs = [
|
|
|
|
zarith
|
|
|
|
];
|
|
|
|
|
|
|
|
doCheck = true;
|
|
|
|
|
|
|
|
meta = {
|
2022-10-21 18:38:19 +00:00
|
|
|
inherit (src.meta) homepage;
|
2021-10-14 00:43:12 +00:00
|
|
|
description = "Minimal finite field signatures";
|
|
|
|
license = lib.licenses.mit;
|
|
|
|
maintainers = [ lib.maintainers.ulrikstrid ];
|
|
|
|
};
|
|
|
|
}
|