Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
1{ 2 lib, 3 fetchFromGitLab, 4 buildDunePackage, 5 ff-sig, 6 zarith, 7}: 8 9buildDunePackage rec { 10 pname = "bls12-381-gen"; 11 version = "0.4.4"; 12 13 src = fetchFromGitLab { 14 owner = "dannywillems"; 15 repo = "ocaml-bls12-381"; 16 rev = "${version}-legacy"; 17 sha256 = "qocIfQdv9rniOUykRulu2zWsqkzT0OrsGczgVKALRuk="; 18 }; 19 20 duneVersion = "3"; 21 22 minimalOCamlVersion = "4.08"; 23 24 propagatedBuildInputs = [ 25 ff-sig 26 zarith 27 ]; 28 29 doCheck = true; 30 31 meta = { 32 homepage = "https://gitlab.com/dannywillems/ocaml-bls12-381"; 33 description = "Functors to generate BLS12-381 primitives based on stubs"; 34 license = lib.licenses.mit; 35 maintainers = [ lib.maintainers.ulrikstrid ]; 36 }; 37}