ocamlPackages.hacl_x25519: init at 0.1.1

authored by

sternenseemann and committed by
Vincent Laporte
bd30d8fc 59c97137

+25
+23
pkgs/development/ocaml-modules/hacl_x25519/default.nix
··· 1 + { lib, buildDunePackage, fetchurl, benchmark, cstruct 2 + , eqaf, hex, ppx_blob, ppx_deriving_yojson, stdlib-shims, yojson }: 3 + 4 + buildDunePackage rec { 5 + pname = "hacl_x25519"; 6 + version = "0.1.1"; 7 + 8 + src = fetchurl { 9 + url = "https://github.com/mirage/hacl/releases/download/v${version}/${pname}-v${version}.tbz"; 10 + sha256 = "187khbx1myh942c2v5f7wbms2hmhmgn57ik25djhnryln32c0874"; 11 + }; 12 + 13 + propagatedBuildInputs = [ eqaf cstruct ]; 14 + checkInputs = [ benchmark hex ppx_blob ppx_deriving_yojson stdlib-shims yojson ]; 15 + doCheck = true; 16 + 17 + meta = with lib; { 18 + description = "Primitives for Elliptic Curve Cryptography taken from Project Everest"; 19 + homepage = "https://github.com/mirage/hacl"; 20 + license = licenses.mit; 21 + maintainers = with maintainers; [ sternenseemann ]; 22 + }; 23 + }
+2
pkgs/top-level/ocaml-packages.nix
··· 295 295 inherit (pkgs) gnuplot; 296 296 }; 297 297 298 + hacl_x25519 = callPackage ../development/ocaml-modules/hacl_x25519 { }; 299 + 298 300 herelib = callPackage ../development/ocaml-modules/herelib { }; 299 301 300 302 higlo = callPackage ../development/ocaml-modules/higlo { };