diff --git a/pkgs/development/ocaml-modules/janestreet/async-rpc-kernel.nix b/pkgs/development/ocaml-modules/janestreet/async-rpc-kernel.nix deleted file mode 100644 index c2c51632b9f8..000000000000 --- a/pkgs/development/ocaml-modules/janestreet/async-rpc-kernel.nix +++ /dev/null @@ -1,18 +0,0 @@ -{lib, buildOcamlJane, async_kernel, bin_prot, core_kernel, - fieldslib, ppx_assert, ppx_bench, ppx_driver, ppx_expect, ppx_inline_test, - ppx_jane, sexplib, typerep, variantslib}: - -buildOcamlJane { - pname = "async_rpc_kernel"; - hash = "0pvys7giqix1nfidw1f4i3r94cf03ba1mvhadpm2zpdir3av91sw"; - propagatedBuildInputs = [ async_kernel bin_prot core_kernel fieldslib - ppx_assert ppx_bench ppx_driver ppx_expect ppx_inline_test ppx_jane - sexplib typerep variantslib ]; - - meta = with lib; { - homepage = "https://github.com/janestreet/async_rpc_kernel"; - description = "Platform-independent core of Async RPC library"; - license = licenses.asl20; - maintainers = [ maintainers.maurer ]; - }; -} diff --git a/pkgs/development/ocaml-modules/janestreet/core_bench.nix b/pkgs/development/ocaml-modules/janestreet/core_bench.nix deleted file mode 100644 index 8c318f03b05b..000000000000 --- a/pkgs/development/ocaml-modules/janestreet/core_bench.nix +++ /dev/null @@ -1,20 +0,0 @@ -{ lib -, buildOcamlJane -, core -, core_extended -, textutils -}: - -buildOcamlJane { - pname = "core_bench"; - hash = "1d1ainpakgsf5rg8dvar12ksgilqcc4465jr8gf7fz5mmn0mlifj"; - propagatedBuildInputs = - [ core core_extended textutils ]; - - meta = with lib; { - homepage = "https://github.com/janestreet/core_bench"; - description = "Micro-benchmarking library for OCaml"; - license = licenses.asl20; - maintainers = [ maintainers.pmahoney ]; - }; -} diff --git a/pkgs/development/ocaml-modules/janestreet/ppx-assert.nix b/pkgs/development/ocaml-modules/janestreet/ppx-assert.nix deleted file mode 100644 index 24ca4bfa9fa0..000000000000 --- a/pkgs/development/ocaml-modules/janestreet/ppx-assert.nix +++ /dev/null @@ -1,16 +0,0 @@ -{lib, buildOcamlJane, - ppx_compare, ppx_core, ppx_driver, ppx_here, ppx_sexp_conv, ppx_tools, ppx_type_conv, sexplib}: - -buildOcamlJane { - pname = "ppx_assert"; - hash = "0n7fa1j79ykbkhp8xz0ksg5096asri5d0msshsaqhw5fz18chvz4"; - propagatedBuildInputs = - [ ppx_compare ppx_core ppx_driver ppx_here ppx_sexp_conv ppx_tools - ppx_type_conv sexplib ]; - - meta = with lib; { - description = "Assert-like extension nodes that raise useful errors on failure"; - maintainers = [ maintainers.maurer ]; - license = licenses.asl20; - }; -} diff --git a/pkgs/development/ocaml-modules/janestreet/ppx-bench.nix b/pkgs/development/ocaml-modules/janestreet/ppx-bench.nix deleted file mode 100644 index d20be4fe1557..000000000000 --- a/pkgs/development/ocaml-modules/janestreet/ppx-bench.nix +++ /dev/null @@ -1,18 +0,0 @@ -{lib, buildOcamlJane, - ppx_core, ppx_driver, ppx_inline_test, ppx_tools}: - -buildOcamlJane { - pname = "ppx_bench"; - minimumSupportedOcamlVersion = "4.02"; - hash = "1l5jlwy1d1fqz70wa2fkf7izngp6nx3g4s9bmnd6ca4dx1x5bksk"; - - hasSharedObjects = true; - - propagatedBuildInputs = [ ppx_core ppx_driver ppx_inline_test ppx_tools ]; - - meta = with lib; { - description = "Syntax extension for writing in-line benchmarks in ocaml code"; - maintainers = [ maintainers.maurer ]; - license = licenses.asl20; - }; -} diff --git a/pkgs/development/ocaml-modules/janestreet/ppx-bin-prot.nix b/pkgs/development/ocaml-modules/janestreet/ppx-bin-prot.nix deleted file mode 100644 index 6405b6928237..000000000000 --- a/pkgs/development/ocaml-modules/janestreet/ppx-bin-prot.nix +++ /dev/null @@ -1,14 +0,0 @@ -{lib, buildOcamlJane, - ppx_core, ppx_tools, ppx_type_conv, bin_prot}: - -buildOcamlJane { - pname = "ppx_bin_prot"; - hash = "0kwmrrrybdkmphqczsr3lg3imsxcjb8iy41syvn44s3kcjfyyzbz"; - propagatedBuildInputs = [ ppx_core ppx_tools ppx_type_conv bin_prot ]; - - meta = with lib; { - description = "Generation of bin_prot readers and writers from types"; - maintainers = [ maintainers.maurer ]; - license = licenses.asl20; - }; -} diff --git a/pkgs/development/ocaml-modules/janestreet/ppx-compare.nix b/pkgs/development/ocaml-modules/janestreet/ppx-compare.nix deleted file mode 100644 index a0c7c548baad..000000000000 --- a/pkgs/development/ocaml-modules/janestreet/ppx-compare.nix +++ /dev/null @@ -1,15 +0,0 @@ -{lib, buildOcamlJane, - ppx_core, ppx_driver, ppx_tools, ppx_type_conv}: - -buildOcamlJane { - pname = "ppx_compare"; - hash = "05cnwxfxm8201lpfmcqkcqfy6plh5c2151jbj4qsnxhlvvjli459"; - propagatedBuildInputs = - [ppx_core ppx_driver ppx_tools ppx_type_conv ]; - - meta = with lib; { - description = "Generation of fast comparison functions from type expressions and definitions"; - maintainers = [ maintainers.maurer ]; - license = licenses.asl20; - }; -} diff --git a/pkgs/development/ocaml-modules/janestreet/ppx-custom-printf.nix b/pkgs/development/ocaml-modules/janestreet/ppx-custom-printf.nix deleted file mode 100644 index e95d46e7281b..000000000000 --- a/pkgs/development/ocaml-modules/janestreet/ppx-custom-printf.nix +++ /dev/null @@ -1,15 +0,0 @@ -{lib, buildOcamlJane, - ppx_core, ppx_driver, ppx_sexp_conv, ppx_tools}: - -buildOcamlJane { - pname = "ppx_custom_printf"; - hash = "06y85m6ky376byja4w7gdwd339di5ag0xrf0czkylzjsnylhdr85"; - - propagatedBuildInputs = [ ppx_core ppx_driver ppx_sexp_conv ppx_tools ]; - - meta = with lib; { - description = "Extensions to printf-style format-strings for user-defined string conversion"; - maintainers = [ maintainers.maurer ]; - license = licenses.asl20; - }; -} diff --git a/pkgs/development/ocaml-modules/janestreet/ppx-enumerate.nix b/pkgs/development/ocaml-modules/janestreet/ppx-enumerate.nix deleted file mode 100644 index 8591117abb67..000000000000 --- a/pkgs/development/ocaml-modules/janestreet/ppx-enumerate.nix +++ /dev/null @@ -1,14 +0,0 @@ -{lib, buildOcamlJane, - ppx_core, ppx_tools, ppx_type_conv}: - -buildOcamlJane { - pname = "ppx_enumerate"; - hash = "0m11921q2pjzkwckf21fynd2qfy83n9jjsgks23yagdai8a7ym16"; - propagatedBuildInputs = [ ppx_core ppx_tools ppx_type_conv ]; - - meta = with lib; { - description = "Generate a list containing all values of a finite type"; - maintainers = [ maintainers.maurer ]; - license = licenses.asl20; - }; -} diff --git a/pkgs/development/ocaml-modules/janestreet/ppx-expect.nix b/pkgs/development/ocaml-modules/janestreet/ppx-expect.nix deleted file mode 100644 index 87675f75e50b..000000000000 --- a/pkgs/development/ocaml-modules/janestreet/ppx-expect.nix +++ /dev/null @@ -1,19 +0,0 @@ -{lib, buildOcamlJane, - ppx_assert, ppx_compare, ppx_core, ppx_custom_printf, ppx_driver, - ppx_fields_conv, ppx_here, ppx_inline_test, ppx_sexp_conv, ppx_tools, - ppx_variants_conv, re, sexplib, variantslib, fieldslib}: - -buildOcamlJane { - pname = "ppx_expect"; - hash = "0cwagb4cj3x1vsr19kyfa9pxlvaz9a5v863cahi5glinsh4mzgdx"; - propagatedBuildInputs = - [ ppx_assert ppx_compare ppx_core ppx_custom_printf ppx_driver - ppx_fields_conv ppx_here ppx_inline_test ppx_sexp_conv ppx_tools - ppx_variants_conv re sexplib variantslib fieldslib ]; - - meta = with lib; { - description = "Cram-like framework for OCaml"; - maintainers = [ maintainers.maurer ]; - license = licenses.asl20; - }; -} diff --git a/pkgs/development/ocaml-modules/janestreet/ppx-fields-conv.nix b/pkgs/development/ocaml-modules/janestreet/ppx-fields-conv.nix deleted file mode 100644 index 756db313c266..000000000000 --- a/pkgs/development/ocaml-modules/janestreet/ppx-fields-conv.nix +++ /dev/null @@ -1,14 +0,0 @@ -{lib, buildOcamlJane, - ppx_core, ppx_tools, ppx_type_conv}: - -buildOcamlJane { - pname = "ppx_fields_conv"; - hash = "11w9wfjgkv7yxv3rwlwi6m193zan6rhmi45q7n3ddi2s8ls3gra7"; - propagatedBuildInputs = [ ppx_core ppx_tools ppx_type_conv ]; - - meta = with lib; { - description = "Generation of accessor and iteration functions for ocaml records"; - maintainers = [ maintainers.maurer ]; - license = licenses.asl20; - }; -} diff --git a/pkgs/development/ocaml-modules/janestreet/ppx-here.nix b/pkgs/development/ocaml-modules/janestreet/ppx-here.nix deleted file mode 100644 index f55b6725c23d..000000000000 --- a/pkgs/development/ocaml-modules/janestreet/ppx-here.nix +++ /dev/null @@ -1,14 +0,0 @@ -{lib, buildOcamlJane, - ppx_core, ppx_driver}: - -buildOcamlJane { - pname = "ppx_here"; - hash = "1mzdgn8k171zkwmbizf1a48l525ny0w3363c7gknpnifcinxniiw"; - propagatedBuildInputs = [ ppx_core ppx_driver ]; - - meta = with lib; { - description = "A ppx rewriter that defines an extension node whose value is its source position"; - maintainers = [ maintainers.maurer ]; - license = licenses.asl20; - }; -} diff --git a/pkgs/development/ocaml-modules/janestreet/ppx-inline-test.nix b/pkgs/development/ocaml-modules/janestreet/ppx-inline-test.nix deleted file mode 100644 index c09538d6f1df..000000000000 --- a/pkgs/development/ocaml-modules/janestreet/ppx-inline-test.nix +++ /dev/null @@ -1,14 +0,0 @@ -{lib, buildOcamlJane, - ppx_core, ppx_driver, ppx_tools}: - -buildOcamlJane { - pname = "ppx_inline_test"; - hash = "0ygapa54i0wwcj3jcqwiimrc6z0b7aafgjhbk37h6vvclnm5n7f6"; - propagatedBuildInputs = [ ppx_core ppx_driver ppx_tools ]; - - meta = with lib; { - description = "Syntax extension for writing in-line tests in ocaml code"; - maintainers = [ maintainers.maurer ]; - license = licenses.asl20; - }; -} diff --git a/pkgs/development/ocaml-modules/janestreet/ppx-jane.nix b/pkgs/development/ocaml-modules/janestreet/ppx-jane.nix deleted file mode 100644 index 0dc36f890bc3..000000000000 --- a/pkgs/development/ocaml-modules/janestreet/ppx-jane.nix +++ /dev/null @@ -1,22 +0,0 @@ -{lib, buildOcamlJane, - ppx_assert, - ppx_bench, ppx_bin_prot, ppx_compare, ppx_custom_printf, ppx_driver, - ppx_enumerate, ppx_expect, ppx_fail, ppx_fields_conv, ppx_here, - ppx_inline_test, ppx_let, ppx_pipebang, ppx_sexp_conv, ppx_sexp_message, - ppx_sexp_value, ppx_typerep_conv, ppx_variants_conv}: - -buildOcamlJane { - pname = "ppx_jane"; - hash = "1la0rp8fhzfglwb15gqh1pl1ld8ls4cnidaw9mjc5q1hb0yj1qd9"; - propagatedBuildInputs = - [ ppx_assert ppx_bench ppx_bin_prot ppx_compare ppx_custom_printf - ppx_driver ppx_enumerate ppx_expect ppx_fail ppx_fields_conv - ppx_here ppx_inline_test ppx_let ppx_pipebang ppx_sexp_conv - ppx_sexp_message ppx_sexp_value ppx_typerep_conv ppx_variants_conv ]; - - meta = with lib; { - description = "A ppx_driver including all standard ppx rewriters"; - maintainers = [ maintainers.maurer ]; - license = licenses.asl20; - }; -} diff --git a/pkgs/development/ocaml-modules/janestreet/ppx-let.nix b/pkgs/development/ocaml-modules/janestreet/ppx-let.nix deleted file mode 100644 index c43685065700..000000000000 --- a/pkgs/development/ocaml-modules/janestreet/ppx-let.nix +++ /dev/null @@ -1,14 +0,0 @@ -{lib, buildOcamlJane, - ppx_core, ppx_driver}: - -buildOcamlJane { - pname = "ppx_let"; - hash = "0whnfq4rgkq4apfqnvc100wlk25pmqdyvy6s21dsn3fcm9hff467"; - propagatedBuildInputs = [ ppx_core ppx_driver ]; - - meta = with lib; { - description = "A ppx rewriter for monadic and applicative let bindings and match statements"; - maintainers = [ maintainers.maurer ]; - license = licenses.asl20; - }; -} diff --git a/pkgs/development/ocaml-modules/janestreet/ppx-optcomp.nix b/pkgs/development/ocaml-modules/janestreet/ppx-optcomp.nix deleted file mode 100644 index e25ad6c28673..000000000000 --- a/pkgs/development/ocaml-modules/janestreet/ppx-optcomp.nix +++ /dev/null @@ -1,15 +0,0 @@ -{lib, buildOcamlJane, - ppx_core, ppx_tools}: - -buildOcamlJane { - pname = "ppx_optcomp"; - hash = "09m2x2a5ics4bz1j29n5slhh1rlyhcwdfmf44v1jfxcby3f0riwd"; - propagatedBuildInputs = - [ ppx_core ppx_tools ]; - - meta = with lib; { - 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."; - maintainers = [ maintainers.maurer ]; - license = licenses.asl20; - }; -} diff --git a/pkgs/development/ocaml-modules/janestreet/ppx-pipebang.nix b/pkgs/development/ocaml-modules/janestreet/ppx-pipebang.nix deleted file mode 100644 index 32262223205c..000000000000 --- a/pkgs/development/ocaml-modules/janestreet/ppx-pipebang.nix +++ /dev/null @@ -1,14 +0,0 @@ -{lib, buildOcamlJane, - ppx_core, ppx_driver, ppx_tools}: - -buildOcamlJane { - pname = "ppx_pipebang"; - hash = "0k25bhj9ziiw89xvs4svz7cgazbbmprba9wbic2llffg55fp7acc"; - propagatedBuildInputs = [ ppx_core ppx_driver ppx_tools ]; - - meta = with lib; { - description = "A ppx rewriter that inlines reverse application operators |> and |!"; - maintainers = [ maintainers.maurer ]; - license = licenses.asl20; - }; -} diff --git a/pkgs/development/ocaml-modules/janestreet/ppx-sexp-conv.nix b/pkgs/development/ocaml-modules/janestreet/ppx-sexp-conv.nix deleted file mode 100644 index a56bbc7b3e4f..000000000000 --- a/pkgs/development/ocaml-modules/janestreet/ppx-sexp-conv.nix +++ /dev/null @@ -1,14 +0,0 @@ -{lib, buildOcamlJane, - ppx_core, ppx_tools, ppx_type_conv, sexplib}: - -buildOcamlJane { - pname = "ppx_sexp_conv"; - hash = "1kgbmlc11w5jhbhmy5n0f734l44zwyry48342dm5qydi9sfzcgq2"; - propagatedBuildInputs = [ ppx_core ppx_tools ppx_type_conv sexplib]; - - meta = with lib; { - description = "PPX syntax extension that generates code for converting OCaml types to and from s-expressions, as defined in the sexplib library"; - maintainers = [ maintainers.maurer ]; - license = licenses.asl20; - }; -} diff --git a/pkgs/development/ocaml-modules/janestreet/ppx-sexp-message.nix b/pkgs/development/ocaml-modules/janestreet/ppx-sexp-message.nix deleted file mode 100644 index 2ea63cc3edc5..000000000000 --- a/pkgs/development/ocaml-modules/janestreet/ppx-sexp-message.nix +++ /dev/null @@ -1,14 +0,0 @@ -{lib, buildOcamlJane, - ppx_core, ppx_driver, ppx_here, ppx_sexp_conv, ppx_tools}: - -buildOcamlJane { - pname = "ppx_sexp_message"; - hash = "0inbff25qii868p141jb1y8n3vjfyz66jpnsl9nma6nkkyjkp05j"; - propagatedBuildInputs = [ ppx_core ppx_driver ppx_here ppx_sexp_conv ppx_tools ]; - - meta = with lib; { - description = "Easy construction of S-Expressions"; - maintainers = [ maintainers.maurer ]; - license = licenses.asl20; - }; -} diff --git a/pkgs/development/ocaml-modules/janestreet/ppx-sexp-value.nix b/pkgs/development/ocaml-modules/janestreet/ppx-sexp-value.nix deleted file mode 100644 index eaaf04ffe6c1..000000000000 --- a/pkgs/development/ocaml-modules/janestreet/ppx-sexp-value.nix +++ /dev/null @@ -1,14 +0,0 @@ -{lib, buildOcamlJane, - ppx_core, ppx_driver, ppx_here, ppx_sexp_conv, ppx_tools}: - -buildOcamlJane { - pname = "ppx_sexp_value"; - hash = "04602ppqfwx33ghjywam00hlqqzsz4d99r60k9q0v1mynk9pjhj0"; - propagatedBuildInputs = [ ppx_core ppx_driver ppx_here ppx_sexp_conv ppx_tools ]; - - meta = with lib; { - description = "A ppx rewriter that simplifies building S-Expression from OCaml Values"; - maintainers = [ maintainers.maurer ]; - license = licenses.asl20; - }; -} diff --git a/pkgs/development/ocaml-modules/janestreet/ppx-typerep-conv.nix b/pkgs/development/ocaml-modules/janestreet/ppx-typerep-conv.nix deleted file mode 100644 index b6b7fc85c96b..000000000000 --- a/pkgs/development/ocaml-modules/janestreet/ppx-typerep-conv.nix +++ /dev/null @@ -1,14 +0,0 @@ -{lib, buildOcamlJane, - ppx_core, ppx_tools, ppx_type_conv, typerep}: - -buildOcamlJane { - pname = "ppx_typerep_conv"; - hash = "0dldlx73r07j6w0i7h4hxly0v678naa79na5rafsk2974gs5ih9g"; - propagatedBuildInputs = [ ppx_core ppx_tools ppx_type_conv typerep ]; - - meta = with lib; { - description = "Automatic generation of runtime types from type definitions"; - maintainers = [ maintainers.maurer ]; - license = licenses.asl20; - }; -} diff --git a/pkgs/development/ocaml-modules/janestreet/ppx-variants-conv.nix b/pkgs/development/ocaml-modules/janestreet/ppx-variants-conv.nix deleted file mode 100644 index 5c53eb92f294..000000000000 --- a/pkgs/development/ocaml-modules/janestreet/ppx-variants-conv.nix +++ /dev/null @@ -1,14 +0,0 @@ -{lib, buildOcamlJane, - ppx_core, ppx_tools, ppx_type_conv, sexplib, variantslib}: - -buildOcamlJane { - pname = "ppx_variants_conv"; - hash = "0kgal8b9yh7wrd75hllb9fyl6zbksfnr9k7pykpzdm3js98dirhn"; - propagatedBuildInputs = [ ppx_core ppx_tools ppx_type_conv sexplib variantslib ]; - - meta = with lib; { - description = "Generation of accessor and iteration functions for ocaml variant types"; - maintainers = [ maintainers.maurer ]; - license = licenses.asl20; - }; -} diff --git a/pkgs/development/ocaml-modules/janestreet/sexplib.nix b/pkgs/development/ocaml-modules/janestreet/sexplib.nix deleted file mode 100644 index e24d9565c813..000000000000 --- a/pkgs/development/ocaml-modules/janestreet/sexplib.nix +++ /dev/null @@ -1,18 +0,0 @@ -{lib, buildOcamlJane, type_conv}: - -buildOcamlJane { - minimumSupportedOcamlVersion = "4.02"; - pname = "sexplib"; - version = "113.33.03"; - - hash = "1klar4qw4s7bj47ig7kxz2m4j1q3c60pfppis4vxrxv15r0kfh22"; - - propagatedBuildInputs = [ type_conv ]; - - meta = with lib; { - homepage = "https://ocaml.janestreet.com/"; - description = "Library for serializing OCaml values to and from S-expressions"; - license = licenses.asl20; - maintainers = [ maintainers.maurer maintainers.ericbmerritt ]; - }; -} diff --git a/pkgs/top-level/ocaml-packages.nix b/pkgs/top-level/ocaml-packages.nix index 6049da75a437..4942a5b50596 100644 --- a/pkgs/top-level/ocaml-packages.nix +++ b/pkgs/top-level/ocaml-packages.nix @@ -1479,120 +1479,6 @@ let buildOcamlJane = callPackage ../development/ocaml-modules/janestreet/buildOcamlJane.nix {}; - ppx_optcomp = - if lib.versionOlder "4.03" ocaml.version - then janeStreet.ppx_optcomp - else callPackage ../development/ocaml-modules/janestreet/ppx-optcomp.nix {}; - - ppx_compare = - if lib.versionOlder "4.03" ocaml.version - then janeStreet.ppx_compare - else callPackage ../development/ocaml-modules/janestreet/ppx-compare.nix {}; - - ppx_here = - if lib.versionOlder "4.03" ocaml.version - then janeStreet.ppx_here - else callPackage ../development/ocaml-modules/janestreet/ppx-here.nix {}; - - ppx_sexp_conv = - if lib.versionOlder "4.03" ocaml.version - then janeStreet.ppx_sexp_conv - else callPackage ../development/ocaml-modules/janestreet/ppx-sexp-conv.nix {}; - - ppx_assert = - if lib.versionOlder "4.03" ocaml.version - then janeStreet.ppx_assert - else callPackage ../development/ocaml-modules/janestreet/ppx-assert.nix {}; - - ppx_inline_test = - if lib.versionOlder "4.03" ocaml.version - then janeStreet.ppx_inline_test - else callPackage ../development/ocaml-modules/janestreet/ppx-inline-test.nix {}; - - ppx_bench = - if lib.versionOlder "4.03" ocaml.version - then janeStreet.ppx_bench - else callPackage ../development/ocaml-modules/janestreet/ppx-bench.nix {}; - - ppx_bin_prot = - if lib.versionOlder "4.03" ocaml.version - then janeStreet.ppx_bin_prot - else callPackage ../development/ocaml-modules/janestreet/ppx-bin-prot.nix {}; - - ppx_custom_printf = - if lib.versionOlder "4.03" ocaml.version - then janeStreet.ppx_custom_printf - else callPackage ../development/ocaml-modules/janestreet/ppx-custom-printf.nix {}; - - ppx_enumerate = - if lib.versionOlder "4.03" ocaml.version - then janeStreet.ppx_enumerate - else callPackage ../development/ocaml-modules/janestreet/ppx-enumerate.nix {}; - - ppx_fields_conv = - if lib.versionOlder "4.03" ocaml.version - then janeStreet.ppx_fields_conv - else callPackage ../development/ocaml-modules/janestreet/ppx-fields-conv.nix {}; - - ppx_let = - if lib.versionOlder "4.03" ocaml.version - then janeStreet.ppx_let - else callPackage ../development/ocaml-modules/janestreet/ppx-let.nix {}; - - ppx_pipebang = - if lib.versionOlder "4.03" ocaml.version - then janeStreet.ppx_pipebang - else callPackage ../development/ocaml-modules/janestreet/ppx-pipebang.nix {}; - - ppx_sexp_message = - if lib.versionOlder "4.03" ocaml.version - then janeStreet.ppx_sexp_message - else callPackage ../development/ocaml-modules/janestreet/ppx-sexp-message.nix {}; - - ppx_sexp_value = - if lib.versionOlder "4.03" ocaml.version - then janeStreet.ppx_sexp_value - else callPackage ../development/ocaml-modules/janestreet/ppx-sexp-value.nix {}; - - ppx_typerep_conv = - if lib.versionOlder "4.03" ocaml.version - then janeStreet.ppx_typerep_conv - else callPackage ../development/ocaml-modules/janestreet/ppx-typerep-conv.nix {}; - - ppx_variants_conv = - if lib.versionOlder "4.03" ocaml.version - then janeStreet.ppx_variants_conv - else callPackage ../development/ocaml-modules/janestreet/ppx-variants-conv.nix {}; - - ppx_expect = - if lib.versionOlder "4.03" ocaml.version - then janeStreet.ppx_expect - else callPackage ../development/ocaml-modules/janestreet/ppx-expect.nix {}; - - ppx_jane = - if lib.versionOlder "4.03" ocaml.version - then janeStreet.ppx_jane - else callPackage ../development/ocaml-modules/janestreet/ppx-jane.nix {}; - - - # Core sublibs - sexplib = - if lib.versionOlder "4.03" ocaml.version - then janeStreet.sexplib - else if lib.versionOlder "4.02" ocaml.version - then callPackage ../development/ocaml-modules/janestreet/sexplib.nix {} - else null; - - core_bench = - if lib.versionOlder "4.03" ocaml.version - then janeStreet.core_bench else - callPackage ../development/ocaml-modules/janestreet/core_bench.nix {}; - - async_rpc_kernel = - if lib.versionOlder "4.03" ocaml.version - then janeStreet.async_rpc_kernel - else callPackage ../development/ocaml-modules/janestreet/async-rpc-kernel.nix {}; - # Apps / from all-packages ocamlnat = callPackage ../development/ocaml-modules/ocamlnat { };