2023-04-28 18:32:57 +00:00
|
|
|
{
|
|
|
|
lib,
|
|
|
|
fetchFromGitLab,
|
|
|
|
buildDunePackage,
|
|
|
|
zarith,
|
|
|
|
ff-sig,
|
|
|
|
}:
|
|
|
|
|
|
|
|
buildDunePackage rec {
|
|
|
|
pname = "polynomial";
|
|
|
|
version = "0.4.0";
|
|
|
|
duneVersion = "3";
|
2023-05-24 05:26:59 +00:00
|
|
|
minimalOCamlVersion = "4.08";
|
2023-04-28 18:32:57 +00:00
|
|
|
src = fetchFromGitLab {
|
|
|
|
owner = "nomadic-labs";
|
|
|
|
repo = "cryptography/ocaml-polynomial";
|
|
|
|
rev = version;
|
2024-07-13 13:27:47 +00:00
|
|
|
hash = "sha256-is/PrYLCwStHiQsNq5OVRCwHdXjO2K2Z7FrXgytRfAU=";
|
2023-04-28 18:32:57 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
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 ];
|
|
|
|
};
|
|
|
|
}
|