git.iko.soy/typeable/nixpkgs
on master help sign in
Merge pull request #18572 from maurer/janestreet

Janestreet

commitaa9227828bd24526023303de36e4a03cb98d58a2 authorJoachim F <joachifm@users.noreply.github.com> dateFri 23 Sep 2016, 19:57 (10 years ago) parentac8206e65fb52f
63 files changed+940−80
pkgs/development/ocaml-modules/async/default.nix+3−3 pkgs/development/ocaml-modules/async_extra/default.nix+5−5 pkgs/development/ocaml-modules/async_find/default.nix+2−2 pkgs/development/ocaml-modules/async_kernel/default.nix+4−4 pkgs/development/ocaml-modules/async_shell/default.nix+2−2 pkgs/development/ocaml-modules/async_ssl/default.nix+4−4 pkgs/development/ocaml-modules/async_unix/default.nix+5−5 pkgs/development/ocaml-modules/cohttp/default.nix+2−2 pkgs/development/ocaml-modules/conduit/default.nix+2−2 pkgs/development/ocaml-modules/core/default.nix+6−6 pkgs/development/ocaml-modules/core_extended/default.nix+4−4 pkgs/development/ocaml-modules/core_kernel/default.nix+6−6 pkgs/development/ocaml-modules/cstruct/default.nix+4−4 pkgs/development/ocaml-modules/custom_printf/default.nix+2−2 pkgs/development/ocaml-modules/ezjsonm/default.nix+2−2 pkgs/development/ocaml-modules/ipaddr/default.nix+2−2 pkgs/development/ocaml-modules/janestreet/async-extra.nix+17 pkgs/development/ocaml-modules/janestreet/async-kernel.nix+16 pkgs/development/ocaml-modules/janestreet/async-rpc-kernel.nix+18 pkgs/development/ocaml-modules/janestreet/async-unix.nix+17 pkgs/development/ocaml-modules/janestreet/async.nix+16 pkgs/development/ocaml-modules/janestreet/bin_prot.nix+17 pkgs/development/ocaml-modules/janestreet/buildOcamlJane.nix+35 pkgs/development/ocaml-modules/janestreet/core-extended.nix+22 pkgs/development/ocaml-modules/janestreet/core.nix+20 pkgs/development/ocaml-modules/janestreet/core_kernel.nix+19 pkgs/development/ocaml-modules/janestreet/fieldslib.nix+19 pkgs/development/ocaml-modules/janestreet/js-build-tools-darwin.patch+11 pkgs/development/ocaml-modules/janestreet/js-build-tools.nix+29 pkgs/development/ocaml-modules/janestreet/ppx-assert.nix+16 pkgs/development/ocaml-modules/janestreet/ppx-bench.nix+18 pkgs/development/ocaml-modules/janestreet/ppx-bin-prot.nix+14 pkgs/development/ocaml-modules/janestreet/ppx-compare.nix+15 pkgs/development/ocaml-modules/janestreet/ppx-core.nix+14 pkgs/development/ocaml-modules/janestreet/ppx-custom-printf.nix+15 pkgs/development/ocaml-modules/janestreet/ppx-driver.nix+15 pkgs/development/ocaml-modules/janestreet/ppx-enumerate.nix+14 pkgs/development/ocaml-modules/janestreet/ppx-expect.nix+19 pkgs/development/ocaml-modules/janestreet/ppx-fail.nix+14 pkgs/development/ocaml-modules/janestreet/ppx-fields-conv.nix+14 pkgs/development/ocaml-modules/janestreet/ppx-here.nix+14 pkgs/development/ocaml-modules/janestreet/ppx-inline-test.nix+14 pkgs/development/ocaml-modules/janestreet/ppx-jane.nix+22 pkgs/development/ocaml-modules/janestreet/ppx-let.nix+14 pkgs/development/ocaml-modules/janestreet/ppx-optcomp.nix+15 pkgs/development/ocaml-modules/janestreet/ppx-pipebang.nix+14 pkgs/development/ocaml-modules/janestreet/ppx-sexp-conv.nix+14 pkgs/development/ocaml-modules/janestreet/ppx-sexp-message.nix+14 pkgs/development/ocaml-modules/janestreet/ppx-sexp-value.nix+14 pkgs/development/ocaml-modules/janestreet/ppx-type-conv.nix+15 pkgs/development/ocaml-modules/janestreet/ppx-typerep-conv.nix+14 pkgs/development/ocaml-modules/janestreet/ppx-variants-conv.nix+14 pkgs/development/ocaml-modules/janestreet/re2.nix+20 pkgs/development/ocaml-modules/janestreet/sexplib.nix+18 pkgs/development/ocaml-modules/janestreet/textutils.nix+18 pkgs/development/ocaml-modules/janestreet/typerep.nix+20 pkgs/development/ocaml-modules/janestreet/variantslib.nix+19 pkgs/development/ocaml-modules/pa_test/default.nix+2−2 pkgs/development/ocaml-modules/ppx_deriving/default.nix+28 pkgs/development/ocaml-modules/re2/default.nix+3−3 pkgs/development/ocaml-modules/textutils/default.nix+2−2 pkgs/development/ocaml-modules/uri/default.nix+2−2 pkgs/top-level/all-packages.nix+151−16
pkgs/development/ocaml-modules/async/default.nix+3−3
@@ -1,5 +1,5 @@
1−{stdenv, buildOcaml, fetchurl, async_kernel,
2− async_unix, async_extra, pa_ounit}:
1+{stdenv, buildOcaml, fetchurl, async_kernel_p4,
2+ async_unix_p4, async_extra_p4, pa_ounit}:
33
44buildOcaml rec {
55 name = "async";
@@ -12,7 +12,7 @@ buildOcaml rec {
1212 sha256 = "ecc4ca939ab098e689332921b110dbaacd06d9f8d8bf697023dfff3ca37dc1e9";
1313 };
1414
15− propagatedBuildInputs = [ async_kernel async_unix async_extra pa_ounit ];
15+ propagatedBuildInputs = [ async_kernel_p4 async_unix_p4 async_extra_p4 pa_ounit ];
1616
1717 meta = with stdenv.lib; {
1818 homepage = https://github.com/janestreet/async;
pkgs/development/ocaml-modules/async_extra/default.nix+5−5
@@ -1,6 +1,6 @@
1−{stdenv, buildOcaml, fetchurl, async_kernel, async_unix,
2− bin_prot, core, custom_printf, fieldslib, herelib, pa_ounit,
3− pipebang, pa_test, sexplib}:
1+{stdenv, buildOcaml, fetchurl, async_kernel_p4, async_unix_p4,
2+ bin_prot_p4, core_p4, custom_printf, fieldslib_p4, herelib, pa_ounit,
3+ pipebang, pa_test, sexplib_p4}:
44
55buildOcaml rec {
66 name = "async_extra";
@@ -14,8 +14,8 @@ buildOcaml rec {
1414 };
1515
1616 buildInputs = [ pa_test pa_ounit ];
17− propagatedBuildInputs = [ async_kernel async_unix core bin_prot custom_printf
18− fieldslib herelib pipebang sexplib ];
17+ propagatedBuildInputs = [ async_kernel_p4 async_unix_p4 core_p4 bin_prot_p4 custom_printf
18+ fieldslib_p4 herelib pipebang sexplib_p4 ];
1919
2020 meta = with stdenv.lib; {
2121 homepage = https://github.com/janestreet/async_extra;
pkgs/development/ocaml-modules/async_find/default.nix+2−2
@@ -1,4 +1,4 @@
1−{stdenv, buildOcaml, fetchurl, async, core, sexplib}:
1+{stdenv, buildOcaml, fetchurl, async_p4, core_p4, sexplib_p4}:
22
33buildOcaml rec {
44 name = "async_find";
@@ -11,7 +11,7 @@ buildOcaml rec {
1111 sha256 = "4e3fda72f50174f05d96a5a09323f236c041b1a685890c155822956f3deb8803";
1212 };
1313
14− propagatedBuildInputs = [ async core sexplib ];
14+ propagatedBuildInputs = [ async_p4 core_p4 sexplib_p4 ];
1515
1616 meta = with stdenv.lib; {
1717 homepage = https://github.com/janestreet/async_find;
pkgs/development/ocaml-modules/async_kernel/default.nix+4−4
@@ -1,6 +1,6 @@
1−{stdenv, buildOcaml, fetchurl, core_kernel,
2− bin_prot, fieldslib, pa_ounit, pa_test,
3− sexplib, herelib}:
1+{stdenv, buildOcaml, fetchurl, core_kernel_p4,
2+ bin_prot_p4, fieldslib_p4, pa_ounit, pa_test,
3+ sexplib_p4, herelib}:
44
55buildOcaml rec {
66 name = "async_kernel";
@@ -14,7 +14,7 @@ buildOcaml rec {
1414 };
1515
1616 buildInputs = [ pa_test pa_ounit ];
17− propagatedBuildInputs = [ core_kernel bin_prot fieldslib herelib sexplib ];
17+ propagatedBuildInputs = [ core_kernel_p4 bin_prot_p4 fieldslib_p4 herelib sexplib_p4 ];
1818
1919 meta = with stdenv.lib; {
2020 homepage = https://github.com/janestreet/async_kernel;
pkgs/development/ocaml-modules/async_shell/default.nix+2−2
@@ -1,4 +1,4 @@
1−{stdenv, buildOcaml, fetchurl, async, core, core_extended}:
1+{stdenv, buildOcaml, fetchurl, async_p4, core_p4, core_extended_p4}:
22
33buildOcaml rec {
44 name = "async_shell";
@@ -11,7 +11,7 @@ buildOcaml rec {
1111 sha256 = "0b4497bea9124c5a665ee58fb0a73c5cbf2f757479df902e6870627196e6c105";
1212 };
1313
14− propagatedBuildInputs = [ async core core_extended ];
14+ propagatedBuildInputs = [ async_p4 core_p4 core_extended_p4 ];
1515
1616 meta = with stdenv.lib; {
1717 homepage = https://github.com/janestreet/async_shell;
pkgs/development/ocaml-modules/async_ssl/default.nix+4−4
@@ -1,5 +1,5 @@
1−{stdenv, buildOcaml, fetchurl, async, comparelib, core, ctypes, openssl,
2− fieldslib, herelib, pa_bench, pa_ounit, pipebang, pa_test, sexplib}:
1+{stdenv, buildOcaml, fetchurl, async_p4, comparelib, core_p4, ctypes, openssl,
2+ fieldslib_p4, herelib, pa_bench, pa_ounit, pipebang, pa_test, sexplib_p4}:
33
44buildOcaml rec {
55 name = "async_ssl";
@@ -13,8 +13,8 @@ buildOcaml rec {
1313 };
1414
1515 buildInputs = [ pa_bench pa_test ];
16− propagatedBuildInputs = [ ctypes async comparelib core fieldslib pa_ounit
17− herelib pipebang sexplib openssl ];
16+ propagatedBuildInputs = [ ctypes async_p4 comparelib core_p4 fieldslib_p4 pa_ounit
17+ herelib pipebang sexplib_p4 openssl ];
1818
1919 meta = with stdenv.lib; {
2020 homepage = https://github.com/janestreet/async_ssl;
pkgs/development/ocaml-modules/async_unix/default.nix+5−5
@@ -1,6 +1,6 @@
1−{stdenv, buildOcaml, fetchurl, async_kernel,
2− bin_prot, comparelib, core, fieldslib, herelib, pa_ounit,
3− pipebang, pa_test, sexplib}:
1+{stdenv, buildOcaml, fetchurl, async_kernel_p4,
2+ bin_prot_p4, comparelib, core_p4, fieldslib_p4, herelib, pa_ounit,
3+ pipebang, pa_test, sexplib_p4}:
44
55buildOcaml rec {
66 name = "async_unix";
@@ -15,8 +15,8 @@ buildOcaml rec {
1515
1616 hasSharedObjects = true;
1717 buildInputs = [ pa_ounit ];
18− propagatedBuildInputs = [ async_kernel core bin_prot comparelib
19− fieldslib herelib pipebang pa_test sexplib ];
18+ propagatedBuildInputs = [ async_kernel_p4 core_p4 bin_prot_p4 comparelib
19+ fieldslib_p4 herelib pipebang pa_test sexplib_p4 ];
2020
2121 meta = with stdenv.lib; {
2222 homepage = https://github.com/janestreet/async_unix;
pkgs/development/ocaml-modules/cohttp/default.nix+2−2
@@ -1,4 +1,4 @@
1−{stdenv, buildOcaml, fetchurl, cmdliner, re, uri, fieldslib, sexplib, conduit,
1+{stdenv, buildOcaml, fetchurl, cmdliner, re, uri, fieldslib_p4, sexplib_p4, conduit,
22 stringext, base64, magic-mime, ounit, alcotest, lwt ? null,
33 async ? null, async_ssl ? null}:
44
@@ -14,7 +14,7 @@ buildOcaml rec {
1414 };
1515
1616 buildInputs = [ alcotest ];
17− propagatedBuildInputs = [ cmdliner re uri fieldslib sexplib sexplib
17+ propagatedBuildInputs = [ cmdliner re uri fieldslib_p4 sexplib_p4 sexplib_p4
1818 conduit stringext base64 magic-mime ounit async
1919 async_ssl lwt ];
2020
pkgs/development/ocaml-modules/conduit/default.nix+2−2
@@ -1,4 +1,4 @@
1−{stdenv, buildOcaml, fetchurl, sexplib, stringext, uri, cstruct, ipaddr,
1+{stdenv, buildOcaml, fetchurl, sexplib_p4, stringext, uri, cstruct, ipaddr,
22 async ? null, async_ssl ? null, lwt ? null}:
33
44buildOcaml rec {
@@ -10,7 +10,7 @@ buildOcaml rec {
1010 sha256 = "5cf1a46aa0254345e5143feebe6b54bdef96314e9987f44e69f24618d620faa1";
1111 };
1212
13− propagatedBuildInputs = ([ sexplib stringext uri cstruct ipaddr ]
13+ propagatedBuildInputs = ([ sexplib_p4 stringext uri cstruct ipaddr ]
1414 ++ stdenv.lib.optional (lwt != null) lwt
1515 ++ stdenv.lib.optional (async != null) async
1616 ++ stdenv.lib.optional (async_ssl != null) async_ssl);
pkgs/development/ocaml-modules/core/default.nix+6−6
@@ -1,7 +1,7 @@
11{stdenv, buildOcaml, fetchurl, type_conv,
2− core_kernel, bin_prot, comparelib, custom_printf, enumerate,
3− fieldslib, herelib, pa_bench, pa_test, pa_ounit,
4− pipebang, sexplib, typerep, variantslib}:
2+ core_kernel_p4, bin_prot_p4, comparelib, custom_printf, enumerate,
3+ fieldslib_p4, herelib, pa_bench, pa_test, pa_ounit,
4+ pipebang, sexplib_p4, typerep_p4, variantslib_p4}:
55
66buildOcaml rec {
77 name = "core";
@@ -17,9 +17,9 @@ buildOcaml rec {
1717 hasSharedObjects = true;
1818
1919 buildInputs = [ pa_bench pa_test pa_ounit ];
20− propagatedBuildInputs = [ type_conv core_kernel bin_prot comparelib
21− custom_printf enumerate fieldslib herelib
22− pipebang sexplib typerep variantslib ];
20+ propagatedBuildInputs = [ type_conv core_kernel_p4 bin_prot_p4 comparelib
21+ custom_printf enumerate fieldslib_p4 herelib
22+ pipebang sexplib_p4 typerep_p4 variantslib_p4 ];
2323
2424 meta = with stdenv.lib; {
2525 homepage = https://github.com/janestreet/core;
pkgs/development/ocaml-modules/core_extended/default.nix+4−4
@@ -1,5 +1,5 @@
1−{stdenv, buildOcaml, fetchurl, bin_prot, comparelib, core, custom_printf,
2− fieldslib, pa_bench, pa_ounit, pipebang, pa_test, textutils, re2, sexplib}:
1+{stdenv, buildOcaml, fetchurl, bin_prot_p4, comparelib, core_p4, custom_printf,
2+ fieldslib_p4, pa_bench, pa_ounit, pipebang, pa_test, textutils_p4, re2_p4, sexplib_p4}:
33
44buildOcaml rec {
55 name = "core_extended";
@@ -14,8 +14,8 @@ buildOcaml rec {
1414
1515 hasSharedObjects = true;
1616 buildInputs = [ pa_bench pa_test pa_ounit ];
17− propagatedBuildInputs = [bin_prot comparelib core custom_printf fieldslib
18− pipebang textutils re2 sexplib ];
17+ propagatedBuildInputs = [bin_prot_p4 comparelib core_p4 custom_printf fieldslib_p4
18+ pipebang textutils_p4 re2_p4 sexplib_p4 ];
1919
2020 meta = with stdenv.lib; {
2121 homepage = https://github.com/janestreet/core_extended;
pkgs/development/ocaml-modules/core_kernel/default.nix+6−6
@@ -1,7 +1,7 @@
11{stdenv, buildOcaml, fetchurl, type_conv,
2− bin_prot, comparelib, custom_printf, enumerate,
3− fieldslib, herelib, pa_bench, pa_test, pa_ounit,
4− pipebang, sexplib, typerep, variantslib}:
2+ bin_prot_p4, comparelib, custom_printf, enumerate,
3+ fieldslib_p4, herelib, pa_bench, pa_test, pa_ounit,
4+ pipebang, sexplib_p4, typerep_p4, variantslib_p4}:
55
66buildOcaml rec {
77 name = "core_kernel";
@@ -17,9 +17,9 @@ buildOcaml rec {
1717 hasSharedObjects = true;
1818
1919 buildInputs = [ pa_test pa_ounit ];
20− propagatedBuildInputs = [ type_conv pa_bench bin_prot comparelib custom_printf
21− enumerate fieldslib herelib pipebang sexplib
22− typerep variantslib ];
20+ propagatedBuildInputs = [ type_conv pa_bench bin_prot_p4 comparelib custom_printf
21+ enumerate fieldslib_p4 herelib pipebang sexplib_p4
22+ typerep_p4 variantslib_p4 ];
2323
2424 meta = with stdenv.lib; {
2525 homepage = https://github.com/janestreet/core_kernel;
pkgs/development/ocaml-modules/cstruct/default.nix+4−4
@@ -1,5 +1,5 @@
1−{stdenv, writeText, fetchurl, ocaml, ocplib-endian, sexplib, findlib,
2− async ? null, lwt ? null, camlp4}:
1+{stdenv, writeText, fetchurl, ocaml, ocplib-endian, sexplib_p4, findlib,
2+ async_p4 ? null, lwt ? null, camlp4}:
33
44assert stdenv.lib.versionAtLeast (stdenv.lib.getVersion ocaml) "4.01";
55
@@ -12,9 +12,9 @@ stdenv.mkDerivation {
1212 };
1313
1414 configureFlags = stdenv.lib.strings.concatStringsSep " " ((if lwt != null then ["--enable-lwt"] else []) ++
15− (if async != null then ["--enable-async"] else []));
15+ (if async_p4 != null then ["--enable-async"] else []));
1616 buildInputs = [ocaml findlib camlp4];
17− propagatedBuildInputs = [ocplib-endian sexplib lwt async];
17+ propagatedBuildInputs = [ocplib-endian sexplib_p4 lwt async_p4];
1818
1919 createFindlibDestdir = true;
2020 dontStrip = true;
pkgs/development/ocaml-modules/custom_printf/default.nix+2−2
@@ -1,4 +1,4 @@
1−{stdenv, buildOcaml, fetchurl, type_conv, sexplib, pa_ounit}:
1+{stdenv, buildOcaml, fetchurl, type_conv, sexplib_p4, pa_ounit}:
22
33buildOcaml rec {
44 name = "custom_printf";
@@ -12,7 +12,7 @@ buildOcaml rec {
1212 };
1313
1414 buildInputs = [ pa_ounit ];
15− propagatedBuildInputs = [ type_conv sexplib ];
15+ propagatedBuildInputs = [ type_conv sexplib_p4 ];
1616
1717 meta = with stdenv.lib; {
1818 homepage = https://github.com/janestreet/custom_printf;
pkgs/development/ocaml-modules/ezjsonm/default.nix+2−2
@@ -1,4 +1,4 @@
1−{ stdenv, fetchzip, ocaml, findlib, jsonm, hex, sexplib, lwt }:
1+{ stdenv, fetchzip, ocaml, findlib, jsonm, hex, sexplib_p4, lwt }:
22
33let version = "0.4.1"; in
44
@@ -11,7 +11,7 @@ stdenv.mkDerivation {
1111 };
1212
1313 buildInputs = [ ocaml findlib ];
14− propagatedBuildInputs = [ jsonm hex sexplib lwt ];
14+ propagatedBuildInputs = [ jsonm hex sexplib_p4 lwt ];
1515 createFindlibDestdir = true;
1616
1717 configureFlags = "--enable-lwt";
pkgs/development/ocaml-modules/ipaddr/default.nix+2−2
@@ -1,4 +1,4 @@
1−{stdenv, buildOcaml, fetchurl, sexplib}:
1+{stdenv, buildOcaml, fetchurl, sexplib_p4}:
22
33buildOcaml rec {
44 name = "ipaddr";
@@ -9,7 +9,7 @@ buildOcaml rec {
99 sha256 = "7051013d8f58abff433187d70cd7ddd7a6b49a6fbe6cad1893f571f65b8ed3d0";
1010 };
1111
12− propagatedBuildInputs = [ sexplib ];
12+ propagatedBuildInputs = [ sexplib_p4 ];
1313
1414 configurePhase = ''
1515 ocaml setup.ml -configure --prefix $out
pkgs/development/ocaml-modules/janestreet/async-extra.nixnew file+17
@@ -0,0 +1,17 @@
1+{stdenv, buildOcamlJane, fetchurl, async_kernel, async_unix,
2+ bin_prot, core, ppx_custom_printf, fieldslib, herelib,
3+ pipebang, sexplib, async_rpc_kernel}:
4+
5+buildOcamlJane rec {
6+ name = "async_extra";
7+ hash = "1xdwab19fycr4cdm3dh9vmx42f8lvf9s4f9pjgdydxfrm7yzyrfh";
8+ propagatedBuildInputs = [ async_kernel async_unix core bin_prot ppx_custom_printf
9+ fieldslib herelib pipebang sexplib async_rpc_kernel ];
10+
11+ meta = with stdenv.lib; {
12+ homepage = https://github.com/janestreet/async_extra;
13+ description = "Jane Street Capital's asynchronous execution library (extra)";
14+ license = licenses.asl20;
15+ maintainers = [ maintainers.maurer maintainers.ericbmerritt ];
16+ };
17+}
pkgs/development/ocaml-modules/janestreet/async-kernel.nixnew file+16
@@ -0,0 +1,16 @@
1+{stdenv, buildOcamlJane, fetchurl, core_kernel,
2+ bin_prot, fieldslib,
3+ sexplib, herelib, opam, js_build_tools, ocaml_oasis}:
4+
5+buildOcamlJane rec {
6+ name = "async_kernel";
7+ hash = "1n6ifbrq6q6hq8bxh6b9vhg11mv9r6jgp1b7vfw7mh5s2nrd4b60";
8+ propagatedBuildInputs = [ core_kernel bin_prot fieldslib herelib sexplib ];
9+
10+ meta = with stdenv.lib; {
11+ homepage = https://github.com/janestreet/async_kernel;
12+ description = "Jane Street Capital's asynchronous execution library (core) ";
13+ license = licenses.asl20;
14+ maintainers = [ maintainers.maurer maintainers.ericbmerritt ];
15+ };
16+}
pkgs/development/ocaml-modules/janestreet/async-rpc-kernel.nixnew file+18
@@ -0,0 +1,18 @@
1+{stdenv, buildOcamlJane, async_kernel, bin_prot, core_kernel,
2+ fieldslib, ppx_assert, ppx_bench, ppx_driver, ppx_expect, ppx_inline_test,
3+ ppx_jane, sexplib, typerep, variantslib}:
4+
5+buildOcamlJane rec {
6+ name = "async_rpc_kernel";
7+ hash = "0pvys7giqix1nfidw1f4i3r94cf03ba1mvhadpm2zpdir3av91sw";
8+ propagatedBuildInputs = [ async_kernel bin_prot core_kernel fieldslib
9+ ppx_assert ppx_bench ppx_driver ppx_expect ppx_inline_test ppx_jane
10+ sexplib typerep variantslib ];
11+
12+ meta = with stdenv.lib; {
13+ homepage = https://github.com/janestreet/async_rpc_kernel;
14+ description = "Platform-independent core of Async RPC library";
15+ license = licenses.asl20;
16+ maintainers = [ maintainers.maurer ];
17+ };
18+}
pkgs/development/ocaml-modules/janestreet/async-unix.nixnew file+17
@@ -0,0 +1,17 @@
1+{stdenv, buildOcamlJane, fetchurl, async_kernel,
2+ bin_prot, comparelib, core, fieldslib, herelib,
3+ pipebang, sexplib}:
4+
5+buildOcamlJane rec {
6+ name = "async_unix";
7+ hash = "03ng7f0s22wwzspakiqj442vs1a7yf834109jcj9r3g1awwfhcy7";
8+ propagatedBuildInputs = [ async_kernel core bin_prot comparelib
9+ fieldslib herelib pipebang sexplib ];
10+
11+ meta = with stdenv.lib; {
12+ homepage = https://github.com/janestreet/async_unix;
13+ description = "Jane Street Capital's asynchronous execution library (unix)";
14+ license = licenses.asl20;
15+ maintainers = [ maintainers.maurer maintainers.ericbmerritt ];
16+ };
17+}
pkgs/development/ocaml-modules/janestreet/async.nixnew file+16
@@ -0,0 +1,16 @@
1+{stdenv, buildOcamlJane, fetchurl, async_kernel,
2+ async_unix, async_extra}:
3+
4+buildOcamlJane rec {
5+ name = "async";
6+ version = "113.33.03";
7+ hash = "0wyspkp8k833fh03r3h016nbfn6kjfhvb2bg42cly6agcak59fmr";
8+ propagatedBuildInputs = [ async_kernel async_unix async_extra ];
9+
10+ meta = with stdenv.lib; {
11+ homepage = https://github.com/janestreet/async;
12+ description = "Jane Street Capital's asynchronous execution library";
13+ license = licenses.asl20;
14+ maintainers = [ maintainers.maurer maintainers.ericbmerritt ];
15+ };
16+}
pkgs/development/ocaml-modules/janestreet/bin_prot.nixnew file+17
@@ -0,0 +1,17 @@
1+{stdenv, buildOcamlJane, type_conv}:
2+
3+buildOcamlJane rec {
4+ name = "bin_prot";
5+ version = "113.33.03";
6+ minimumSupportedOcamlVersion = "4.02";
7+ hash = "0jlarpfby755j0kikz6vnl1l6q0ga09b9zrlw6i84r22zchnqdsh";
8+
9+ propagatedBuildInputs = [ type_conv ];
10+
11+ meta = with stdenv.lib; {
12+ homepage = https://github.com/janestreet/bin_prot;
13+ description = "Binary protocol generator ";
14+ license = licenses.asl20;
15+ maintainers = [ maintainers.maurer maintainers.ericbmerritt ];
16+ };
17+}
pkgs/development/ocaml-modules/janestreet/buildOcamlJane.nixnew file+35
@@ -0,0 +1,35 @@
1+{ buildOcaml, opam, js_build_tools, ocaml_oasis, fetchurl } :
2+
3+{ name, version ? "113.33.03", buildInputs ? [],
4+ hash ? "",
5+ minimumSupportedOcamlVersion ? "4.02", ...
6+}@args:
7+
8+buildOcaml (args // {
9+ inherit name version minimumSupportedOcamlVersion;
10+ src = fetchurl {
11+ url = "https://github.com/janestreet/${name}/archive/${version}.tar.gz";
12+ sha256 = hash;
13+ };
14+
15+ hasSharedObjects = true;
16+
17+ buildInputs = [ ocaml_oasis js_build_tools opam ] ++ buildInputs;
18+
19+ dontAddPrefix = true;
20+
21+ configurePhase = "./configure --prefix $out";
22+
23+ buildPhase = "OCAML_TOPLEVEL_PATH=`ocamlfind query findlib`/.. make";
24+
25+ installPhase = ''
26+ opam-installer -i --prefix $prefix --libdir `ocamlfind printconf destdir` --stubsdir `ocamlfind printconf destdir`/${name} ${name}.install
27+ if [ -d $out/lib/${name} ]
28+ then if [ "$(ls -A $out/lib/${name})" ]
29+ then mv $out/lib/${name}/* `ocamlfind printconf destdir`/${name}
30+ fi
31+ rmdir $out/lib/${name}
32+ fi
33+ '';
34+
35+})
pkgs/development/ocaml-modules/janestreet/core-extended.nixnew file+22
@@ -0,0 +1,22 @@
1+{stdenv, buildOcamlJane, fetchurl,
2+ core,
3+ bin_prot, fieldslib, sexplib, typerep, variantslib,
4+ ppx_assert, ppx_bench, ppx_driver, ppx_expect, ppx_inline_test, ppx_jane,
5+ re2, textutils,
6+ ocaml_oasis, opam, js_build_tools}:
7+
8+buildOcamlJane rec {
9+ name = "core_extended";
10+ hash = "1j4ipcn741j8w3h4gpv5sygjzg6b5g6gc2jcrr4n0jyn5dq8b0p5";
11+ propagatedBuildInputs =
12+ [ core bin_prot fieldslib sexplib typerep variantslib
13+ ppx_assert ppx_bench ppx_driver ppx_expect ppx_inline_test ppx_jane
14+ re2 textutils ];
15+
16+ meta = with stdenv.lib; {
17+ homepage = https://github.com/janestreet/core_extended;
18+ description = "Jane Street Capital's standard library overlay";
19+ license = licenses.asl20;
20+ maintainers = [ maintainers.maurer maintainers.ericbmerritt ];
21+ };
22+}
pkgs/development/ocaml-modules/janestreet/core.nixnew file+20
@@ -0,0 +1,20 @@
1+{stdenv, buildOcamlJane, fetchurl,
2+ core_kernel,
3+ bin_prot, fieldslib, sexplib, typerep, variantslib,
4+ ppx_assert, ppx_bench, ppx_driver, ppx_expect, ppx_inline_test, ppx_jane,
5+ ocaml_oasis, opam, js_build_tools}:
6+
7+buildOcamlJane rec {
8+ name = "core";
9+ hash = "0nz6d5glgymbpchvcpw77yis9jgi2bll32knzy9vx99wn83zdrmd";
10+ propagatedBuildInputs =
11+ [ core_kernel bin_prot fieldslib sexplib typerep variantslib
12+ ppx_assert ppx_bench ppx_driver ppx_expect ppx_inline_test ppx_jane ];
13+
14+ meta = with stdenv.lib; {
15+ homepage = https://github.com/janestreet/core;
16+ description = "Jane Street Capital's standard library overlay";
17+ license = licenses.asl20;
18+ maintainers = [ maintainers.maurer maintainers.ericbmerritt ];
19+ };
20+}
pkgs/development/ocaml-modules/janestreet/core_kernel.nixnew file+19
@@ -0,0 +1,19 @@
1+{stdenv, buildOcamlJane, fetchurl,
2+ bin_prot, fieldslib, sexplib, typerep, variantslib,
3+ ppx_assert, ppx_bench, ppx_driver, ppx_expect, ppx_inline_test, ppx_jane,
4+ ocaml_oasis, opam, js_build_tools}:
5+
6+buildOcamlJane rec {
7+ name = "core_kernel";
8+ hash = "13gamj056nlib04l7yh80lqpdx0pnswzlb52fkqa01awwp5nf3z6";
9+ propagatedBuildInputs =
10+ [ bin_prot fieldslib sexplib typerep variantslib
11+ ppx_assert ppx_bench ppx_driver ppx_expect ppx_inline_test ppx_jane ];
12+
13+ meta = with stdenv.lib; {
14+ homepage = https://github.com/janestreet/core_kernel;
15+ description = "Jane Street Capital's standard library overlay (kernel)";
16+ license = licenses.asl20;
17+ maintainers = [ maintainers.maurer maintainers.ericbmerritt ];
18+ };
19+}
pkgs/development/ocaml-modules/janestreet/fieldslib.nixnew file+19
@@ -0,0 +1,19 @@
1+{ stdenv, type_conv, buildOcamlJane }:
2+
3+buildOcamlJane rec {
4+ name = "fieldslib";
5+ version = "113.33.03";
6+
7+ minimumSupportedOcamlVersion = "4.02";
8+
9+ hash = "0mkbix32f8sq32q81hb10z2q31bw5f431jxv0jafbdrif0vr6xqd";
10+
11+ propagatedBuildInputs = [ type_conv ];
12+
13+ meta = with stdenv.lib; {
14+ homepage = https://ocaml.janestreet.com/;
15+ description = "OCaml syntax extension to define first class values representing record fields, to get and set record fields, iterate and fold over all fields of a record and create new record values";
16+ license = licenses.asl20;
17+ maintainers = [ maintainers.maurer maintainers.vbgl ];
18+ };
19+}
pkgs/development/ocaml-modules/janestreet/js-build-tools-darwin.patchnew file+11
@@ -0,0 +1,11 @@
1+--- a/ocamlbuild_goodies/jane_street_ocamlbuild_goodies.ml
2++++ b/ocamlbuild_goodies/jane_street_ocamlbuild_goodies.ml
3+@@ -65,7 +65,7 @@ let track_external_deps = function
4+
5+ let stat, md5sum =
6+ match run_and_read "uname" |> String.trim with
7+- | "Darwin" ->
8++ | "FreeBSD" | "NetBSD" ->
9+ (S [A "stat"; A "-f"; A "%d:%i:%m"],
10+ A "md5")
11+ | _ ->
pkgs/development/ocaml-modules/janestreet/js-build-tools.nixnew file+29
@@ -0,0 +1,29 @@
1+{stdenv, buildOcaml, fetchurl, ocaml_oasis, opam}:
2+
3+buildOcaml rec {
4+ name = "js-build-tools";
5+ version = "113.33.06";
6+
7+ minimumSupportedOcamlVersion = "4.02";
8+
9+ src = fetchurl {
10+ url = "https://github.com/janestreet/${name}/archive/${version}.tar.gz";
11+ sha256 = "1nvgyp4gsnlnpix3li6kr90b12iin5ihichv298p03i6h2809dia";
12+ };
13+
14+ hasSharedObjects = true;
15+
16+ buildInputs = [ ocaml_oasis opam ];
17+
18+ dontAddPrefix = true;
19+ configurePhase = "./configure --prefix $prefix";
20+ installPhase = "opam-installer -i --prefix $prefix --libdir `ocamlfind printconf destdir` ${name}.install";
21+
22+ patches = [ ./js-build-tools-darwin.patch ];
23+
24+ meta = with stdenv.lib; {
25+ description = "Jane Street Build Tools";
26+ maintainers = [ maintainers.maurer ];
27+ license = licenses.asl20;
28+ };
29+}
pkgs/development/ocaml-modules/janestreet/ppx-assert.nixnew file+16
@@ -0,0 +1,16 @@
1+{stdenv, buildOcamlJane,
2+ ppx_compare, ppx_core, ppx_driver, ppx_here, ppx_sexp_conv, ppx_tools, ppx_type_conv, sexplib}:
3+
4+buildOcamlJane rec {
5+ name = "ppx_assert";
6+ hash = "0n7fa1j79ykbkhp8xz0ksg5096asri5d0msshsaqhw5fz18chvz4";
7+ propagatedBuildInputs =
8+ [ ppx_compare ppx_core ppx_driver ppx_here ppx_sexp_conv ppx_tools
9+ ppx_type_conv sexplib ];
10+
11+ meta = with stdenv.lib; {
12+ description = "Assert-like extension nodes that raise useful errors on failure";
13+ maintainers = [ maintainers.maurer ];
14+ license = licenses.asl20;
15+ };
16+}
pkgs/development/ocaml-modules/janestreet/ppx-bench.nixnew file+18
@@ -0,0 +1,18 @@
1+{stdenv, buildOcamlJane,
2+ ppx_core, ppx_driver, ppx_inline_test, ppx_tools}:
3+
4+buildOcamlJane rec {
5+ name = "ppx_bench";
6+ minimumSupportedOcamlVersion = "4.02";
7+ hash = "1l5jlwy1d1fqz70wa2fkf7izngp6nx3g4s9bmnd6ca4dx1x5bksk";
8+
9+ hasSharedObjects = true;
10+
11+ propagatedBuildInputs = [ ppx_core ppx_driver ppx_inline_test ppx_tools ];
12+
13+ meta = with stdenv.lib; {
14+ description = "Syntax extension for writing in-line benchmarks in ocaml code";
15+ maintainers = [ maintainers.maurer ];
16+ license = licenses.asl20;
17+ };
18+}
pkgs/development/ocaml-modules/janestreet/ppx-bin-prot.nixnew file+14
@@ -0,0 +1,14 @@
1+{stdenv, buildOcamlJane,
2+ ppx_core, ppx_tools, ppx_type_conv, bin_prot}:
3+
4+buildOcamlJane rec {
5+ name = "ppx_bin_prot";
6+ hash = "0kwmrrrybdkmphqczsr3lg3imsxcjb8iy41syvn44s3kcjfyyzbz";
7+ propagatedBuildInputs = [ ppx_core ppx_tools ppx_type_conv bin_prot ];
8+
9+ meta = with stdenv.lib; {
10+ description = "Generation of bin_prot readers and writers from types";
11+ maintainers = [ maintainers.maurer ];
12+ license = licenses.asl20;
13+ };
14+}
pkgs/development/ocaml-modules/janestreet/ppx-compare.nixnew file+15
@@ -0,0 +1,15 @@
1+{stdenv, buildOcamlJane,
2+ ppx_core, ppx_driver, ppx_tools, ppx_type_conv}:
3+
4+buildOcamlJane rec {
5+ name = "ppx_compare";
6+ hash = "05cnwxfxm8201lpfmcqkcqfy6plh5c2151jbj4qsnxhlvvjli459";
7+ propagatedBuildInputs =
8+ [ppx_core ppx_driver ppx_tools ppx_type_conv ];
9+
10+ meta = with stdenv.lib; {
11+ description = "Generation of fast comparison functions from type expressions and definitions";
12+ maintainers = [ maintainers.maurer ];
13+ license = licenses.asl20;
14+ };
15+}
pkgs/development/ocaml-modules/janestreet/ppx-core.nixnew file+14
@@ -0,0 +1,14 @@
1+{stdenv, buildOcamlJane, ppx_tools}:
2+
3+buildOcamlJane rec {
4+ name = "ppx_core";
5+ hash = "0df7vyai488lfkyh8szw2hvn22jsyrkfvq1b91j1s0g0y27nnfax";
6+ propagatedBuildInputs =
7+ [ ppx_tools ];
8+
9+ meta = with stdenv.lib; {
10+ description = "PPX standard library";
11+ maintainers = [ maintainers.maurer ];
12+ license = licenses.asl20;
13+ };
14+}
pkgs/development/ocaml-modules/janestreet/ppx-custom-printf.nixnew file+15
@@ -0,0 +1,15 @@
1+{stdenv, buildOcamlJane,
2+ ppx_core, ppx_driver, ppx_sexp_conv, ppx_tools}:
3+
4+buildOcamlJane rec {
5+ name = "ppx_custom_printf";
6+ hash = "06y85m6ky376byja4w7gdwd339di5ag0xrf0czkylzjsnylhdr85";
7+
8+ propagatedBuildInputs = [ ppx_core ppx_driver ppx_sexp_conv ppx_tools ];
9+
10+ meta = with stdenv.lib; {
11+ description = "Extensions to printf-style format-strings for user-defined string conversion";
12+ maintainers = [ maintainers.maurer ];
13+ license = licenses.asl20;
14+ };
15+}
pkgs/development/ocaml-modules/janestreet/ppx-driver.nixnew file+15
@@ -0,0 +1,15 @@
1+{stdenv, buildOcamlJane,
2+ ppx_core, ppx_optcomp}:
3+
4+buildOcamlJane rec {
5+ name = "ppx_driver";
6+ hash = "19cpfdn1n36vl5l9d6h7c61ffn0wmiipprn5by0354i5aywj8gpn";
7+ propagatedBuildInputs =
8+ [ ppx_core ppx_optcomp ];
9+
10+ meta = with stdenv.lib; {
11+ description = "A driver is an executable created from a set of OCaml AST transformers linked together with a command line frontend";
12+ maintainers = [ maintainers.maurer ];
13+ license = licenses.asl20;
14+ };
15+}
pkgs/development/ocaml-modules/janestreet/ppx-enumerate.nixnew file+14
@@ -0,0 +1,14 @@
1+{stdenv, buildOcamlJane,
2+ ppx_core, ppx_tools, ppx_type_conv}:
3+
4+buildOcamlJane rec {
5+ name = "ppx_enumerate";
6+ hash = "0m11921q2pjzkwckf21fynd2qfy83n9jjsgks23yagdai8a7ym16";
7+ propagatedBuildInputs = [ ppx_core ppx_tools ppx_type_conv ];
8+
9+ meta = with stdenv.lib; {
10+ description = "Generate a list containing all values of a finite type";
11+ maintainers = [ maintainers.maurer ];
12+ license = licenses.asl20;
13+ };
14+}
pkgs/development/ocaml-modules/janestreet/ppx-expect.nixnew file+19
@@ -0,0 +1,19 @@
1+{stdenv, buildOcamlJane,
2+ ppx_assert, ppx_compare, ppx_core, ppx_custom_printf, ppx_driver,
3+ ppx_fields_conv, ppx_here, ppx_inline_test, ppx_sexp_conv, ppx_tools,
4+ ppx_variants_conv, re, sexplib, variantslib, fieldslib}:
5+
6+buildOcamlJane rec {
7+ name = "ppx_expect";
8+ hash = "0cwagb4cj3x1vsr19kyfa9pxlvaz9a5v863cahi5glinsh4mzgdx";
9+ propagatedBuildInputs =
10+ [ ppx_assert ppx_compare ppx_core ppx_custom_printf ppx_driver
11+ ppx_fields_conv ppx_here ppx_inline_test ppx_sexp_conv ppx_tools
12+ ppx_variants_conv re sexplib variantslib fieldslib ];
13+
14+ meta = with stdenv.lib; {
15+ description = "Cram-like framework for OCaml";
16+ maintainers = [ maintainers.maurer ];
17+ license = licenses.asl20;
18+ };
19+}
pkgs/development/ocaml-modules/janestreet/ppx-fail.nixnew file+14
@@ -0,0 +1,14 @@
1+{stdenv, buildOcamlJane,
2+ ppx_core, ppx_driver, ppx_here, ppx_tools}:
3+
4+buildOcamlJane rec {
5+ name = "ppx_fail";
6+ hash = "1ms5axpc0zg469zj4799nz3wwxi6rmmyvqj52dy03crmpj71s18l";
7+ propagatedBuildInputs = [ ppx_core ppx_driver ppx_here ppx_tools ];
8+
9+ meta = with stdenv.lib; {
10+ description = "Syntax extension that makes failwith include a position";
11+ maintainers = [ maintainers.maurer ];
12+ license = licenses.asl20;
13+ };
14+}
pkgs/development/ocaml-modules/janestreet/ppx-fields-conv.nixnew file+14
@@ -0,0 +1,14 @@
1+{stdenv, buildOcamlJane,
2+ ppx_core, ppx_tools, ppx_type_conv}:
3+
4+buildOcamlJane rec {
5+ name = "ppx_fields_conv";
6+ hash = "11w9wfjgkv7yxv3rwlwi6m193zan6rhmi45q7n3ddi2s8ls3gra7";
7+ propagatedBuildInputs = [ ppx_core ppx_tools ppx_type_conv ];
8+
9+ meta = with stdenv.lib; {
10+ description = "Generation of accessor and iteration functions for ocaml records";
11+ maintainers = [ maintainers.maurer ];
12+ license = licenses.asl20;
13+ };
14+}
pkgs/development/ocaml-modules/janestreet/ppx-here.nixnew file+14
@@ -0,0 +1,14 @@
1+{stdenv, buildOcamlJane,
2+ ppx_core, ppx_driver}:
3+
4+buildOcamlJane rec {
5+ name = "ppx_here";
6+ hash = "1mzdgn8k171zkwmbizf1a48l525ny0w3363c7gknpnifcinxniiw";
7+ propagatedBuildInputs = [ ppx_core ppx_driver ];
8+
9+ meta = with stdenv.lib; {
10+ description = "A ppx rewriter that defines an extension node whose value is its source position";
11+ maintainers = [ maintainers.maurer ];
12+ license = licenses.asl20;
13+ };
14+}
pkgs/development/ocaml-modules/janestreet/ppx-inline-test.nixnew file+14
@@ -0,0 +1,14 @@
1+{stdenv, buildOcamlJane,
2+ ppx_core, ppx_driver, ppx_tools}:
3+
4+buildOcamlJane rec {
5+ name = "ppx_inline_test";
6+ hash = "0ygapa54i0wwcj3jcqwiimrc6z0b7aafgjhbk37h6vvclnm5n7f6";
7+ propagatedBuildInputs = [ ppx_core ppx_driver ppx_tools ];
8+
9+ meta = with stdenv.lib; {
10+ description = "Syntax extension for writing in-line tests in ocaml code";
11+ maintainers = [ maintainers.maurer ];
12+ license = licenses.asl20;
13+ };
14+}
pkgs/development/ocaml-modules/janestreet/ppx-jane.nixnew file+22
@@ -0,0 +1,22 @@
1+{stdenv, buildOcamlJane,
2+ ppx_assert,
3+ ppx_bench, ppx_bin_prot, ppx_compare, ppx_custom_printf, ppx_driver,
4+ ppx_enumerate, ppx_expect, ppx_fail, ppx_fields_conv, ppx_here,
5+ ppx_inline_test, ppx_let, ppx_pipebang, ppx_sexp_conv, ppx_sexp_message,
6+ ppx_sexp_value, ppx_typerep_conv, ppx_variants_conv}:
7+
8+buildOcamlJane rec {
9+ name = "ppx_jane";
10+ hash = "1la0rp8fhzfglwb15gqh1pl1ld8ls4cnidaw9mjc5q1hb0yj1qd9";
11+ propagatedBuildInputs =
12+ [ ppx_assert ppx_bench ppx_bin_prot ppx_compare ppx_custom_printf
13+ ppx_driver ppx_enumerate ppx_expect ppx_fail ppx_fields_conv
14+ ppx_here ppx_inline_test ppx_let ppx_pipebang ppx_sexp_conv
15+ ppx_sexp_message ppx_sexp_value ppx_typerep_conv ppx_variants_conv ];
16+
17+ meta = with stdenv.lib; {
18+ description = "A ppx_driver including all standard ppx rewriters";
19+ maintainers = [ maintainers.maurer ];
20+ license = licenses.asl20;
21+ };
22+}
pkgs/development/ocaml-modules/janestreet/ppx-let.nixnew file+14
@@ -0,0 +1,14 @@
1+{stdenv, buildOcamlJane,
2+ ppx_core, ppx_driver}:
3+
4+buildOcamlJane rec {
5+ name = "ppx_let";
6+ hash = "0whnfq4rgkq4apfqnvc100wlk25pmqdyvy6s21dsn3fcm9hff467";
7+ propagatedBuildInputs = [ ppx_core ppx_driver ];
8+
9+ meta = with stdenv.lib; {
10+ description = "A ppx rewriter for monadic and applicative let bindings and match statements";
11+ maintainers = [ maintainers.maurer ];
12+ license = licenses.asl20;
13+ };
14+}
pkgs/development/ocaml-modules/janestreet/ppx-optcomp.nixnew file+15
@@ -0,0 +1,15 @@
1+{stdenv, buildOcamlJane,
2+ ppx_core, ppx_tools}:
3+
4+buildOcamlJane rec {
5+ name = "ppx_optcomp";
6+ hash = "09m2x2a5ics4bz1j29n5slhh1rlyhcwdfmf44v1jfxcby3f0riwd";
7+ propagatedBuildInputs =
8+ [ ppx_core ppx_tools ];
9+
10+ meta = with stdenv.lib; {
11+ description = "ppx_optcomp stands for Optional Compilation. It is a tool used to handle optional compilations of pieces of code depending of the word size, the version of the compiler, etc.";
12+ maintainers = [ maintainers.maurer ];
13+ license = licenses.asl20;
14+ };
15+}
pkgs/development/ocaml-modules/janestreet/ppx-pipebang.nixnew file+14
@@ -0,0 +1,14 @@
1+{stdenv, buildOcamlJane,
2+ ppx_core, ppx_driver, ppx_tools}:
3+
4+buildOcamlJane rec {
5+ name = "ppx_pipebang";
6+ hash = "0k25bhj9ziiw89xvs4svz7cgazbbmprba9wbic2llffg55fp7acc";
7+ propagatedBuildInputs = [ ppx_core ppx_driver ppx_tools ];
8+
9+ meta = with stdenv.lib; {
10+ description = "A ppx rewriter that inlines reverse application operators |> and |!";
11+ maintainers = [ maintainers.maurer ];
12+ license = licenses.asl20;
13+ };
14+}
pkgs/development/ocaml-modules/janestreet/ppx-sexp-conv.nixnew file+14
@@ -0,0 +1,14 @@
1+{stdenv, buildOcamlJane,
2+ ppx_core, ppx_tools, ppx_type_conv, sexplib}:
3+
4+buildOcamlJane rec {
5+ name = "ppx_sexp_conv";
6+ hash = "1kgbmlc11w5jhbhmy5n0f734l44zwyry48342dm5qydi9sfzcgq2";
7+ propagatedBuildInputs = [ ppx_core ppx_tools ppx_type_conv sexplib];
8+
9+ meta = with stdenv.lib; {
10+ description = "PPX syntax extension that generates code for converting OCaml types to and from s-expressions, as defined in the sexplib library";
11+ maintainers = [ maintainers.maurer ];
12+ license = licenses.asl20;
13+ };
14+}
pkgs/development/ocaml-modules/janestreet/ppx-sexp-message.nixnew file+14
@@ -0,0 +1,14 @@
1+{stdenv, buildOcamlJane,
2+ ppx_core, ppx_driver, ppx_here, ppx_sexp_conv, ppx_tools}:
3+
4+buildOcamlJane rec {
5+ name = "ppx_sexp_message";
6+ hash = "0inbff25qii868p141jb1y8n3vjfyz66jpnsl9nma6nkkyjkp05j";
7+ propagatedBuildInputs = [ ppx_core ppx_driver ppx_here ppx_sexp_conv ppx_tools ];
8+
9+ meta = with stdenv.lib; {
10+ description = "Easy construction of S-Expressions";
11+ maintainers = [ maintainers.maurer ];
12+ license = licenses.asl20;
13+ };
14+}
pkgs/development/ocaml-modules/janestreet/ppx-sexp-value.nixnew file+14
@@ -0,0 +1,14 @@
1+{stdenv, buildOcamlJane,
2+ ppx_core, ppx_driver, ppx_here, ppx_sexp_conv, ppx_tools}:
3+
4+buildOcamlJane rec {
5+ name = "ppx_sexp_value";
6+ hash = "04602ppqfwx33ghjywam00hlqqzsz4d99r60k9q0v1mynk9pjhj0";
7+ propagatedBuildInputs = [ ppx_core ppx_driver ppx_here ppx_sexp_conv ppx_tools ];
8+
9+ meta = with stdenv.lib; {
10+ description = "A ppx rewriter that simplifies building S-Expression from OCaml Values";
11+ maintainers = [ maintainers.maurer ];
12+ license = licenses.asl20;
13+ };
14+}
pkgs/development/ocaml-modules/janestreet/ppx-type-conv.nixnew file+15
@@ -0,0 +1,15 @@
1+{stdenv, buildOcamlJane,
2+ ppx_core, ppx_deriving, ppx_driver, ppx_tools}:
3+
4+buildOcamlJane rec {
5+ name = "ppx_type_conv";
6+ hash = "0gv0mqwn97dwrfm6rj442565y8dz7kiq8s8vadnhywrl7j4znqyq";
7+ propagatedBuildInputs =
8+ [ ppx_core ppx_deriving ppx_driver ppx_tools ];
9+
10+ meta = with stdenv.lib; {
11+ description = "The type_conv library factors out functionality needed by different preprocessors that generate code from type specifications";
12+ maintainers = [ maintainers.maurer ];
13+ license = licenses.asl20;
14+ };
15+}
pkgs/development/ocaml-modules/janestreet/ppx-typerep-conv.nixnew file+14
@@ -0,0 +1,14 @@
1+{stdenv, buildOcamlJane,
2+ ppx_core, ppx_tools, ppx_type_conv, typerep}:
3+
4+buildOcamlJane rec {
5+ name = "ppx_typerep_conv";
6+ hash = "0dldlx73r07j6w0i7h4hxly0v678naa79na5rafsk2974gs5ih9g";
7+ propagatedBuildInputs = [ ppx_core ppx_tools ppx_type_conv typerep ];
8+
9+ meta = with stdenv.lib; {
10+ description = "Automatic generation of runtime types from type definitions";
11+ maintainers = [ maintainers.maurer ];
12+ license = licenses.asl20;
13+ };
14+}
pkgs/development/ocaml-modules/janestreet/ppx-variants-conv.nixnew file+14
@@ -0,0 +1,14 @@
1+{stdenv, buildOcamlJane,
2+ ppx_core, ppx_tools, ppx_type_conv, sexplib}:
3+
4+buildOcamlJane rec {
5+ name = "ppx_variants_conv";
6+ hash = "0kgal8b9yh7wrd75hllb9fyl6zbksfnr9k7pykpzdm3js98dirhn";
7+ propagatedBuildInputs = [ ppx_core ppx_tools ppx_type_conv sexplib];
8+
9+ meta = with stdenv.lib; {
10+ description = "Generation of accessor and iteration functions for ocaml variant types";
11+ maintainers = [ maintainers.maurer ];
12+ license = licenses.asl20;
13+ };
14+}
pkgs/development/ocaml-modules/janestreet/re2.nixnew file+20
@@ -0,0 +1,20 @@
1+{stdenv, buildOcamlJane,
2+ bin_prot, core_kernel, fieldslib, sexplib, typerep, variantslib,
3+ ppx_assert, ppx_bench, ppx_driver, ppx_expect, ppx_inline_test, ppx_jane,
4+ rsync}:
5+
6+buildOcamlJane rec {
7+ name = "re2";
8+ hash = "0fw5jscb1i17aw8v4l965zw20kyimhfnmf4w83wqaaxkqy3l6fqw";
9+ buildInputs = [ rsync ];
10+ propagatedBuildInputs =
11+ [ bin_prot core_kernel fieldslib sexplib typerep variantslib
12+ ppx_assert ppx_bench ppx_driver ppx_expect ppx_inline_test ppx_jane ];
13+
14+ meta = with stdenv.lib; {
15+ homepage = https://github.com/janestreet/re2;
16+ description = "OCaml bindings for RE2";
17+ maintainers = [ maintainers.maurer ];
18+ license = licenses.asl20;
19+ };
20+}
pkgs/development/ocaml-modules/janestreet/sexplib.nixnew file+18
@@ -0,0 +1,18 @@
1+{stdenv, buildOcamlJane, type_conv}:
2+
3+buildOcamlJane rec {
4+ minimumSupportedOcamlVersion = "4.02";
5+ name = "sexplib";
6+ version = "113.33.03";
7+
8+ hash = "1klar4qw4s7bj47ig7kxz2m4j1q3c60pfppis4vxrxv15r0kfh22";
9+
10+ propagatedBuildInputs = [ type_conv ];
11+
12+ meta = with stdenv.lib; {
13+ homepage = https://ocaml.janestreet.com/;
14+ description = "Library for serializing OCaml values to and from S-expressions";
15+ license = licenses.asl20;
16+ maintainers = [ maintainers.maurer maintainers.ericbmerritt ];
17+ };
18+}
pkgs/development/ocaml-modules/janestreet/textutils.nixnew file+18
@@ -0,0 +1,18 @@
1+{stdenv, buildOcamlJane,
2+ bin_prot, core, fieldslib, sexplib, typerep, variantslib,
3+ ppx_assert, ppx_bench, ppx_driver, ppx_expect, ppx_inline_test, ppx_jane}:
4+
5+buildOcamlJane rec {
6+ name = "textutils";
7+ hash = "0mkjm9b3k7db7zzrq4403v8qbkgqgkjlz120vcbqh6z7d7ql65vb";
8+ propagatedBuildInputs =
9+ [ bin_prot core fieldslib sexplib typerep variantslib
10+ ppx_assert ppx_bench ppx_driver ppx_expect ppx_inline_test ppx_jane ];
11+
12+ meta = with stdenv.lib; {
13+ homepage = https://github.com/janestreet/textutils;
14+ description = "Text output utilities";
15+ maintainers = [ maintainers.maurer ];
16+ license = licenses.asl20;
17+ };
18+}
pkgs/development/ocaml-modules/janestreet/typerep.nixnew file+20
@@ -0,0 +1,20 @@
1+{stdenv, buildOcamlJane, type_conv}:
2+
3+buildOcamlJane rec {
4+ name = "typerep";
5+ version = "113.33.03";
6+
7+ minimumSupportedOcamlVersion = "4.00";
8+
9+ hash = "1ss34nq20vfgx8hwi5sswpmn3my9lvrpdy5dkng746xchwi33ar7";
10+
11+ propagatedBuildInputs = [ type_conv ];
12+
13+ meta = with stdenv.lib; {
14+ homepage = https://github.com/janestreet/typerep;
15+ description = "Runtime types for OCaml (beta version)";
16+ license = licenses.asl20;
17+ maintainers = [ maintainers.maurer maintainers.ericbmerritt ];
18+ };
19+
20+}
pkgs/development/ocaml-modules/janestreet/variantslib.nixnew file+19
@@ -0,0 +1,19 @@
1+{stdenv, buildOcamlJane, type_conv}:
2+
3+buildOcamlJane rec {
4+ name = "variantslib";
5+ version = "113.33.03";
6+
7+ minimumSupportedOcamlVersion = "4.00";
8+
9+ hash = "1hv0f75msrryxsl6wfnbmhc0n8kf7qxs5f82ry3b8ldb44s3wigp";
10+
11+ propagatedBuildInputs = [ type_conv ];
12+
13+ meta = with stdenv.lib; {
14+ homepage = https://github.com/janestreet/variantslib;
15+ description = "OCaml variants as first class values";
16+ license = licenses.asl20;
17+ maintainers = [ maintainers.maurer maintainers.ericbmerritt ];
18+ };
19+}
pkgs/development/ocaml-modules/pa_test/default.nix+2−2
@@ -1,4 +1,4 @@
1−{stdenv, buildOcaml, fetchurl, type_conv, pa_ounit, sexplib, herelib}:
1+{stdenv, buildOcaml, fetchurl, type_conv, pa_ounit, sexplib_p4, herelib}:
22
33buildOcaml rec {
44 name = "pa_test";
@@ -12,7 +12,7 @@ buildOcaml rec {
1212 };
1313
1414 buildInputs = [ pa_ounit ];
15− propagatedBuildInputs = [ type_conv sexplib herelib ];
15+ propagatedBuildInputs = [ type_conv sexplib_p4 herelib ];
1616
1717 meta = with stdenv.lib; {
1818 homepage = https://github.com/janestreet/pa_test;
pkgs/development/ocaml-modules/ppx_deriving/default.nixnew file+28
@@ -0,0 +1,28 @@
1+{stdenv, buildOcaml, fetchurl,
2+ cppo, ppx_tools, result, ounit}:
3+
4+buildOcaml rec {
5+ name = "ppx_deriving";
6+ version = "v3.3";
7+
8+ minimumSupportedOcamlVersion = "4.02";
9+
10+ src = fetchurl {
11+ url = "https://github.com/whitequark/${name}/archive/${version}.tar.gz";
12+ sha256 = "1j20c6r2v7h05a4v9m8z5m1yqgwif41yrp63mik14pf3dkrj8x3f";
13+ };
14+
15+ hasSharedObjects = true;
16+
17+ buildInputs = [ cppo ounit ];
18+ propagatedBuildInputs =
19+ [ ppx_tools result ];
20+
21+ installPhase = "OCAMLPATH=$OCAMLPATH:`ocamlfind printconf destdir` make install";
22+
23+ meta = with stdenv.lib; {
24+ description = "deriving is a library simplifying type-driven code generation on OCaml >=4.02.";
25+ maintainers = [ maintainers.maurer ];
26+ license = licenses.mit;
27+ };
28+}
pkgs/development/ocaml-modules/re2/default.nix+3−3
@@ -1,5 +1,5 @@
1−{stdenv, buildOcaml, fetchurl, ocaml, core, pa_ounit, pa_test,
2− bin_prot, comparelib, sexplib, rsync}:
1+{stdenv, buildOcaml, fetchurl, ocaml, core_p4, pa_ounit, pa_test,
2+ bin_prot_p4, comparelib, sexplib_p4, rsync}:
33
44buildOcaml rec {
55 name = "re2";
@@ -16,7 +16,7 @@ buildOcaml rec {
1616 else null;
1717
1818 buildInputs = [ pa_ounit pa_test rsync ];
19− propagatedBuildInputs = [ core bin_prot comparelib sexplib ];
19+ propagatedBuildInputs = [ core_p4 bin_prot_p4 comparelib sexplib_p4 ];
2020
2121 hasSharedObjects = true;
2222
pkgs/development/ocaml-modules/textutils/default.nix+2−2
@@ -1,4 +1,4 @@
1−{stdenv, buildOcaml, fetchurl, core, pa_ounit, pa_test, sexplib}:
1+{stdenv, buildOcaml, fetchurl, core_p4, pa_ounit, pa_test, sexplib_p4}:
22
33buildOcaml rec {
44 name = "textutils";
@@ -12,7 +12,7 @@ buildOcaml rec {
1212 };
1313
1414 buildInputs = [ pa_test ];
15− propagatedBuildInputs = [ core pa_ounit sexplib ];
15+ propagatedBuildInputs = [ core_p4 pa_ounit sexplib_p4 ];
1616
1717 meta = with stdenv.lib; {
1818 homepage = https://github.com/janestreet/textutils;
pkgs/development/ocaml-modules/uri/default.nix+2−2
@@ -1,4 +1,4 @@
1−{ stdenv, fetchzip, ocaml, findlib, re, sexplib, stringext, ounit }:
1+{ stdenv, fetchzip, ocaml, findlib, re, sexplib_p4, stringext, ounit }:
22
33assert stdenv.lib.versionAtLeast (stdenv.lib.getVersion ocaml) "4";
44
@@ -13,7 +13,7 @@ stdenv.mkDerivation {
1313 };
1414
1515 buildInputs = [ ocaml findlib ounit ];
16− propagatedBuildInputs = [ re sexplib stringext ];
16+ propagatedBuildInputs = [ re sexplib_p4 stringext ];
1717
1818 configurePhase = "ocaml setup.ml -configure --prefix $out --enable-tests";
1919 buildPhase = ''
pkgs/top-level/all-packages.nix+151−16
@@ -5077,19 +5077,19 @@ in
50775077
50785078 asn1-combinators = callPackage ../development/ocaml-modules/asn1-combinators { };
50795079
5080− async_extra = callPackage ../development/ocaml-modules/async_extra { };
5080+ async_extra_p4 = callPackage ../development/ocaml-modules/async_extra { };
50815081
50825082 async_find = callPackage ../development/ocaml-modules/async_find { };
50835083
5084− async_kernel = callPackage ../development/ocaml-modules/async_kernel { };
5084+ async_kernel_p4 = callPackage ../development/ocaml-modules/async_kernel { };
50855085
50865086 async_shell = callPackage ../development/ocaml-modules/async_shell { };
50875087
50885088 async_ssl = callPackage ../development/ocaml-modules/async_ssl { };
50895089
5090− async_unix = callPackage ../development/ocaml-modules/async_unix { };
5090+ async_unix_p4 = callPackage ../development/ocaml-modules/async_unix { };
50915091
5092− async =
5092+ async_p4 =
50935093 if lib.versionOlder "4.02" ocaml_version
50945094 then callPackage ../development/ocaml-modules/async { }
50955095 else null;
@@ -5165,7 +5165,7 @@ in
51655165
51665166 biniou = callPackage ../development/ocaml-modules/biniou { };
51675167
5168− bin_prot = callPackage ../development/ocaml-modules/bin_prot { };
5168+ bin_prot_p4 = callPackage ../development/ocaml-modules/bin_prot { };
51695169
51705170 ocaml_cairo = callPackage ../development/ocaml-modules/ocaml-cairo { };
51715171
@@ -5221,7 +5221,7 @@ in
52215221
52225222 faillib = callPackage ../development/ocaml-modules/faillib { };
52235223
5224− fieldslib = callPackage ../development/ocaml-modules/fieldslib { };
5224+ fieldslib_p4 = callPackage ../development/ocaml-modules/fieldslib { };
52255225
52265226 fileutils = callPackage ../development/ocaml-modules/fileutils { };
52275227
@@ -5320,11 +5320,11 @@ in
53205320
53215321 comparelib = callPackage ../development/ocaml-modules/comparelib { };
53225322
5323− core_extended = callPackage ../development/ocaml-modules/core_extended { };
5323+ core_extended_p4 = callPackage ../development/ocaml-modules/core_extended { };
53245324
5325− core_kernel = callPackage ../development/ocaml-modules/core_kernel { };
5325+ core_kernel_p4 = callPackage ../development/ocaml-modules/core_kernel { };
53265326
5327− core = callPackage ../development/ocaml-modules/core { };
5327+ core_p4 = callPackage ../development/ocaml-modules/core { };
53285328
53295329 ocamlbuild =
53305330 if lib.versionOlder "4.03" ocaml_version then
@@ -5396,7 +5396,7 @@ in
53965396 piqi = callPackage ../development/ocaml-modules/piqi { };
53975397 piqi-ocaml = callPackage ../development/ocaml-modules/piqi-ocaml { };
53985398
5399− re2 = callPackage ../development/ocaml-modules/re2 { };
5399+ re2_p4 = callPackage ../development/ocaml-modules/re2 { };
54005400
54015401 result = callPackage ../development/ocaml-modules/ocaml-result { };
54025402
@@ -5414,7 +5414,7 @@ in
54145414 camlp5 = camlp5_transitional;
54155415 };
54165416
5417− textutils = callPackage ../development/ocaml-modules/textutils { };
5417+ textutils_p4 = callPackage ../development/ocaml-modules/textutils { };
54185418
54195419 type_conv_108_08_00 = callPackage ../development/ocaml-modules/type_conv/108.08.00.nix { };
54205420 type_conv_109_60_01 = callPackage ../development/ocaml-modules/type_conv/109.60.01.nix { };
@@ -5432,7 +5432,7 @@ in
54325432 sexplib_111_25_00 = callPackage ../development/ocaml-modules/sexplib/111.25.00.nix { };
54335433 sexplib_112_24_01 = callPackage ../development/ocaml-modules/sexplib/112.24.01.nix { };
54345434
5435− sexplib =
5435+ sexplib_p4 =
54365436 if lib.versionOlder "4.02" ocaml_version
54375437 then sexplib_112_24_01
54385438 else if lib.versionOlder "4.00" ocaml_version
@@ -5463,6 +5463,11 @@ in
54635463 then callPackage ../development/ocaml-modules/ppx_blob {}
54645464 else null;
54655465
5466+ ppx_deriving =
5467+ if lib.versionAtLeast ocaml_version "4.02"
5468+ then callPackage ../development/ocaml-modules/ppx_deriving {}
5469+ else null;
5470+
54665471 ppx_tools =
54675472 if lib.versionAtLeast ocaml_version "4.02"
54685473 then callPackage ../development/ocaml-modules/ppx_tools {}
@@ -5490,7 +5495,7 @@ in
54905495
54915496 twt = callPackage ../development/ocaml-modules/twt { };
54925497
5493− typerep = callPackage ../development/ocaml-modules/typerep { };
5498+ typerep_p4 = callPackage ../development/ocaml-modules/typerep { };
54945499
54955500 utop = callPackage ../development/tools/ocaml/utop { };
54965501
@@ -5507,7 +5512,7 @@ in
55075512 uuseg = callPackage ../development/ocaml-modules/uuseg { };
55085513 uutf = callPackage ../development/ocaml-modules/uutf { };
55095514
5510− variantslib = callPackage ../development/ocaml-modules/variantslib { };
5515+ variantslib_p4 = callPackage ../development/ocaml-modules/variantslib { };
55115516
55125517 vg = callPackage ../development/ocaml-modules/vg { };
55135518
@@ -5527,6 +5532,130 @@ in
55275532 oasis = ocaml_oasis;
55285533 };
55295534
5535+ # Jane Street
5536+ js_build_tools = callPackage ../development/ocaml-modules/janestreet/js-build-tools.nix {};
5537+
5538+ buildOcamlJane = callPackage ../development/ocaml-modules/janestreet/buildOcamlJane.nix {};
5539+
5540+ ppx_core = callPackage ../development/ocaml-modules/janestreet/ppx-core.nix {};
5541+
5542+ ppx_optcomp = callPackage ../development/ocaml-modules/janestreet/ppx-optcomp.nix {};
5543+
5544+ ppx_driver = callPackage ../development/ocaml-modules/janestreet/ppx-driver.nix {};
5545+
5546+ ppx_type_conv = callPackage ../development/ocaml-modules/janestreet/ppx-type-conv.nix {};
5547+
5548+ ppx_compare = callPackage ../development/ocaml-modules/janestreet/ppx-compare.nix {};
5549+
5550+ ppx_here = callPackage ../development/ocaml-modules/janestreet/ppx-here.nix {};
5551+
5552+ ppx_sexp_conv = callPackage ../development/ocaml-modules/janestreet/ppx-sexp-conv.nix {};
5553+
5554+ ppx_assert = callPackage ../development/ocaml-modules/janestreet/ppx-assert.nix {};
5555+
5556+ ppx_inline_test = callPackage ../development/ocaml-modules/janestreet/ppx-inline-test.nix {};
5557+
5558+ ppx_bench = callPackage ../development/ocaml-modules/janestreet/ppx-bench.nix {};
5559+
5560+ ppx_bin_prot = callPackage ../development/ocaml-modules/janestreet/ppx-bin-prot.nix {};
5561+
5562+ ppx_custom_printf = callPackage ../development/ocaml-modules/janestreet/ppx-custom-printf.nix {};
5563+
5564+ ppx_enumerate = callPackage ../development/ocaml-modules/janestreet/ppx-enumerate.nix {};
5565+
5566+ ppx_fail = callPackage ../development/ocaml-modules/janestreet/ppx-fail.nix {};
5567+
5568+ ppx_fields_conv = callPackage ../development/ocaml-modules/janestreet/ppx-fields-conv.nix {};
5569+
5570+ ppx_let = callPackage ../development/ocaml-modules/janestreet/ppx-let.nix {};
5571+
5572+ ppx_pipebang = callPackage ../development/ocaml-modules/janestreet/ppx-pipebang.nix {};
5573+
5574+ ppx_sexp_message = callPackage ../development/ocaml-modules/janestreet/ppx-sexp-message.nix {};
5575+
5576+ ppx_sexp_value = callPackage ../development/ocaml-modules/janestreet/ppx-sexp-value.nix {};
5577+
5578+ ppx_typerep_conv = callPackage ../development/ocaml-modules/janestreet/ppx-typerep-conv.nix {};
5579+
5580+ ppx_variants_conv = callPackage ../development/ocaml-modules/janestreet/ppx-variants-conv.nix {};
5581+
5582+ ppx_expect = callPackage ../development/ocaml-modules/janestreet/ppx-expect.nix {};
5583+
5584+ ppx_jane = callPackage ../development/ocaml-modules/janestreet/ppx-jane.nix {};
5585+
5586+
5587+ # Core sublibs
5588+ typerep =
5589+ if lib.versionOlder "4.02" ocaml_version
5590+ then callPackage ../development/ocaml-modules/janestreet/typerep.nix {}
5591+ else typerep_p4;
5592+
5593+ fieldslib =
5594+ if lib.versionOlder "4.02" ocaml_version
5595+ then callPackage ../development/ocaml-modules/janestreet/fieldslib.nix {}
5596+ else fieldslib_p4;
5597+
5598+ sexplib =
5599+ if lib.versionOlder "4.02" ocaml_version
5600+ then callPackage ../development/ocaml-modules/janestreet/sexplib.nix {}
5601+ else sexplib_p4;
5602+
5603+ variantslib =
5604+ if lib.versionOlder "4.02" ocaml_version
5605+ then callPackage ../development/ocaml-modules/janestreet/variantslib.nix {}
5606+ else variantslib_p4;
5607+
5608+ bin_prot =
5609+ if lib.versionOlder "4.02" ocaml_version
5610+ then callPackage ../development/ocaml-modules/janestreet/bin_prot.nix {}
5611+ else bin_prot_p4;
5612+
5613+ core_kernel =
5614+ if lib.versionOlder "4.02" ocaml_version
5615+ then callPackage ../development/ocaml-modules/janestreet/core_kernel.nix {}
5616+ else core_kernel_p4;
5617+
5618+ core =
5619+ if lib.versionOlder "4.02" ocaml_version
5620+ then callPackage ../development/ocaml-modules/janestreet/core.nix {}
5621+ else core_p4;
5622+
5623+ re2 =
5624+ if lib.versionOlder "4.02" ocaml_version
5625+ then callPackage ../development/ocaml-modules/janestreet/re2.nix {}
5626+ else re2_p4;
5627+
5628+ textutils =
5629+ if lib.versionOlder "4.02" ocaml_version
5630+ then callPackage ../development/ocaml-modules/janestreet/textutils.nix {}
5631+ else textutils_p4;
5632+
5633+ core_extended =
5634+ if lib.versionOlder "4.02" ocaml_version
5635+ then callPackage ../development/ocaml-modules/janestreet/core-extended.nix {}
5636+ else core_extended_p4;
5637+
5638+ async_kernel =
5639+ if lib.versionOlder "4.02" ocaml_version
5640+ then callPackage ../development/ocaml-modules/janestreet/async-kernel.nix {}
5641+ else async_kernel_p4;
5642+
5643+ async_rpc_kernel = callPackage ../development/ocaml-modules/janestreet/async-rpc-kernel.nix {};
5644+
5645+ async_unix =
5646+ if lib.versionOlder "4.02" ocaml_version
5647+ then callPackage ../development/ocaml-modules/janestreet/async-unix.nix {}
5648+ else async_unix_p4;
5649+
5650+ async_extra =
5651+ if lib.versionOlder "4.02" ocaml_version
5652+ then callPackage ../development/ocaml-modules/janestreet/async-extra.nix {}
5653+ else async_extra_p4;
5654+
5655+ async =
5656+ if lib.versionOlder "4.02" ocaml_version
5657+ then callPackage ../development/ocaml-modules/janestreet/async.nix {}
5658+ else async_p4;
55305659 };
55315660
55325661 ocamlPackages = recurseIntoAttrs ocamlPackages_4_01_0;
@@ -5656,9 +5785,15 @@ in
56565785 tinycc = callPackage ../development/compilers/tinycc { };
56575786
56585787 trv = callPackage ../development/tools/misc/trv {
5659− inherit (ocamlPackages_4_02) findlib camlp4 core async async_unix
5660− async_extra sexplib async_shell core_extended async_find cohttp uri;
5788+ inherit (ocamlPackages_4_02) findlib camlp4
5789+ async_shell async_find cohttp uri;
56615790 ocaml = ocaml_4_02;
5791+ async = ocamlPackages_4_02.async_p4;
5792+ async_extra = ocamlPackages_4_02.async_extra_p4;
5793+ async_unix = ocamlPackages_4_02.async_unix_p4;
5794+ core_extended = ocamlPackages_4_02.core_extended_p4;
5795+ sexplib = ocamlPackages_4_02.sexplib_p4;
5796+ core = ocamlPackages_4_02.core_p4;
56625797 };
56635798
56645799 bupc = callPackage ../development/compilers/bupc { };