Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)

Merge pull request #18572 from maurer/janestreet

Janestreet

authored by Joachim F and committed by GitHub aa922782 ac8206e3

+940 -80
+3 -3
pkgs/development/ocaml-modules/async/default.nix
··· 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}: 3 3 4 4 buildOcaml rec { 5 5 name = "async"; ··· 12 12 sha256 = "ecc4ca939ab098e689332921b110dbaacd06d9f8d8bf697023dfff3ca37dc1e9"; 13 13 }; 14 14 15 - propagatedBuildInputs = [ async_kernel async_unix async_extra pa_ounit ]; 15 + propagatedBuildInputs = [ async_kernel_p4 async_unix_p4 async_extra_p4 pa_ounit ]; 16 16 17 17 meta = with stdenv.lib; { 18 18 homepage = https://github.com/janestreet/async;
+5 -5
pkgs/development/ocaml-modules/async_extra/default.nix
··· 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}: 4 4 5 5 buildOcaml rec { 6 6 name = "async_extra"; ··· 14 14 }; 15 15 16 16 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 ]; 19 19 20 20 meta = with stdenv.lib; { 21 21 homepage = https://github.com/janestreet/async_extra;
+2 -2
pkgs/development/ocaml-modules/async_find/default.nix
··· 1 - {stdenv, buildOcaml, fetchurl, async, core, sexplib}: 1 + {stdenv, buildOcaml, fetchurl, async_p4, core_p4, sexplib_p4}: 2 2 3 3 buildOcaml rec { 4 4 name = "async_find"; ··· 11 11 sha256 = "4e3fda72f50174f05d96a5a09323f236c041b1a685890c155822956f3deb8803"; 12 12 }; 13 13 14 - propagatedBuildInputs = [ async core sexplib ]; 14 + propagatedBuildInputs = [ async_p4 core_p4 sexplib_p4 ]; 15 15 16 16 meta = with stdenv.lib; { 17 17 homepage = https://github.com/janestreet/async_find;
+4 -4
pkgs/development/ocaml-modules/async_kernel/default.nix
··· 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}: 4 4 5 5 buildOcaml rec { 6 6 name = "async_kernel"; ··· 14 14 }; 15 15 16 16 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 ]; 18 18 19 19 meta = with stdenv.lib; { 20 20 homepage = https://github.com/janestreet/async_kernel;
+2 -2
pkgs/development/ocaml-modules/async_shell/default.nix
··· 1 - {stdenv, buildOcaml, fetchurl, async, core, core_extended}: 1 + {stdenv, buildOcaml, fetchurl, async_p4, core_p4, core_extended_p4}: 2 2 3 3 buildOcaml rec { 4 4 name = "async_shell"; ··· 11 11 sha256 = "0b4497bea9124c5a665ee58fb0a73c5cbf2f757479df902e6870627196e6c105"; 12 12 }; 13 13 14 - propagatedBuildInputs = [ async core core_extended ]; 14 + propagatedBuildInputs = [ async_p4 core_p4 core_extended_p4 ]; 15 15 16 16 meta = with stdenv.lib; { 17 17 homepage = https://github.com/janestreet/async_shell;
+4 -4
pkgs/development/ocaml-modules/async_ssl/default.nix
··· 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}: 3 3 4 4 buildOcaml rec { 5 5 name = "async_ssl"; ··· 13 13 }; 14 14 15 15 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 ]; 18 18 19 19 meta = with stdenv.lib; { 20 20 homepage = https://github.com/janestreet/async_ssl;
+5 -5
pkgs/development/ocaml-modules/async_unix/default.nix
··· 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}: 4 4 5 5 buildOcaml rec { 6 6 name = "async_unix"; ··· 15 15 16 16 hasSharedObjects = true; 17 17 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 ]; 20 20 21 21 meta = with stdenv.lib; { 22 22 homepage = https://github.com/janestreet/async_unix;
+2 -2
pkgs/development/ocaml-modules/cohttp/default.nix
··· 1 - {stdenv, buildOcaml, fetchurl, cmdliner, re, uri, fieldslib, sexplib, conduit, 1 + {stdenv, buildOcaml, fetchurl, cmdliner, re, uri, fieldslib_p4, sexplib_p4, conduit, 2 2 stringext, base64, magic-mime, ounit, alcotest, lwt ? null, 3 3 async ? null, async_ssl ? null}: 4 4 ··· 14 14 }; 15 15 16 16 buildInputs = [ alcotest ]; 17 - propagatedBuildInputs = [ cmdliner re uri fieldslib sexplib sexplib 17 + propagatedBuildInputs = [ cmdliner re uri fieldslib_p4 sexplib_p4 sexplib_p4 18 18 conduit stringext base64 magic-mime ounit async 19 19 async_ssl lwt ]; 20 20
+2 -2
pkgs/development/ocaml-modules/conduit/default.nix
··· 1 - {stdenv, buildOcaml, fetchurl, sexplib, stringext, uri, cstruct, ipaddr, 1 + {stdenv, buildOcaml, fetchurl, sexplib_p4, stringext, uri, cstruct, ipaddr, 2 2 async ? null, async_ssl ? null, lwt ? null}: 3 3 4 4 buildOcaml rec { ··· 10 10 sha256 = "5cf1a46aa0254345e5143feebe6b54bdef96314e9987f44e69f24618d620faa1"; 11 11 }; 12 12 13 - propagatedBuildInputs = ([ sexplib stringext uri cstruct ipaddr ] 13 + propagatedBuildInputs = ([ sexplib_p4 stringext uri cstruct ipaddr ] 14 14 ++ stdenv.lib.optional (lwt != null) lwt 15 15 ++ stdenv.lib.optional (async != null) async 16 16 ++ stdenv.lib.optional (async_ssl != null) async_ssl);
+6 -6
pkgs/development/ocaml-modules/core/default.nix
··· 1 1 {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}: 5 5 6 6 buildOcaml rec { 7 7 name = "core"; ··· 17 17 hasSharedObjects = true; 18 18 19 19 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 ]; 23 23 24 24 meta = with stdenv.lib; { 25 25 homepage = https://github.com/janestreet/core;
+4 -4
pkgs/development/ocaml-modules/core_extended/default.nix
··· 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}: 3 3 4 4 buildOcaml rec { 5 5 name = "core_extended"; ··· 14 14 15 15 hasSharedObjects = true; 16 16 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 ]; 19 19 20 20 meta = with stdenv.lib; { 21 21 homepage = https://github.com/janestreet/core_extended;
+6 -6
pkgs/development/ocaml-modules/core_kernel/default.nix
··· 1 1 {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}: 5 5 6 6 buildOcaml rec { 7 7 name = "core_kernel"; ··· 17 17 hasSharedObjects = true; 18 18 19 19 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 ]; 23 23 24 24 meta = with stdenv.lib; { 25 25 homepage = https://github.com/janestreet/core_kernel;
+4 -4
pkgs/development/ocaml-modules/cstruct/default.nix
··· 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}: 3 3 4 4 assert stdenv.lib.versionAtLeast (stdenv.lib.getVersion ocaml) "4.01"; 5 5 ··· 12 12 }; 13 13 14 14 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 [])); 16 16 buildInputs = [ocaml findlib camlp4]; 17 - propagatedBuildInputs = [ocplib-endian sexplib lwt async]; 17 + propagatedBuildInputs = [ocplib-endian sexplib_p4 lwt async_p4]; 18 18 19 19 createFindlibDestdir = true; 20 20 dontStrip = true;
+2 -2
pkgs/development/ocaml-modules/custom_printf/default.nix
··· 1 - {stdenv, buildOcaml, fetchurl, type_conv, sexplib, pa_ounit}: 1 + {stdenv, buildOcaml, fetchurl, type_conv, sexplib_p4, pa_ounit}: 2 2 3 3 buildOcaml rec { 4 4 name = "custom_printf"; ··· 12 12 }; 13 13 14 14 buildInputs = [ pa_ounit ]; 15 - propagatedBuildInputs = [ type_conv sexplib ]; 15 + propagatedBuildInputs = [ type_conv sexplib_p4 ]; 16 16 17 17 meta = with stdenv.lib; { 18 18 homepage = https://github.com/janestreet/custom_printf;
+2 -2
pkgs/development/ocaml-modules/ezjsonm/default.nix
··· 1 - { stdenv, fetchzip, ocaml, findlib, jsonm, hex, sexplib, lwt }: 1 + { stdenv, fetchzip, ocaml, findlib, jsonm, hex, sexplib_p4, lwt }: 2 2 3 3 let version = "0.4.1"; in 4 4 ··· 11 11 }; 12 12 13 13 buildInputs = [ ocaml findlib ]; 14 - propagatedBuildInputs = [ jsonm hex sexplib lwt ]; 14 + propagatedBuildInputs = [ jsonm hex sexplib_p4 lwt ]; 15 15 createFindlibDestdir = true; 16 16 17 17 configureFlags = "--enable-lwt";
+2 -2
pkgs/development/ocaml-modules/ipaddr/default.nix
··· 1 - {stdenv, buildOcaml, fetchurl, sexplib}: 1 + {stdenv, buildOcaml, fetchurl, sexplib_p4}: 2 2 3 3 buildOcaml rec { 4 4 name = "ipaddr"; ··· 9 9 sha256 = "7051013d8f58abff433187d70cd7ddd7a6b49a6fbe6cad1893f571f65b8ed3d0"; 10 10 }; 11 11 12 - propagatedBuildInputs = [ sexplib ]; 12 + propagatedBuildInputs = [ sexplib_p4 ]; 13 13 14 14 configurePhase = '' 15 15 ocaml setup.ml -configure --prefix $out
+17
pkgs/development/ocaml-modules/janestreet/async-extra.nix
··· 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 + }
+16
pkgs/development/ocaml-modules/janestreet/async-kernel.nix
··· 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 + }
+18
pkgs/development/ocaml-modules/janestreet/async-rpc-kernel.nix
··· 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 + }
+17
pkgs/development/ocaml-modules/janestreet/async-unix.nix
··· 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 + }
+16
pkgs/development/ocaml-modules/janestreet/async.nix
··· 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 + }
+17
pkgs/development/ocaml-modules/janestreet/bin_prot.nix
··· 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 + }
+35
pkgs/development/ocaml-modules/janestreet/buildOcamlJane.nix
··· 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 + })
+22
pkgs/development/ocaml-modules/janestreet/core-extended.nix
··· 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 + }
+20
pkgs/development/ocaml-modules/janestreet/core.nix
··· 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 + }
+19
pkgs/development/ocaml-modules/janestreet/core_kernel.nix
··· 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 + }
+19
pkgs/development/ocaml-modules/janestreet/fieldslib.nix
··· 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 + }
+11
pkgs/development/ocaml-modules/janestreet/js-build-tools-darwin.patch
··· 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 + | _ ->
+29
pkgs/development/ocaml-modules/janestreet/js-build-tools.nix
··· 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 + }
+16
pkgs/development/ocaml-modules/janestreet/ppx-assert.nix
··· 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 + }
+18
pkgs/development/ocaml-modules/janestreet/ppx-bench.nix
··· 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 + }
+14
pkgs/development/ocaml-modules/janestreet/ppx-bin-prot.nix
··· 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 + }
+15
pkgs/development/ocaml-modules/janestreet/ppx-compare.nix
··· 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 + }
+14
pkgs/development/ocaml-modules/janestreet/ppx-core.nix
··· 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 + }
+15
pkgs/development/ocaml-modules/janestreet/ppx-custom-printf.nix
··· 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 + }
+15
pkgs/development/ocaml-modules/janestreet/ppx-driver.nix
··· 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 + }
+14
pkgs/development/ocaml-modules/janestreet/ppx-enumerate.nix
··· 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 + }
+19
pkgs/development/ocaml-modules/janestreet/ppx-expect.nix
··· 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 + }
+14
pkgs/development/ocaml-modules/janestreet/ppx-fail.nix
··· 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 + }
+14
pkgs/development/ocaml-modules/janestreet/ppx-fields-conv.nix
··· 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 + }
+14
pkgs/development/ocaml-modules/janestreet/ppx-here.nix
··· 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 + }
+14
pkgs/development/ocaml-modules/janestreet/ppx-inline-test.nix
··· 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 + }
+22
pkgs/development/ocaml-modules/janestreet/ppx-jane.nix
··· 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 + }
+14
pkgs/development/ocaml-modules/janestreet/ppx-let.nix
··· 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 + }
+15
pkgs/development/ocaml-modules/janestreet/ppx-optcomp.nix
··· 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 + }
+14
pkgs/development/ocaml-modules/janestreet/ppx-pipebang.nix
··· 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 + }
+14
pkgs/development/ocaml-modules/janestreet/ppx-sexp-conv.nix
··· 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 + }
+14
pkgs/development/ocaml-modules/janestreet/ppx-sexp-message.nix
··· 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 + }
+14
pkgs/development/ocaml-modules/janestreet/ppx-sexp-value.nix
··· 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 + }
+15
pkgs/development/ocaml-modules/janestreet/ppx-type-conv.nix
··· 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 + }
+14
pkgs/development/ocaml-modules/janestreet/ppx-typerep-conv.nix
··· 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 + }
+14
pkgs/development/ocaml-modules/janestreet/ppx-variants-conv.nix
··· 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 + }
+20
pkgs/development/ocaml-modules/janestreet/re2.nix
··· 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 + }
+18
pkgs/development/ocaml-modules/janestreet/sexplib.nix
··· 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 + }
+18
pkgs/development/ocaml-modules/janestreet/textutils.nix
··· 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 + }
+20
pkgs/development/ocaml-modules/janestreet/typerep.nix
··· 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 + }
+19
pkgs/development/ocaml-modules/janestreet/variantslib.nix
··· 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 + }
+2 -2
pkgs/development/ocaml-modules/pa_test/default.nix
··· 1 - {stdenv, buildOcaml, fetchurl, type_conv, pa_ounit, sexplib, herelib}: 1 + {stdenv, buildOcaml, fetchurl, type_conv, pa_ounit, sexplib_p4, herelib}: 2 2 3 3 buildOcaml rec { 4 4 name = "pa_test"; ··· 12 12 }; 13 13 14 14 buildInputs = [ pa_ounit ]; 15 - propagatedBuildInputs = [ type_conv sexplib herelib ]; 15 + propagatedBuildInputs = [ type_conv sexplib_p4 herelib ]; 16 16 17 17 meta = with stdenv.lib; { 18 18 homepage = https://github.com/janestreet/pa_test;
+28
pkgs/development/ocaml-modules/ppx_deriving/default.nix
··· 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 + }
+3 -3
pkgs/development/ocaml-modules/re2/default.nix
··· 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}: 3 3 4 4 buildOcaml rec { 5 5 name = "re2"; ··· 16 16 else null; 17 17 18 18 buildInputs = [ pa_ounit pa_test rsync ]; 19 - propagatedBuildInputs = [ core bin_prot comparelib sexplib ]; 19 + propagatedBuildInputs = [ core_p4 bin_prot_p4 comparelib sexplib_p4 ]; 20 20 21 21 hasSharedObjects = true; 22 22
+2 -2
pkgs/development/ocaml-modules/textutils/default.nix
··· 1 - {stdenv, buildOcaml, fetchurl, core, pa_ounit, pa_test, sexplib}: 1 + {stdenv, buildOcaml, fetchurl, core_p4, pa_ounit, pa_test, sexplib_p4}: 2 2 3 3 buildOcaml rec { 4 4 name = "textutils"; ··· 12 12 }; 13 13 14 14 buildInputs = [ pa_test ]; 15 - propagatedBuildInputs = [ core pa_ounit sexplib ]; 15 + propagatedBuildInputs = [ core_p4 pa_ounit sexplib_p4 ]; 16 16 17 17 meta = with stdenv.lib; { 18 18 homepage = https://github.com/janestreet/textutils;
+2 -2
pkgs/development/ocaml-modules/uri/default.nix
··· 1 - { stdenv, fetchzip, ocaml, findlib, re, sexplib, stringext, ounit }: 1 + { stdenv, fetchzip, ocaml, findlib, re, sexplib_p4, stringext, ounit }: 2 2 3 3 assert stdenv.lib.versionAtLeast (stdenv.lib.getVersion ocaml) "4"; 4 4 ··· 13 13 }; 14 14 15 15 buildInputs = [ ocaml findlib ounit ]; 16 - propagatedBuildInputs = [ re sexplib stringext ]; 16 + propagatedBuildInputs = [ re sexplib_p4 stringext ]; 17 17 18 18 configurePhase = "ocaml setup.ml -configure --prefix $out --enable-tests"; 19 19 buildPhase = ''
+151 -16
pkgs/top-level/all-packages.nix
··· 5077 5077 5078 5078 asn1-combinators = callPackage ../development/ocaml-modules/asn1-combinators { }; 5079 5079 5080 - async_extra = callPackage ../development/ocaml-modules/async_extra { }; 5080 + async_extra_p4 = callPackage ../development/ocaml-modules/async_extra { }; 5081 5081 5082 5082 async_find = callPackage ../development/ocaml-modules/async_find { }; 5083 5083 5084 - async_kernel = callPackage ../development/ocaml-modules/async_kernel { }; 5084 + async_kernel_p4 = callPackage ../development/ocaml-modules/async_kernel { }; 5085 5085 5086 5086 async_shell = callPackage ../development/ocaml-modules/async_shell { }; 5087 5087 5088 5088 async_ssl = callPackage ../development/ocaml-modules/async_ssl { }; 5089 5089 5090 - async_unix = callPackage ../development/ocaml-modules/async_unix { }; 5090 + async_unix_p4 = callPackage ../development/ocaml-modules/async_unix { }; 5091 5091 5092 - async = 5092 + async_p4 = 5093 5093 if lib.versionOlder "4.02" ocaml_version 5094 5094 then callPackage ../development/ocaml-modules/async { } 5095 5095 else null; ··· 5165 5165 5166 5166 biniou = callPackage ../development/ocaml-modules/biniou { }; 5167 5167 5168 - bin_prot = callPackage ../development/ocaml-modules/bin_prot { }; 5168 + bin_prot_p4 = callPackage ../development/ocaml-modules/bin_prot { }; 5169 5169 5170 5170 ocaml_cairo = callPackage ../development/ocaml-modules/ocaml-cairo { }; 5171 5171 ··· 5221 5221 5222 5222 faillib = callPackage ../development/ocaml-modules/faillib { }; 5223 5223 5224 - fieldslib = callPackage ../development/ocaml-modules/fieldslib { }; 5224 + fieldslib_p4 = callPackage ../development/ocaml-modules/fieldslib { }; 5225 5225 5226 5226 fileutils = callPackage ../development/ocaml-modules/fileutils { }; 5227 5227 ··· 5320 5320 5321 5321 comparelib = callPackage ../development/ocaml-modules/comparelib { }; 5322 5322 5323 - core_extended = callPackage ../development/ocaml-modules/core_extended { }; 5323 + core_extended_p4 = callPackage ../development/ocaml-modules/core_extended { }; 5324 5324 5325 - core_kernel = callPackage ../development/ocaml-modules/core_kernel { }; 5325 + core_kernel_p4 = callPackage ../development/ocaml-modules/core_kernel { }; 5326 5326 5327 - core = callPackage ../development/ocaml-modules/core { }; 5327 + core_p4 = callPackage ../development/ocaml-modules/core { }; 5328 5328 5329 5329 ocamlbuild = 5330 5330 if lib.versionOlder "4.03" ocaml_version then ··· 5396 5396 piqi = callPackage ../development/ocaml-modules/piqi { }; 5397 5397 piqi-ocaml = callPackage ../development/ocaml-modules/piqi-ocaml { }; 5398 5398 5399 - re2 = callPackage ../development/ocaml-modules/re2 { }; 5399 + re2_p4 = callPackage ../development/ocaml-modules/re2 { }; 5400 5400 5401 5401 result = callPackage ../development/ocaml-modules/ocaml-result { }; 5402 5402 ··· 5414 5414 camlp5 = camlp5_transitional; 5415 5415 }; 5416 5416 5417 - textutils = callPackage ../development/ocaml-modules/textutils { }; 5417 + textutils_p4 = callPackage ../development/ocaml-modules/textutils { }; 5418 5418 5419 5419 type_conv_108_08_00 = callPackage ../development/ocaml-modules/type_conv/108.08.00.nix { }; 5420 5420 type_conv_109_60_01 = callPackage ../development/ocaml-modules/type_conv/109.60.01.nix { }; ··· 5432 5432 sexplib_111_25_00 = callPackage ../development/ocaml-modules/sexplib/111.25.00.nix { }; 5433 5433 sexplib_112_24_01 = callPackage ../development/ocaml-modules/sexplib/112.24.01.nix { }; 5434 5434 5435 - sexplib = 5435 + sexplib_p4 = 5436 5436 if lib.versionOlder "4.02" ocaml_version 5437 5437 then sexplib_112_24_01 5438 5438 else if lib.versionOlder "4.00" ocaml_version ··· 5463 5463 then callPackage ../development/ocaml-modules/ppx_blob {} 5464 5464 else null; 5465 5465 5466 + ppx_deriving = 5467 + if lib.versionAtLeast ocaml_version "4.02" 5468 + then callPackage ../development/ocaml-modules/ppx_deriving {} 5469 + else null; 5470 + 5466 5471 ppx_tools = 5467 5472 if lib.versionAtLeast ocaml_version "4.02" 5468 5473 then callPackage ../development/ocaml-modules/ppx_tools {} ··· 5490 5495 5491 5496 twt = callPackage ../development/ocaml-modules/twt { }; 5492 5497 5493 - typerep = callPackage ../development/ocaml-modules/typerep { }; 5498 + typerep_p4 = callPackage ../development/ocaml-modules/typerep { }; 5494 5499 5495 5500 utop = callPackage ../development/tools/ocaml/utop { }; 5496 5501 ··· 5507 5512 uuseg = callPackage ../development/ocaml-modules/uuseg { }; 5508 5513 uutf = callPackage ../development/ocaml-modules/uutf { }; 5509 5514 5510 - variantslib = callPackage ../development/ocaml-modules/variantslib { }; 5515 + variantslib_p4 = callPackage ../development/ocaml-modules/variantslib { }; 5511 5516 5512 5517 vg = callPackage ../development/ocaml-modules/vg { }; 5513 5518 ··· 5527 5532 oasis = ocaml_oasis; 5528 5533 }; 5529 5534 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; 5530 5659 }; 5531 5660 5532 5661 ocamlPackages = recurseIntoAttrs ocamlPackages_4_01_0; ··· 5656 5785 tinycc = callPackage ../development/compilers/tinycc { }; 5657 5786 5658 5787 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; 5661 5790 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; 5662 5797 }; 5663 5798 5664 5799 bupc = callPackage ../development/compilers/bupc { };