about summary refs log tree commit diff
path: root/pkgs/development/ocaml-modules
diff options
context:
space:
mode:
authorVincent Laporte <Vincent.Laporte@gmail.com>2018-02-02 06:39:50 +0000
committerVincent Laporte <vbgl@users.noreply.github.com>2018-02-18 11:15:28 +0100
commit7c2b2ddd683686f713807d6d0b2f62c71174afac (patch)
treeb185b89c42b05f9eb856159ae86621143e07ae3e /pkgs/development/ocaml-modules
parent3957b6b37918cf06366ef7b0aeb810405eea6a34 (diff)
downloadnixlib-7c2b2ddd683686f713807d6d0b2f62c71174afac.tar
nixlib-7c2b2ddd683686f713807d6d0b2f62c71174afac.tar.gz
nixlib-7c2b2ddd683686f713807d6d0b2f62c71174afac.tar.bz2
nixlib-7c2b2ddd683686f713807d6d0b2f62c71174afac.tar.lz
nixlib-7c2b2ddd683686f713807d6d0b2f62c71174afac.tar.xz
nixlib-7c2b2ddd683686f713807d6d0b2f62c71174afac.tar.zst
nixlib-7c2b2ddd683686f713807d6d0b2f62c71174afac.zip
ocamlPackages.lwt_ssl: init at 1.1.2
Diffstat (limited to 'pkgs/development/ocaml-modules')
-rw-r--r--pkgs/development/ocaml-modules/lwt_ssl/default.nix24
1 files changed, 24 insertions, 0 deletions
diff --git a/pkgs/development/ocaml-modules/lwt_ssl/default.nix b/pkgs/development/ocaml-modules/lwt_ssl/default.nix
new file mode 100644
index 000000000000..e53c835a2911
--- /dev/null
+++ b/pkgs/development/ocaml-modules/lwt_ssl/default.nix
@@ -0,0 +1,24 @@
+{ stdenv, fetchzip, ocaml, findlib, jbuilder, ssl, lwt }:
+
+stdenv.mkDerivation rec {
+  version = "1.1.2";
+  name = "ocaml${ocaml.version}-lwt_ssl-${version}";
+
+  src = fetchzip {
+    url = "https://github.com/aantron/lwt_ssl/archive/${version}.tar.gz";
+    sha256 = "1q0an3djqjxv83v3iswi7m81braqx93kcrcwrxwmf6jzhdm4pn15";
+  };
+
+  buildInputs = [ ocaml findlib jbuilder ];
+  propagatedBuildInputs = [ ssl lwt ];
+
+  inherit (jbuilder) installPhase;
+
+  meta = {
+    homepage = "https://github.com/aantron/lwt_ssl";
+    description = "OpenSSL binding with concurrent I/O";
+    license = stdenv.lib.licenses.lgpl21;
+    maintainers = [ stdenv.lib.maintainers.vbgl ];
+    inherit (ocaml.meta) platforms;
+  };
+}