1{
2 lib,
3 fetchFromGitLab,
4 buildDunePackage,
5 zarith,
6 ff-sig,
7}:
8
9buildDunePackage rec {
10 pname = "polynomial";
11 version = "0.4.0";
12 duneVersion = "3";
13 minimalOCamlVersion = "4.08";
14 src = fetchFromGitLab {
15 owner = "nomadic-labs";
16 repo = "cryptography/ocaml-polynomial";
17 rev = version;
18 hash = "sha256-is/PrYLCwStHiQsNq5OVRCwHdXjO2K2Z7FrXgytRfAU=";
19 };
20
21 propagatedBuildInputs = [
22 zarith
23 ff-sig
24 ];
25
26 doCheck = false; # circular dependencies
27
28 meta = {
29 description = "Polynomials over finite field";
30 license = lib.licenses.mit;
31 homepage = "https://gitlab.com/nomadic-labs/ocaml-polynomial";
32 maintainers = [ lib.maintainers.ulrikstrid ];
33 };
34}