diff options
author | Mihai Fufezan <fufexan@pm.me> | 2021-08-27 10:32:58 +0300 |
---|---|---|
committer | Vincent Laporte <vbgl@users.noreply.github.com> | 2021-08-27 12:00:16 +0200 |
commit | 38927fac53a02f233f294265e48cc2bcbd7b2667 (patch) | |
tree | f152c1fb3bfda3b4f0dc926a24648253976a53e2 /pkgs/development/ocaml-modules | |
parent | d945e55ffc55f2f3800239b7d1933fb338b05e5e (diff) | |
download | nixlib-38927fac53a02f233f294265e48cc2bcbd7b2667.tar nixlib-38927fac53a02f233f294265e48cc2bcbd7b2667.tar.gz nixlib-38927fac53a02f233f294265e48cc2bcbd7b2667.tar.bz2 nixlib-38927fac53a02f233f294265e48cc2bcbd7b2667.tar.lz nixlib-38927fac53a02f233f294265e48cc2bcbd7b2667.tar.xz nixlib-38927fac53a02f233f294265e48cc2bcbd7b2667.tar.zst nixlib-38927fac53a02f233f294265e48cc2bcbd7b2667.zip |
ocamlPackages.callipyge: init at 0.2
Diffstat (limited to 'pkgs/development/ocaml-modules')
-rw-r--r-- | pkgs/development/ocaml-modules/callipyge/default.nix | 36 |
1 files changed, 36 insertions, 0 deletions
diff --git a/pkgs/development/ocaml-modules/callipyge/default.nix b/pkgs/development/ocaml-modules/callipyge/default.nix new file mode 100644 index 000000000000..a9dfb80f2a11 --- /dev/null +++ b/pkgs/development/ocaml-modules/callipyge/default.nix @@ -0,0 +1,36 @@ +{ lib +, buildDunePackage +, fetchurl +, ocaml + +, alcotest +, eqaf +, fmt +}: + +buildDunePackage rec { + pname = "callipyge"; + version = "0.2"; + + src = fetchurl { + url = "https://github.com/oklm-wsh/Callipyge/releases/download/v${version}/${pname}-${version}.tbz"; + sha256 = "sha256-T/94a88xvK51TggjXecdKc9kyTE9aIyueIt5T24sZB0="; + }; + + useDune2 = true; + + minimumOCamlVersion = "4.03"; + + propagatedBuildInputs = [ fmt eqaf ]; + + # alcotest isn't available for OCaml < 4.05 due to fmt + doCheck = lib.versionAtLeast ocaml.version "4.05"; + checkInputs = [ alcotest ]; + + meta = { + homepage = "https://github.com/oklm-wsh/Callipyge"; + description = "Curve25519 in OCaml"; + license = lib.licenses.mit; + maintainers = with lib.maintainers; [ fufexan ]; + }; +} |