about summary refs log tree commit diff
diff options
context:
space:
mode:
authorEric Merritt <eric@afiniate.com>2015-05-24 11:21:51 -0700
committerEric Merritt <eric@afiniate.com>2015-05-24 12:33:14 -0700
commit09c6cc19f2a906968546d54f7dd0feed06b95b63 (patch)
tree2a6c283c4d28a0ed22c35bf1f329158344d11589
parentfbba3c1c33aca5d2e5161e69b9d8eefce49d9a6a (diff)
downloadnixlib-09c6cc19f2a906968546d54f7dd0feed06b95b63.tar
nixlib-09c6cc19f2a906968546d54f7dd0feed06b95b63.tar.gz
nixlib-09c6cc19f2a906968546d54f7dd0feed06b95b63.tar.bz2
nixlib-09c6cc19f2a906968546d54f7dd0feed06b95b63.tar.lz
nixlib-09c6cc19f2a906968546d54f7dd0feed06b95b63.tar.xz
nixlib-09c6cc19f2a906968546d54f7dd0feed06b95b63.tar.zst
nixlib-09c6cc19f2a906968546d54f7dd0feed06b95b63.zip
ocaml-async_ssl: add initial version (112.24.03) to the system
-rw-r--r--pkgs/development/ocaml-modules/async_ssl/default.nix25
-rw-r--r--pkgs/top-level/all-packages.nix2
2 files changed, 27 insertions, 0 deletions
diff --git a/pkgs/development/ocaml-modules/async_ssl/default.nix b/pkgs/development/ocaml-modules/async_ssl/default.nix
new file mode 100644
index 000000000000..527d56ceaa01
--- /dev/null
+++ b/pkgs/development/ocaml-modules/async_ssl/default.nix
@@ -0,0 +1,25 @@
+{stdenv, buildOcaml, fetchurl, async, comparelib, core, ctypes, openssl,
+ fieldslib, herelib, pa_bench, pa_ounit, pipebang, pa_test, sexplib}:
+
+buildOcaml rec {
+  name = "async_ssl";
+  version = "112.24.03";
+
+  minimumSupportedOcamlVersion = "4.02";
+
+  src = fetchurl {
+    url = "https://github.com/janestreet/async_ssl/archive/${version}.tar.gz";
+    sha256 = "1b0bea92142eef11da6bf649bbe229bd4b8d9cc807303d8142406908c0d28c68";
+  };
+
+  buildInputs = [ pa_bench pa_test ];
+  propagatedBuildInputs = [ ctypes async comparelib core fieldslib pa_ounit
+                            herelib pipebang sexplib openssl ];
+
+  meta = with stdenv.lib; {
+    homepage = https://github.com/janestreet/async_ssl;
+    description = "Async wrappers for ssl";
+    license = licenses.asl20;
+    maintainers = [ maintainers.ericbmerritt ];
+  };
+}
diff --git a/pkgs/top-level/all-packages.nix b/pkgs/top-level/all-packages.nix
index acc7ccbee333..3593285c1b5a 100644
--- a/pkgs/top-level/all-packages.nix
+++ b/pkgs/top-level/all-packages.nix
@@ -4051,6 +4051,8 @@ let
 
     async_kernel = callPackage ../development/ocaml-modules/async_kernel { };
 
+    async_ssl = callPackage ../development/ocaml-modules/async_ssl { };
+
     async_unix = callPackage ../development/ocaml-modules/async_unix { };
 
     async = callPackage ../development/ocaml-modules/async { };