depot/third_party/nixpkgs/pkgs/development/ocaml-modules/polynomial/default.nix
Default email 94427deb9d Project import generated by Copybara.
GitOrigin-RevId: f91ee3065de91a3531329a674a45ddcb3467a650
2023-05-24 16:37:59 +03:00

30 lines
685 B
Nix

{ lib
, fetchFromGitLab
, buildDunePackage
, zarith
, ff-sig
}:
buildDunePackage rec {
pname = "polynomial";
version = "0.4.0";
duneVersion = "3";
minimalOCamlVersion = "4.08";
src = fetchFromGitLab {
owner = "nomadic-labs";
repo = "cryptography/ocaml-polynomial";
rev = version;
sha256 = "sha256-is/PrYLCwStHiQsNq5OVRCwHdXjO2K2Z7FrXgytRfAU=";
};
propagatedBuildInputs = [ zarith ff-sig ];
doCheck = false; # circular dependencies
meta = {
description = "Polynomials over finite field";
license = lib.licenses.mit;
homepage = "https://gitlab.com/nomadic-labs/ocaml-polynomial";
maintainers = [ lib.maintainers.ulrikstrid ];
};
}