ocamlPackages.polynomial: init at 0.4.0

This commit is contained in:
Laurent Canis 2023-04-28 14:32:57 -04:00 committed by Ulrik Strid
parent 95d3a2bf8a
commit 22f88c83dd
2 changed files with 31 additions and 0 deletions

View file

@ -0,0 +1,29 @@
{ lib
, fetchFromGitLab
, buildDunePackage
, zarith
, ff-sig
}:
buildDunePackage rec {
pname = "polynomial";
version = "0.4.0";
duneVersion = "3";
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 ];
};
}

View file

@ -1311,6 +1311,8 @@ let
inherit (pkgs) coreutils imagemagick;
};
polynomial = callPackage ../development/ocaml-modules/polynomial { };
portaudio = callPackage ../development/ocaml-modules/portaudio {
inherit (pkgs) portaudio;
};