diff options
author | sternenseemann <git@lukasepple.de> | 2020-05-12 18:12:31 +0200 |
---|---|---|
committer | Vincent Laporte <vbgl@users.noreply.github.com> | 2020-05-12 22:34:30 +0200 |
commit | bd30d8fca76e8e3e59e5342eb9c14aa3015ca36f (patch) | |
tree | a0348c8ea6211aab1e8b0b815b93603235a489df /pkgs/development/ocaml-modules/hacl_x25519 | |
parent | 59c9713715645c016d5d733b9c0d0714e35326fa (diff) | |
download | nixpkgs-bd30d8fca76e8e3e59e5342eb9c14aa3015ca36f.tar nixpkgs-bd30d8fca76e8e3e59e5342eb9c14aa3015ca36f.tar.gz nixpkgs-bd30d8fca76e8e3e59e5342eb9c14aa3015ca36f.tar.bz2 nixpkgs-bd30d8fca76e8e3e59e5342eb9c14aa3015ca36f.tar.lz nixpkgs-bd30d8fca76e8e3e59e5342eb9c14aa3015ca36f.tar.xz nixpkgs-bd30d8fca76e8e3e59e5342eb9c14aa3015ca36f.tar.zst nixpkgs-bd30d8fca76e8e3e59e5342eb9c14aa3015ca36f.zip |
ocamlPackages.hacl_x25519: init at 0.1.1
Diffstat (limited to 'pkgs/development/ocaml-modules/hacl_x25519')
-rw-r--r-- | pkgs/development/ocaml-modules/hacl_x25519/default.nix | 23 |
1 files changed, 23 insertions, 0 deletions
diff --git a/pkgs/development/ocaml-modules/hacl_x25519/default.nix b/pkgs/development/ocaml-modules/hacl_x25519/default.nix new file mode 100644 index 00000000000..a741f5b6681 --- /dev/null +++ b/pkgs/development/ocaml-modules/hacl_x25519/default.nix @@ -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 ]; + }; +} |