ocamlPackages.hacl_x25519: init at 0.1.1
This commit is contained in:
parent
59c9713715
commit
bd30d8fca7
23
pkgs/development/ocaml-modules/hacl_x25519/default.nix
Normal file
23
pkgs/development/ocaml-modules/hacl_x25519/default.nix
Normal file
@ -0,0 +1,23 @@
|
|||||||
|
{ lib, buildDunePackage, fetchurl, benchmark, cstruct
|
||||||
|
, eqaf, hex, ppx_blob, ppx_deriving_yojson, stdlib-shims, yojson }:
|
||||||
|
|
||||||
|
buildDunePackage rec {
|
||||||
|
pname = "hacl_x25519";
|
||||||
|
version = "0.1.1";
|
||||||
|
|
||||||
|
src = fetchurl {
|
||||||
|
url = "https://github.com/mirage/hacl/releases/download/v${version}/${pname}-v${version}.tbz";
|
||||||
|
sha256 = "187khbx1myh942c2v5f7wbms2hmhmgn57ik25djhnryln32c0874";
|
||||||
|
};
|
||||||
|
|
||||||
|
propagatedBuildInputs = [ eqaf cstruct ];
|
||||||
|
checkInputs = [ benchmark hex ppx_blob ppx_deriving_yojson stdlib-shims yojson ];
|
||||||
|
doCheck = true;
|
||||||
|
|
||||||
|
meta = with lib; {
|
||||||
|
description = "Primitives for Elliptic Curve Cryptography taken from Project Everest";
|
||||||
|
homepage = "https://github.com/mirage/hacl";
|
||||||
|
license = licenses.mit;
|
||||||
|
maintainers = with maintainers; [ sternenseemann ];
|
||||||
|
};
|
||||||
|
}
|
@ -295,6 +295,8 @@ let
|
|||||||
inherit (pkgs) gnuplot;
|
inherit (pkgs) gnuplot;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
hacl_x25519 = callPackage ../development/ocaml-modules/hacl_x25519 { };
|
||||||
|
|
||||||
herelib = callPackage ../development/ocaml-modules/herelib { };
|
herelib = callPackage ../development/ocaml-modules/herelib { };
|
||||||
|
|
||||||
higlo = callPackage ../development/ocaml-modules/higlo { };
|
higlo = callPackage ../development/ocaml-modules/higlo { };
|
||||||
|
Loading…
x
Reference in New Issue
Block a user