nixpkgs mirror (for testing)
github.com/NixOS/nixpkgs
nix
1{ lib, fetchFromGitLab, buildDunePackage, zarith }:
2
3buildDunePackage rec {
4 pname = "ff-sig";
5 version = "0.6.2";
6 src = fetchFromGitLab {
7 owner = "nomadic-labs";
8 repo = "cryptography/ocaml-ff";
9 rev = version;
10 sha256 = "sha256-IoUH4awMOa1pm/t8E5io87R0TZsAxJjGWaXhXjn/w+Y=";
11 };
12
13 duneVersion = "3";
14
15 propagatedBuildInputs = [
16 zarith
17 ];
18
19 doCheck = true;
20
21 meta = {
22 inherit (src.meta) homepage;
23 description = "Minimal finite field signatures";
24 license = lib.licenses.mit;
25 maintainers = [ lib.maintainers.ulrikstrid ];
26 };
27}