diff options
author | superherointj <5861043+superherointj@users.noreply.github.com> | 2021-06-07 15:20:56 -0300 |
---|---|---|
committer | Vincent Laporte <vbgl@users.noreply.github.com> | 2021-06-18 12:44:54 +0200 |
commit | ff17ccefee433f8899aca0e6f5b310877483c33a (patch) | |
tree | 13890ec9d09dda3779feed6f047ee95e421255da | |
parent | d44f56f19c7142900070212795d21340d1925deb (diff) |
ocamlPackages.tls-async: init 0.13.2
-rw-r--r-- | pkgs/development/ocaml-modules/tls/async.nix | 21 | ||||
-rw-r--r-- | pkgs/top-level/ocaml-packages.nix | 2 |
2 files changed, 23 insertions, 0 deletions
diff --git a/pkgs/development/ocaml-modules/tls/async.nix b/pkgs/development/ocaml-modules/tls/async.nix new file mode 100644 index 0000000000000..ceac7a7c07495 --- /dev/null +++ b/pkgs/development/ocaml-modules/tls/async.nix @@ -0,0 +1,21 @@ +{ lib, buildDunePackage, tls, async, cstruct-async, core, cstruct, mirage-crypto-rng-async }: + +buildDunePackage rec { + pname = "tls-async"; + + inherit (tls) src meta version; + + minimumOCamlVersion = "4.08"; + useDune2 = true; + + doCheck = true; + + propagatedBuildInputs = [ + async + core + cstruct + cstruct-async + mirage-crypto-rng-async + tls + ]; +} diff --git a/pkgs/top-level/ocaml-packages.nix b/pkgs/top-level/ocaml-packages.nix index c6172887833b3..5a6f426b83618 100644 --- a/pkgs/top-level/ocaml-packages.nix +++ b/pkgs/top-level/ocaml-packages.nix @@ -1034,6 +1034,8 @@ let tls = callPackage ../development/ocaml-modules/tls { }; + tls-async = callPackage ../development/ocaml-modules/tls/async.nix { }; + tls-mirage = callPackage ../development/ocaml-modules/tls/mirage.nix { }; torch = callPackage ../development/ocaml-modules/torch { |