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