nixpkgs mirror (for testing) github.com/NixOS/nixpkgs
nix

ocamlPackages.ff: 0.4.0 → 0.6.2

ocamlPackages.ff-pbt: 0.6.1 → 0.6.2
ocamlPackages.ff-sig: 0.6.1 → 0.6.2

authored by

Vincent Laporte and committed by
Vincent Laporte
bb38470b 83c48476

+15 -25
+6 -16
pkgs/development/ocaml-modules/ff/default.nix
··· 1 - { lib, fetchFromGitLab, buildDunePackage, ocaml, zarith, alcotest }: 1 + { lib, buildDunePackage, ff-pbt, ff-sig, zarith, alcotest }: 2 2 3 3 buildDunePackage rec { 4 4 pname = "ff"; 5 - version = "0.4.0"; 6 - 7 - src = fetchFromGitLab { 8 - owner = "dannywillems"; 9 - repo = "ocaml-ff"; 10 - rev = version; 11 - sha256 = "1ik29srzkd0pl48p1si9p1c4f8vmx5rgm02yv2arj3vg0a1nfhdv"; 12 - }; 13 - 14 - useDune2 = true; 5 + inherit (ff-sig) version src; 15 6 16 7 propagatedBuildInputs = [ 8 + ff-sig 17 9 zarith 18 10 ]; 19 11 20 12 checkInputs = [ 21 13 alcotest 14 + ff-pbt 22 15 ]; 23 16 24 - doCheck = lib.versionAtLeast ocaml.version "4.08"; 17 + doCheck = true; 25 18 26 - meta = { 27 - homepage = "https://gitlab.com/dannywillems/ocaml-ff"; 19 + meta = ff-sig.meta // { 28 20 description = "OCaml implementation of Finite Field operations"; 29 - license = lib.licenses.mit; 30 - maintainers = [ lib.maintainers.ulrikstrid ]; 31 21 }; 32 22 }
+4 -2
pkgs/development/ocaml-modules/ff/pbt.nix
··· 1 - { lib, fetchFromGitLab, buildDunePackage, zarith, ff-sig, alcotest }: 1 + { lib, buildDunePackage, zarith, ff-sig, alcotest }: 2 2 3 3 buildDunePackage { 4 4 pname = "ff-pbt"; 5 - inherit (ff-sig) version src doCheck useDune2; 5 + inherit (ff-sig) version src; 6 6 7 7 minimalOCamlVersion = "4.08"; 8 8 9 9 checkInputs = [ 10 10 alcotest 11 11 ]; 12 + 13 + doCheck = true; 12 14 13 15 propagatedBuildInputs = [ 14 16 zarith
+5 -7
pkgs/development/ocaml-modules/ff/sig.nix
··· 2 2 3 3 buildDunePackage rec { 4 4 pname = "ff-sig"; 5 - version = "0.6.1"; 5 + version = "0.6.2"; 6 6 src = fetchFromGitLab { 7 - owner = "dannywillems"; 8 - repo = "ocaml-ff"; 7 + owner = "nomadic-labs"; 8 + repo = "cryptography/ocaml-ff"; 9 9 rev = version; 10 - sha256 = "0p42ivyfbn1pwm18773y4ga9cm64ysha0rplzvrnhszg01anarc0"; 10 + sha256 = "sha256-IoUH4awMOa1pm/t8E5io87R0TZsAxJjGWaXhXjn/w+Y="; 11 11 }; 12 - 13 - useDune2 = true; 14 12 15 13 propagatedBuildInputs = [ 16 14 zarith ··· 17 19 doCheck = true; 18 20 19 21 meta = { 20 - homepage = "https://gitlab.com/dannywillems/ocaml-ff"; 22 + inherit (src.meta) homepage; 21 23 description = "Minimal finite field signatures"; 22 24 license = lib.licenses.mit; 23 25 maintainers = [ lib.maintainers.ulrikstrid ];