depot/pkgs/development/ocaml-modules/polynomial/default.nix
Luke Granger-Brown 57725ef3ec Squashed 'third_party/nixpkgs/' content from commit 76612b17c0ce
git-subtree-dir: third_party/nixpkgs
git-subtree-split: 76612b17c0ce71689921ca12d9ffdc9c23ce40b2
2024-11-10 23:59:47 +00:00

30 lines
683 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;
hash = "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 ];
};
}