summary refs log tree commit diff
path: root/pkgs
diff options
context:
space:
mode:
authorsuperherointj <5861043+superherointj@users.noreply.github.com>2021-06-07 15:20:56 -0300
committerVincent Laporte <vbgl@users.noreply.github.com>2021-06-18 12:44:54 +0200
commitff17ccefee433f8899aca0e6f5b310877483c33a (patch)
tree13890ec9d09dda3779feed6f047ee95e421255da /pkgs
parentd44f56f19c7142900070212795d21340d1925deb (diff)
downloadnixpkgs-ff17ccefee433f8899aca0e6f5b310877483c33a.tar
nixpkgs-ff17ccefee433f8899aca0e6f5b310877483c33a.tar.gz
nixpkgs-ff17ccefee433f8899aca0e6f5b310877483c33a.tar.bz2
nixpkgs-ff17ccefee433f8899aca0e6f5b310877483c33a.tar.lz
nixpkgs-ff17ccefee433f8899aca0e6f5b310877483c33a.tar.xz
nixpkgs-ff17ccefee433f8899aca0e6f5b310877483c33a.tar.zst
nixpkgs-ff17ccefee433f8899aca0e6f5b310877483c33a.zip
ocamlPackages.tls-async: init 0.13.2
Diffstat (limited to 'pkgs')
-rw-r--r--pkgs/development/ocaml-modules/tls/async.nix21
-rw-r--r--pkgs/top-level/ocaml-packages.nix2
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 00000000000..ceac7a7c074
--- /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 c6172887833..5a6f426b836 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 {