summary refs log tree commit diff
path: root/pkgs/development/ocaml-modules/async_unix
diff options
context:
space:
mode:
authorEric Merritt <eric@afiniate.com>2015-05-24 11:20:38 -0700
committerEric Merritt <eric@afiniate.com>2015-05-24 12:33:09 -0700
commit6fe371a695d46d4da6181384aeabbc5d2c4d9971 (patch)
tree0eb30160f5dafc8cb7809ef9a7a39b0f83ee4faa /pkgs/development/ocaml-modules/async_unix
parenta129ec1b9b30b94c28e021412c9afe8e643cc9e2 (diff)
downloadnixpkgs-6fe371a695d46d4da6181384aeabbc5d2c4d9971.tar
nixpkgs-6fe371a695d46d4da6181384aeabbc5d2c4d9971.tar.gz
nixpkgs-6fe371a695d46d4da6181384aeabbc5d2c4d9971.tar.bz2
nixpkgs-6fe371a695d46d4da6181384aeabbc5d2c4d9971.tar.lz
nixpkgs-6fe371a695d46d4da6181384aeabbc5d2c4d9971.tar.xz
nixpkgs-6fe371a695d46d4da6181384aeabbc5d2c4d9971.tar.zst
nixpkgs-6fe371a695d46d4da6181384aeabbc5d2c4d9971.zip
ocaml-async_unix: add initial version (112.24.00) to the system
Diffstat (limited to 'pkgs/development/ocaml-modules/async_unix')
-rw-r--r--pkgs/development/ocaml-modules/async_unix/default.nix27
1 files changed, 27 insertions, 0 deletions
diff --git a/pkgs/development/ocaml-modules/async_unix/default.nix b/pkgs/development/ocaml-modules/async_unix/default.nix
new file mode 100644
index 00000000000..81fbd6a9918
--- /dev/null
+++ b/pkgs/development/ocaml-modules/async_unix/default.nix
@@ -0,0 +1,27 @@
+{stdenv, buildOcaml, fetchurl, async_kernel,
+ bin_prot, comparelib, core, fieldslib, herelib, pa_ounit,
+ pipebang, pa_test, sexplib}:
+
+buildOcaml rec {
+  name = "async_unix";
+  version = "112.24.00";
+
+  minimumSupportedOcamlVersion = "4.02";
+
+  src = fetchurl {
+    url = "https://github.com/janestreet/async_unix/archive/${version}.tar.gz";
+    sha256 = "d490b1dc42f0987a131fa9695b55f215ad90cdaffbfac35b7f9f88f3834337ab";
+  };
+
+  hasSharedObjects = true;
+  buildInputs = [ pa_ounit ];
+  propagatedBuildInputs = [ async_kernel core bin_prot comparelib
+                            fieldslib herelib pipebang pa_test sexplib ];
+
+   meta = with stdenv.lib; {
+    homepage = https://github.com/janestreet/async_unix;
+    description = "Jane Street Capital's asynchronous execution library (unix)";
+    license = licenses.asl20;
+    maintainers = [ maintainers.ericbmerritt ];
+   };
+}