summaryrefslogtreecommitdiffstats
path: root/pkgs/development/ocaml-modules/ff/sig.nix
blob: b398a8d057e3a7056a3c62ed4aec3f352288e3cd (plain)
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
{
  lib,
  fetchFromGitLab,
  buildDunePackage,
  zarith,
}:

buildDunePackage (finalAttrs: {
  pname = "ff-sig";
  version = "0.6.2";
  src = fetchFromGitLab {
    owner = "nomadic-labs";
    repo = "cryptography/ocaml-ff";
    rev = finalAttrs.version;
    hash = "sha256-IoUH4awMOa1pm/t8E5io87R0TZsAxJjGWaXhXjn/w+Y=";
  };

  duneVersion = "3";

  propagatedBuildInputs = [
    zarith
  ];

  doCheck = true;

  meta = {
    inherit (finalAttrs.src.meta) homepage;
    description = "Minimal finite field signatures";
    license = lib.licenses.mit;
    maintainers = [ lib.maintainers.ulrikstrid ];
  };
})