vuls: init at 0.27.0 (#348530)
[NixPkgs.git] / pkgs / top-level / ocaml-packages.nix
blobe9ce03cc678aead12f73149128f4471367d31499
1 { lib, newScope, pkgs, config }:
3 let
4   liftJaneStreet = self: super: super.janeStreet // super;
6   mkOcamlPackages = ocaml:
7     (lib.makeScope newScope (self: with self;
8   {
9     inherit ocaml;
11     ### A ###
12     aches = callPackage ../development/ocaml-modules/aches { };
13     aches-lwt = callPackage ../development/ocaml-modules/aches/lwt.nix { };
15     afl-persistent = callPackage ../development/ocaml-modules/afl-persistent { };
17     alcotest = callPackage ../development/ocaml-modules/alcotest {};
19     alcotest-lwt = callPackage ../development/ocaml-modules/alcotest/lwt.nix {};
21     alcotest-mirage = callPackage ../development/ocaml-modules/alcotest/mirage.nix {};
23     algaeff = callPackage ../development/ocaml-modules/algaeff { };
25     alsa = callPackage ../development/ocaml-modules/alsa { };
27     angstrom = callPackage ../development/ocaml-modules/angstrom { };
29     angstrom-async = callPackage ../development/ocaml-modules/angstrom-async { };
31     angstrom-lwt-unix = callPackage ../development/ocaml-modules/angstrom-lwt-unix { };
33     angstrom-unix = callPackage ../development/ocaml-modules/angstrom-unix { };
35     ansiterminal = callPackage ../development/ocaml-modules/ansiterminal { };
37     ao = callPackage ../development/ocaml-modules/ao { };
39     apron = callPackage ../development/ocaml-modules/apron { };
41     arp = callPackage ../development/ocaml-modules/arp { };
43     asai = callPackage ../development/ocaml-modules/asai { };
45     asetmap = callPackage ../development/ocaml-modules/asetmap { };
47     asn1-combinators = callPackage ../development/ocaml-modules/asn1-combinators { };
49     astring = callPackage ../development/ocaml-modules/astring { };
51     atd = callPackage ../development/ocaml-modules/atd { };
53     atdgen = callPackage ../development/ocaml-modules/atdgen { };
55     atdgen-codec-runtime = callPackage ../development/ocaml-modules/atdgen/codec-runtime.nix { };
57     atdgen-runtime = callPackage ../development/ocaml-modules/atdgen/runtime.nix { };
59     augeas = callPackage ../development/ocaml-modules/augeas {
60       inherit (pkgs) augeas;
61     };
63     awa = callPackage ../development/ocaml-modules/awa { };
65     awa-mirage = callPackage ../development/ocaml-modules/awa/mirage.nix { };
67     ### B ###
69     b0 = callPackage ../development/ocaml-modules/b0 { };
71     backoff = callPackage ../development/ocaml-modules/backoff { };
73     bap = janeStreet_0_15.bap;
75     base64 = callPackage ../development/ocaml-modules/base64 { };
77     batteries = callPackage ../development/ocaml-modules/batteries { };
79     bdd = callPackage ../development/ocaml-modules/bdd { };
81     benchmark = callPackage ../development/ocaml-modules/benchmark { };
83     bheap = callPackage ../development/ocaml-modules/bheap { };
85     bigarray-compat = callPackage ../development/ocaml-modules/bigarray-compat { };
87     bigarray-overlap = callPackage ../development/ocaml-modules/bigarray-overlap { };
89     bigstring = callPackage ../development/ocaml-modules/bigstring { };
91     bigstringaf = callPackage ../development/ocaml-modules/bigstringaf { };
93     bindlib = callPackage ../development/ocaml-modules/bindlib { };
95     biniou = callPackage ../development/ocaml-modules/biniou { };
97     binning = callPackage ../development/ocaml-modules/binning { };
99     biocaml = janeStreet_0_15.biocaml;
101     biotk = callPackage ../development/ocaml-modules/biotk { };
103     bisect_ppx = callPackage ../development/ocaml-modules/bisect_ppx { };
105     bistro = callPackage ../development/ocaml-modules/bistro { };
107     bitstring = callPackage ../development/ocaml-modules/bitstring { };
109     bitv = callPackage ../development/ocaml-modules/bitv { };
111     bjack = callPackage ../development/ocaml-modules/bjack {
112       inherit (pkgs.darwin.apple_sdk.frameworks) Accelerate CoreAudio;
113     };
115     bls12-381 = callPackage ../development/ocaml-modules/bls12-381 { };
116     bls12-381-gen = callPackage ../development/ocaml-modules/bls12-381/gen.nix { };
118     bls12-381-signature = callPackage ../development/ocaml-modules/bls12-381-signature { };
120     bos = callPackage ../development/ocaml-modules/bos { };
122     brisk-reconciler = callPackage ../development/ocaml-modules/brisk-reconciler { };
124     brr = callPackage ../development/ocaml-modules/brr { };
126     bwd = callPackage ../development/ocaml-modules/bwd { };
128     bytestring = callPackage ../development/ocaml-modules/bytestring { };
130     bz2 = callPackage ../development/ocaml-modules/bz2 { };
132     ### C ###
134     ca-certs = callPackage ../development/ocaml-modules/ca-certs { };
136     ca-certs-nss = callPackage ../development/ocaml-modules/ca-certs-nss { };
138     cairo2 = callPackage ../development/ocaml-modules/cairo2 {
139       inherit (pkgs.darwin.apple_sdk.frameworks) ApplicationServices;
140     };
142     calendar = callPackage ../development/ocaml-modules/calendar { };
144     callipyge = callPackage ../development/ocaml-modules/callipyge { };
146     camlidl = callPackage ../development/tools/ocaml/camlidl { };
148     camlimages = callPackage ../development/ocaml-modules/camlimages { };
150     camlp-streams = callPackage ../development/ocaml-modules/camlp-streams { };
152     camlp4 =
153       if lib.versionOlder "4.02" ocaml.version
154       then callPackage ../development/tools/ocaml/camlp4 { }
155       else null;
157     camlp5 = callPackage ../development/tools/ocaml/camlp5 { };
159     # Compatibility alias
160     camlp5_strict = camlp5;
162     camlpdf = callPackage ../development/ocaml-modules/camlpdf { };
164     camlzip = callPackage ../development/ocaml-modules/camlzip { };
166     camomile =
167       if lib.versionOlder "4.02" ocaml.version
168       then callPackage ../development/ocaml-modules/camomile { }
169       else callPackage ../development/ocaml-modules/camomile/0.8.5.nix { };
171     capnp = callPackage ../development/ocaml-modules/capnp { };
173     caqti = callPackage ../development/ocaml-modules/caqti { };
175     caqti-async = callPackage ../development/ocaml-modules/caqti/async.nix { };
177     caqti-driver-mariadb = callPackage ../development/ocaml-modules/caqti/driver-mariadb.nix { };
179     caqti-driver-postgresql = callPackage ../development/ocaml-modules/caqti/driver-postgresql.nix { };
181     caqti-driver-sqlite3 = callPackage ../development/ocaml-modules/caqti/driver-sqlite3.nix { };
183     caqti-dynload = callPackage ../development/ocaml-modules/caqti/dynload.nix { };
185     caqti-lwt = callPackage ../development/ocaml-modules/caqti/lwt.nix { };
187     caqti-type-calendar = callPackage ../development/ocaml-modules/caqti/type-calendar.nix { };
189     carton = callPackage ../development/ocaml-modules/carton { };
191     carton-git = callPackage ../development/ocaml-modules/carton/git.nix { };
193     carton-lwt = callPackage ../development/ocaml-modules/carton/lwt.nix {
194       git-binary = pkgs.git;
195     };
197     cfstream = callPackage ../development/ocaml-modules/cfstream { };
199     chacha = callPackage ../development/ocaml-modules/chacha { };
201     checkseum = callPackage ../development/ocaml-modules/checkseum { };
203     chrome-trace = callPackage ../development/ocaml-modules/chrome-trace { };
205     cil = callPackage ../development/ocaml-modules/cil { };
207     clap = callPackage ../development/ocaml-modules/clap { };
209     class_group_vdf = callPackage ../development/ocaml-modules/class_group_vdf { };
211     cmarkit = callPackage ../development/ocaml-modules/cmarkit { };
213     # The 1.1.0 release broke a lot of packages and is not compatible with
214     # OCaml < 4.08.
215     cmdliner =
216       if lib.versionAtLeast ocaml.version "4.08"
217       then cmdliner_1_1
218       else cmdliner_1_0;
220     cmdliner_1_0 = callPackage ../development/ocaml-modules/cmdliner/1_0.nix { };
222     cmdliner_1_1 = callPackage ../development/ocaml-modules/cmdliner/1_1.nix { };
224     cohttp = callPackage ../development/ocaml-modules/cohttp { };
226     cohttp-async = callPackage ../development/ocaml-modules/cohttp/async.nix { };
228     cohttp-lwt = callPackage ../development/ocaml-modules/cohttp/lwt.nix { };
230     cohttp-lwt-jsoo = callPackage ../development/ocaml-modules/cohttp/lwt-jsoo.nix { };
232     cohttp-lwt-unix = callPackage ../development/ocaml-modules/cohttp/lwt-unix.nix { };
234     cohttp-top = callPackage ../development/ocaml-modules/cohttp/top.nix { };
236     coin =  callPackage ../development/ocaml-modules/coin { };
238     color = callPackage ../development/ocaml-modules/color { };
240     colors = callPackage ../development/ocaml-modules/colors { };
242     conduit = callPackage ../development/ocaml-modules/conduit { };
244     conduit-async = callPackage ../development/ocaml-modules/conduit/async.nix { };
246     conduit-lwt = callPackage ../development/ocaml-modules/conduit/lwt.nix { };
248     conduit-lwt-unix = callPackage ../development/ocaml-modules/conduit/lwt-unix.nix { };
250     conduit-mirage = callPackage ../development/ocaml-modules/conduit/mirage.nix { };
252     config = callPackage ../development/ocaml-modules/config { };
254     config-file = callPackage ../development/ocaml-modules/config-file { };
256     containers = callPackage ../development/ocaml-modules/containers { };
258     containers-data = callPackage ../development/ocaml-modules/containers/data.nix { };
260     cooltt = callPackage ../development/ocaml-modules/cooltt { };
262     cow = callPackage ../development/ocaml-modules/cow { };
264     cpdf = callPackage ../development/ocaml-modules/cpdf { };
266     cppo = callPackage ../development/tools/ocaml/cppo { };
268     cppo_ocamlbuild = callPackage ../development/tools/ocaml/cppo/ocamlbuild.nix { };
270     cpu = callPackage ../development/ocaml-modules/cpu { };
272     cpuid = callPackage ../development/ocaml-modules/cpuid { };
274     crowbar = callPackage ../development/ocaml-modules/crowbar { };
276     crunch = callPackage ../development/tools/ocaml/crunch { };
278     cry = callPackage ../development/ocaml-modules/cry { };
280     cryptokit = callPackage ../development/ocaml-modules/cryptokit { };
282     csexp = callPackage ../development/ocaml-modules/csexp { };
284     cstruct = callPackage ../development/ocaml-modules/cstruct {};
286     cstruct-async = callPackage ../development/ocaml-modules/cstruct/async.nix { };
288     cstruct-lwt = callPackage ../development/ocaml-modules/cstruct/lwt.nix { };
290     cstruct-sexp = callPackage ../development/ocaml-modules/cstruct/sexp.nix {};
292     cstruct-unix = callPackage ../development/ocaml-modules/cstruct/unix.nix {};
294     csv = callPackage ../development/ocaml-modules/csv { };
296     csv-lwt = callPackage ../development/ocaml-modules/csv/lwt.nix { };
298     ctypes = callPackage ../development/ocaml-modules/ctypes { };
300     ctypes-foreign = callPackage ../development/ocaml-modules/ctypes/foreign.nix { };
302     ctypes_stubs_js = callPackage ../development/ocaml-modules/ctypes_stubs_js {
303       inherit (pkgs) nodejs;
304     };
306     cudf = callPackage ../development/ocaml-modules/cudf { };
308     curly = callPackage ../development/ocaml-modules/curly {
309       inherit (pkgs) curl;
310     };
312     curses = callPackage ../development/ocaml-modules/curses { };
314     ### D ###
316     dap =  callPackage ../development/ocaml-modules/dap { };
318     data-encoding = callPackage ../development/ocaml-modules/data-encoding { };
320     dates_calc = callPackage ../development/ocaml-modules/dates_calc {  };
322     dbf =  callPackage ../development/ocaml-modules/dbf { };
324     decompress =  callPackage ../development/ocaml-modules/decompress { };
326     dedukti =  callPackage ../development/ocaml-modules/dedukti { };
328     diet =  callPackage ../development/ocaml-modules/diet { };
330     digestif =  callPackage ../development/ocaml-modules/digestif { };
332     directories =  callPackage ../development/ocaml-modules/directories { };
334     dispatch =  callPackage ../development/ocaml-modules/dispatch { };
336     dns =  callPackage ../development/ocaml-modules/dns { };
338     dns-certify =  callPackage ../development/ocaml-modules/dns/certify.nix { };
340     dns-cli =  callPackage ../development/ocaml-modules/dns/cli.nix { };
342     dns-client =  callPackage ../development/ocaml-modules/dns/client.nix { };
344     dns-client-lwt = callPackage ../development/ocaml-modules/dns/client-lwt.nix { };
346     dns-client-mirage = callPackage ../development/ocaml-modules/dns/client-mirage.nix { };
348     dns-mirage = callPackage ../development/ocaml-modules/dns/mirage.nix { };
350     dns-resolver = callPackage ../development/ocaml-modules/dns/resolver.nix { };
352     dns-server = callPackage ../development/ocaml-modules/dns/server.nix { };
354     dns-stub = callPackage ../development/ocaml-modules/dns/stub.nix { };
356     dns-tsig = callPackage ../development/ocaml-modules/dns/tsig.nix { };
358     dnssec = callPackage ../development/ocaml-modules/dns/dnssec.nix { };
360     dolmen =  callPackage ../development/ocaml-modules/dolmen { };
362     dolmen_loop =  callPackage ../development/ocaml-modules/dolmen/loop.nix { };
364     dolmen_type =  callPackage ../development/ocaml-modules/dolmen/type.nix { };
366     dolog = callPackage ../development/ocaml-modules/dolog { };
368     domain-local-await = callPackage ../development/ocaml-modules/domain-local-await { };
370     domain-local-timeout = callPackage ../development/ocaml-modules/domain-local-timeout { };
372     domain-name = callPackage ../development/ocaml-modules/domain-name { };
374     domain_shims = callPackage ../development/ocaml-modules/domain_shims { };
376     domainslib = callPackage ../development/ocaml-modules/domainslib { };
378     dose3 = callPackage ../development/ocaml-modules/dose3 { };
380     dot-merlin-reader = callPackage ../development/tools/ocaml/merlin/dot-merlin-reader.nix { };
382     dscheck = callPackage ../development/ocaml-modules/dscheck { };
384     dssi = callPackage ../development/ocaml-modules/dssi { };
386     dtoa = callPackage ../development/ocaml-modules/dtoa { };
388     dtools = callPackage ../development/ocaml-modules/dtools { };
390     duff = callPackage ../development/ocaml-modules/duff { };
392     dum = callPackage ../development/ocaml-modules/dum { };
394     dune_1 = callPackage ../development/tools/ocaml/dune/1.nix { };
396     dune_2 =
397       if lib.versionAtLeast ocaml.version "4.08"
398       then callPackage ../development/tools/ocaml/dune/2.nix { }
399       else if lib.versionAtLeast ocaml.version "4.02"
400       then pkgs.dune_2
401       else throw "dune_2 is not available for OCaml ${ocaml.version}";
403     dune_3 =
404       if lib.versionAtLeast ocaml.version "4.08"
405       then callPackage ../development/tools/ocaml/dune/3.nix { }
406       else if lib.versionAtLeast ocaml.version "4.02"
407       then pkgs.dune_3
408       else throw "dune_3 is not available for OCaml ${ocaml.version}";
410     dune-action-plugin = callPackage ../development/ocaml-modules/dune-action-plugin { };
412     dune-build-info = callPackage ../development/ocaml-modules/dune-build-info { };
414     dune-configurator = callPackage ../development/ocaml-modules/dune-configurator { };
416     dune-glob = callPackage ../development/ocaml-modules/dune-glob { };
418     dune-private-libs = callPackage ../development/ocaml-modules/dune-private-libs { };
420     dune-release = callPackage ../development/tools/ocaml/dune-release {
421       inherit (pkgs) opam git mercurial coreutils gnutar bzip2;
422     };
424     dune-rpc = callPackage ../development/ocaml-modules/dune-rpc { };
426     dune-site = callPackage ../development/ocaml-modules/dune-site { };
428     duppy = callPackage ../development/ocaml-modules/duppy { };
430     duration =  callPackage ../development/ocaml-modules/duration { };
432     dyn =  callPackage ../development/ocaml-modules/dyn { };
434     dypgen = callPackage ../development/ocaml-modules/dypgen { };
436     ### E ###
438     earley = callPackage ../development/ocaml-modules/earley { };
440     earlybird = callPackage ../development/ocaml-modules/earlybird { };
442     easy-format = callPackage ../development/ocaml-modules/easy-format { };
444     eigen = callPackage ../development/ocaml-modules/eigen { };
446     eio = callPackage ../development/ocaml-modules/eio { };
447     eio_linux = callPackage ../development/ocaml-modules/eio/linux.nix { };
448     eio_main = callPackage ../development/ocaml-modules/eio/main.nix { };
449     eio_posix = callPackage ../development/ocaml-modules/eio/posix.nix { };
451     eio-ssl = callPackage ../development/ocaml-modules/eio-ssl { };
453     either = callPackage ../development/ocaml-modules/either { };
455     elina = callPackage ../development/ocaml-modules/elina { };
457     eliom = callPackage ../development/ocaml-modules/eliom { };
459     elpi = callPackage ../development/ocaml-modules/elpi (
460       let ppxlib_0_15 = if lib.versionAtLeast ppxlib.version "0.15"
461         then ppxlib.override { version = "0.15.0"; }
462         else ppxlib; in
463       {
464         ppx_deriving_0_15 = ppx_deriving.override { ppxlib = ppxlib_0_15; };
465         inherit ppxlib_0_15;
466       }
467     );
469     emile = callPackage ../development/ocaml-modules/emile { };
471     encore = callPackage ../development/ocaml-modules/encore { };
473     eqaf = callPackage ../development/ocaml-modules/eqaf { };
475     eqaf-cstruct = callPackage ../development/ocaml-modules/eqaf/cstruct.nix { };
477     erm_xml = callPackage ../development/ocaml-modules/erm_xml { };
479     erm_xmpp = callPackage ../development/ocaml-modules/erm_xmpp { };
481     ethernet = callPackage ../development/ocaml-modules/ethernet { };
483     extlib = extlib-1-7-9;
485     extlib-1-7-9 = callPackage ../development/ocaml-modules/extlib { };
487     extlib-1-7-7 = callPackage ../development/ocaml-modules/extlib/1.7.7.nix { };
489     ezjsonm = callPackage ../development/ocaml-modules/ezjsonm { };
491     ezjsonm-encoding = callPackage ../development/ocaml-modules/ezjsonm-encoding { };
493     ezxmlm = callPackage ../development/ocaml-modules/ezxmlm { };
495     ### F ###
497     faad = callPackage ../development/ocaml-modules/faad { };
499     facile = callPackage ../development/ocaml-modules/facile { };
501     faraday = callPackage ../development/ocaml-modules/faraday { };
503     faraday-async = callPackage ../development/ocaml-modules/faraday/async.nix { };
505     faraday-lwt = callPackage ../development/ocaml-modules/faraday/lwt.nix { };
507     faraday-lwt-unix = callPackage ../development/ocaml-modules/faraday/lwt-unix.nix { };
509     farfadet = callPackage ../development/ocaml-modules/farfadet { };
511     fdkaac = callPackage ../development/ocaml-modules/fdkaac { };
513     ff = callPackage ../development/ocaml-modules/ff { };
514     ff-pbt = callPackage ../development/ocaml-modules/ff/pbt.nix { };
515     ff-sig = callPackage ../development/ocaml-modules/ff/sig.nix { };
517     ffmpeg = callPackage ../development/ocaml-modules/ffmpeg { };
518     ffmpeg-av = callPackage ../development/ocaml-modules/ffmpeg/ffmpeg-av.nix {
519       ffmpeg = pkgs.ffmpeg_6;
520       inherit (pkgs.darwin.apple_sdk.frameworks) AudioToolbox VideoToolbox;
521     };
522     ffmpeg-avcodec = callPackage ../development/ocaml-modules/ffmpeg/ffmpeg-avcodec.nix {
523       ffmpeg = pkgs.ffmpeg_6;
524       inherit (pkgs.darwin.apple_sdk.frameworks) AudioToolbox VideoToolbox;
525     };
526     ffmpeg-avdevice = callPackage ../development/ocaml-modules/ffmpeg/ffmpeg-avdevice.nix {
527       ffmpeg = pkgs.ffmpeg_6;
528       inherit (pkgs.darwin.apple_sdk.frameworks) AppKit AudioToolbox AVFoundation Cocoa CoreImage ForceFeedback OpenGL VideoToolbox;
529     };
530     ffmpeg-avfilter = callPackage ../development/ocaml-modules/ffmpeg/ffmpeg-avfilter.nix {
531       ffmpeg = pkgs.ffmpeg_6;
532       inherit (pkgs.darwin.apple_sdk.frameworks) AppKit CoreImage OpenGL VideoToolbox;
533     };
534     ffmpeg-avutil = callPackage ../development/ocaml-modules/ffmpeg/ffmpeg-avutil.nix {
535       ffmpeg = pkgs.ffmpeg_6;
536       inherit (pkgs.darwin.apple_sdk.frameworks) AudioToolbox VideoToolbox;
537     };
538     ffmpeg-swresample = callPackage ../development/ocaml-modules/ffmpeg/ffmpeg-swresample.nix {
539       ffmpeg = pkgs.ffmpeg_6;
540       inherit (pkgs.darwin.apple_sdk.frameworks) VideoToolbox;
541     };
542     ffmpeg-swscale = callPackage ../development/ocaml-modules/ffmpeg/ffmpeg-swscale.nix {
543       ffmpeg = pkgs.ffmpeg_6;
544       inherit (pkgs.darwin.apple_sdk.frameworks) VideoToolbox;
545     };
547     fiber = callPackage ../development/ocaml-modules/fiber { };
549     fileutils = callPackage ../development/ocaml-modules/fileutils { };
551     findlib = callPackage ../development/tools/ocaml/findlib { };
553     fix = callPackage ../development/ocaml-modules/fix { };
555     flac = callPackage ../development/ocaml-modules/flac {
556       inherit (pkgs) flac;
557     };
559     flex = callPackage ../development/ocaml-modules/flex { };
561     fmt = callPackage ../development/ocaml-modules/fmt { };
563     fontconfig = callPackage ../development/ocaml-modules/fontconfig {
564       inherit (pkgs) fontconfig;
565     };
567     fpath = callPackage ../development/ocaml-modules/fpath { };
569     frei0r = callPackage ../development/ocaml-modules/frei0r {
570       inherit (pkgs) frei0r;
571     };
573     frontc = callPackage ../development/ocaml-modules/frontc { };
575     functoria = callPackage ../development/ocaml-modules/functoria { };
577     functoria-runtime = callPackage ../development/ocaml-modules/functoria/runtime.nix { };
579     functory = callPackage ../development/ocaml-modules/functory { };
581     ### G ###
583     gapi-ocaml = callPackage ../development/ocaml-modules/gapi-ocaml { };
585     gd4o = throw "ocamlPackages.gd4o is not maintained, use ocamlPackages.gd instead";
586     gd = callPackage ../development/ocaml-modules/gd { inherit (pkgs) gd; };
588     gen = callPackage ../development/ocaml-modules/gen { };
590     gen_js_api = callPackage ../development/ocaml-modules/gen_js_api { };
592     genspio = callPackage ../development/ocaml-modules/genspio { };
594     get-activity = callPackage ../development/ocaml-modules/get-activity { };
596     get-activity-lib = callPackage ../development/ocaml-modules/get-activity/lib.nix { };
598     getopt = callPackage ../development/ocaml-modules/getopt { };
600     gettext-camomile = callPackage ../development/ocaml-modules/ocaml-gettext/camomile.nix { };
602     gettext-stub = callPackage ../development/ocaml-modules/ocaml-gettext/stub.nix { };
604     gg = callPackage ../development/ocaml-modules/gg { };
606     git = callPackage ../development/ocaml-modules/git {
607       git-binary = pkgs.git;
608     };
610     git-mirage = callPackage ../development/ocaml-modules/git/mirage.nix { };
612     git-paf = callPackage ../development/ocaml-modules/git/paf.nix { };
614     git-unix = callPackage ../development/ocaml-modules/git/unix.nix {
615       git-binary = pkgs.git;
616     };
618     github = callPackage ../development/ocaml-modules/github {  };
619     github-data = callPackage ../development/ocaml-modules/github/data.nix {  };
620     github-jsoo = callPackage ../development/ocaml-modules/github/jsoo.nix {  };
621     github-unix = callPackage ../development/ocaml-modules/github/unix.nix {  };
623     gitlab = callPackage ../development/ocaml-modules/gitlab {  };
624     gitlab-jsoo = callPackage ../development/ocaml-modules/gitlab/jsoo.nix {  };
625     gitlab-unix = callPackage ../development/ocaml-modules/gitlab/unix.nix {  };
627     gluon = callPackage ../development/ocaml-modules/gluon { };
629     gluten = callPackage ../development/ocaml-modules/gluten { };
630     gluten-eio = callPackage ../development/ocaml-modules/gluten/eio.nix { };
631     gluten-lwt = callPackage ../development/ocaml-modules/gluten/lwt.nix { };
632     gluten-lwt-unix = callPackage ../development/ocaml-modules/gluten/lwt-unix.nix { };
634     gmap = callPackage ../development/ocaml-modules/gmap { };
636     gnuplot = callPackage ../development/ocaml-modules/gnuplot {
637       inherit (pkgs) gnuplot;
638     };
640     graphics =
641     if lib.versionOlder "4.09" ocaml.version
642     then callPackage ../development/ocaml-modules/graphics { }
643     else null;
645     graphql = callPackage ../development/ocaml-modules/graphql { };
647     graphql-cohttp = callPackage ../development/ocaml-modules/graphql/cohttp.nix { };
649     graphql-lwt = callPackage ../development/ocaml-modules/graphql/lwt.nix { };
651     graphql_parser = callPackage ../development/ocaml-modules/graphql/parser.nix { };
653     graphql_ppx = callPackage ../development/ocaml-modules/graphql_ppx { };
655     gsl = callPackage ../development/ocaml-modules/gsl {
656       inherit (pkgs) gsl;
657     };
659     gstreamer = callPackage ../development/ocaml-modules/gstreamer {
660       inherit (pkgs.darwin.apple_sdk.frameworks) AppKit Foundation;
661     };
663     ### H ###
665     h2 = callPackage ../development/ocaml-modules/h2 { };
667     h2-eio = callPackage ../development/ocaml-modules/h2/eio.nix { };
669     hack_parallel = callPackage ../development/ocaml-modules/hack_parallel { };
671     hacl-star = callPackage ../development/ocaml-modules/hacl-star { };
672     hacl-star-raw = callPackage ../development/ocaml-modules/hacl-star/raw.nix { };
674     happy-eyeballs = callPackage ../development/ocaml-modules/happy-eyeballs { };
676     happy-eyeballs-lwt = callPackage ../development/ocaml-modules/happy-eyeballs/lwt.nix { };
678     happy-eyeballs-mirage = callPackage ../development/ocaml-modules/happy-eyeballs/mirage.nix { };
680     hashcons = callPackage ../development/ocaml-modules/hashcons { };
682     hex = callPackage ../development/ocaml-modules/hex { };
684     hidapi = callPackage ../development/ocaml-modules/hidapi { };
686     higlo = callPackage ../development/ocaml-modules/higlo { };
688     hkdf = callPackage ../development/ocaml-modules/hkdf { };
690     hmap = callPackage ../development/ocaml-modules/hmap { };
692     hpack = callPackage ../development/ocaml-modules/hpack { };
694     http-mirage-client = callPackage ../development/ocaml-modules/http-mirage-client { };
696     httpaf = callPackage ../development/ocaml-modules/httpaf { };
698     httpaf-lwt-unix = callPackage ../development/ocaml-modules/httpaf/lwt-unix.nix { };
700     httpun = callPackage ../development/ocaml-modules/httpun { };
702     httpun-eio = callPackage ../development/ocaml-modules/httpun/eio.nix { };
704     httpun-types = callPackage ../development/ocaml-modules/httpun/types.nix { };
706     httpun-ws = callPackage ../development/ocaml-modules/httpun-ws { };
708     hxd = callPackage ../development/ocaml-modules/hxd { };
710     ### I ###
712     imagelib = callPackage ../development/ocaml-modules/imagelib { };
714     index = callPackage ../development/ocaml-modules/index { };
716     inifiles = callPackage ../development/ocaml-modules/inifiles { };
718     inotify = callPackage ../development/ocaml-modules/inotify { };
720     integers = callPackage ../development/ocaml-modules/integers { };
722     integers_stubs_js = callPackage ../development/ocaml-modules/integers_stubs_js { };
724     iomux = callPackage ../development/ocaml-modules/iomux { };
726     io-page = callPackage ../development/ocaml-modules/io-page { };
728     ipaddr = callPackage ../development/ocaml-modules/ipaddr { };
730     ipaddr-cstruct = callPackage ../development/ocaml-modules/ipaddr/cstruct.nix { };
732     ipaddr-sexp = callPackage ../development/ocaml-modules/ipaddr/sexp.nix { };
734     iri = callPackage ../development/ocaml-modules/iri { };
736     irmin = callPackage ../development/ocaml-modules/irmin { };
738     irmin-chunk = callPackage ../development/ocaml-modules/irmin/chunk.nix { };
740     irmin-containers = callPackage ../development/ocaml-modules/irmin/containers.nix { };
742     irmin-fs = callPackage ../development/ocaml-modules/irmin/fs.nix { };
744     irmin-git = callPackage ../development/ocaml-modules/irmin/git.nix { };
746     irmin-graphql = callPackage ../development/ocaml-modules/irmin/graphql.nix { };
748     irmin-mirage = callPackage ../development/ocaml-modules/irmin/mirage.nix { };
750     irmin-mirage-git = callPackage ../development/ocaml-modules/irmin/mirage-git.nix { };
752     irmin-mirage-graphql = callPackage ../development/ocaml-modules/irmin/mirage-graphql.nix { };
754     irmin-pack = callPackage ../development/ocaml-modules/irmin/pack.nix { };
756     irmin-test = callPackage ../development/ocaml-modules/irmin/test.nix { };
758     irmin-tezos = callPackage ../development/ocaml-modules/irmin/tezos.nix { };
760     irmin-watcher = callPackage ../development/ocaml-modules/irmin-watcher { };
762     iso8601 = callPackage ../development/ocaml-modules/iso8601 { };
764     iter = callPackage ../development/ocaml-modules/iter { };
766     ### J ###
768     # Jane Street
769     janePackage =
770       if lib.versionOlder "5.1" ocaml.version
771       then callPackage ../development/ocaml-modules/janestreet/janePackage_0_17.nix {}
772       else if lib.versionOlder "4.13.1" ocaml.version
773       then callPackage ../development/ocaml-modules/janestreet/janePackage_0_16.nix {}
774       else if lib.versionOlder "4.10.2" ocaml.version
775       then callPackage ../development/ocaml-modules/janestreet/janePackage_0_15.nix {}
776       else if lib.versionOlder "4.08" ocaml.version
777       then callPackage ../development/ocaml-modules/janestreet/janePackage_0_14.nix {}
778       else if lib.versionOlder "4.07" ocaml.version
779       then callPackage ../development/ocaml-modules/janestreet/janePackage_0_12.nix {}
780       else null;
782     janeStreet =
783       if lib.versionOlder "5.1" ocaml.version
784       then import ../development/ocaml-modules/janestreet/0.17.nix
785          {
786            inherit self;
787            inherit (pkgs) bash fzf lib openssl zstd;
788          }
789       else if lib.versionOlder "4.13.1" ocaml.version
790       then import ../development/ocaml-modules/janestreet/0.16.nix {
791         inherit self;
792         inherit (pkgs) bash fetchpatch fzf lib openssl zstd krb5;
793       }
794       else if lib.versionOlder "4.10.2" ocaml.version
795       then import ../development/ocaml-modules/janestreet/0.15.nix {
796         inherit self ocaml;
797         inherit (pkgs) bash fetchpatch fzf lib openssl zstd;
798       }
799       else if lib.versionOlder "4.08" ocaml.version
800       then import ../development/ocaml-modules/janestreet/0.14.nix {
801         inherit self;
802         inherit (pkgs) fetchpatch lib openssl zstd;
803       }
804       else if lib.versionOlder "4.07" ocaml.version
805       then import ../development/ocaml-modules/janestreet/0.12.nix {
806         self = self // {
807           ppxlib = ppxlib.override { version = "0.8.1"; };
808         };
809         inherit (pkgs) openssl;
810       }
811       else import ../development/ocaml-modules/janestreet {
812       };
814     janeStreet_0_15 = (lib.makeScope self.newScope (self': with self'; {
816       # ocamlPackages that janestreet v0.15 packages depend on.
817       jsDeps = let
818         uri-sexp = self.uri-sexp.override { inherit (self') ppx_sexp_conv sexplib0; };
819         cohttp = self.cohttp.override {
820           inherit (self') ppx_sexp_conv;
821           inherit uri-sexp;
822         };
823         ipaddr-sexp = self.ipaddr-sexp.override { inherit (self') ppx_sexp_conv; };
824         conduit = self.conduit.override {
825           inherit (self') ppx_sexp_conv sexplib;
826           inherit ipaddr-sexp;
827         };
828         conduit-async = self.conduit-async.override {
829           inherit (self') async ppx_sexp_conv ppx_here core sexplib async_ssl;
830           inherit conduit ipaddr-sexp;
831         };
832       in {
833         inherit (self) dune-configurator alcotest re num octavius uutf ounit ctypes ctypes-foreign;
834         ppxlib = self.ppxlib.override { inherit (self') stdio; };
835         cohttp-async = self.cohttp-async.override {
836           inherit (self') ppx_sexp_conv base async async_kernel async_unix core_unix sexplib0 core;
837           inherit uri-sexp cohttp conduit-async;
838         };
839         janePackage = callPackage ../development/ocaml-modules/janestreet/janePackage_0_15.nix { };
840       };
842       janeStreet = import ../development/ocaml-modules/janestreet/0.15.nix {
843         self = self' // jsDeps;
844         inherit ocaml;
845         inherit (pkgs) bash fetchpatch fzf lib openssl zstd;
846       };
848       # Packages that are not part of janestreet libraries, but still depend
849       # on v0.15 are kept in this scope, too.
851       bap = let
852         ppxlib = jsDeps.ppxlib;
853         lwt_ppx = self.lwt_ppx.override { inherit ppxlib; };
854         sedlex = self.sedlex.override { inherit ppxlib ppx_expect; };
855         in callPackage ../development/ocaml-modules/bap {
856           inherit (pkgs.llvmPackages_14) llvm;
857           ezjsonm = self.ezjsonm.override { inherit sexplib0; };
858           ppx_bitstring = self.ppx_bitstring.override { inherit ppxlib; };
859           ocurl = self.ocurl.override { inherit lwt_ppx; };
860           piqi = self.piqi.override { inherit sedlex; };
861           piqi-ocaml = self.piqi-ocaml.override { inherit piqi; };
862         };
864       biocaml = let
865         angstrom = self.angstrom.override { inherit ppx_let; };
866       in callPackage ../development/ocaml-modules/biocaml {
867         uri = self.uri.override { inherit angstrom; };
868         cfstream = self.cfstream.override { inherit core_kernel; };
869       };
871       ppx_bap = callPackage ../development/ocaml-modules/ppx_bap { };
872     })).overrideScope liftJaneStreet;
874     javalib = callPackage ../development/ocaml-modules/javalib { };
876     jingoo = callPackage ../development/ocaml-modules/jingoo { };
878     js_of_ocaml = callPackage ../development/tools/ocaml/js_of_ocaml { };
880     js_of_ocaml-compiler = callPackage ../development/tools/ocaml/js_of_ocaml/compiler.nix {};
882     js_of_ocaml-lwt = callPackage ../development/tools/ocaml/js_of_ocaml/lwt.nix {};
884     js_of_ocaml-ocamlbuild = callPackage ../development/tools/ocaml/js_of_ocaml/ocamlbuild.nix {};
886     js_of_ocaml-ppx = callPackage ../development/tools/ocaml/js_of_ocaml/ppx.nix {};
888     js_of_ocaml-ppx_deriving_json = callPackage ../development/tools/ocaml/js_of_ocaml/ppx_deriving_json.nix { };
890     js_of_ocaml-toplevel = callPackage ../development/tools/ocaml/js_of_ocaml/toplevel.nix {};
892     js_of_ocaml-tyxml = callPackage ../development/tools/ocaml/js_of_ocaml/tyxml.nix {};
894     json-data-encoding = callPackage ../development/ocaml-modules/json-data-encoding { };
896     json-data-encoding-bson = callPackage ../development/ocaml-modules/json-data-encoding/bson.nix { };
898     jsonm = callPackage ../development/ocaml-modules/jsonm { };
900     jsonrpc = callPackage ../development/ocaml-modules/ocaml-lsp/jsonrpc.nix { };
902     junit = callPackage ../development/ocaml-modules/junit { };
903     junit_alcotest = callPackage ../development/ocaml-modules/junit/alcotest.nix { };
904     junit_ounit = callPackage ../development/ocaml-modules/junit/ounit.nix { };
906     jwto = callPackage ../development/ocaml-modules/jwto { };
908     ### K ###
910     kafka = callPackage ../development/ocaml-modules/kafka { };
912     kafka_lwt = callPackage ../development/ocaml-modules/kafka/lwt.nix { };
914     kcas = callPackage ../development/ocaml-modules/kcas { };
916     ke = callPackage ../development/ocaml-modules/ke { };
918     kicadsch = callPackage ../development/ocaml-modules/kicadsch { };
920     kqueue = callPackage ../development/ocaml-modules/kqueue { };
922     ### L ###
924     lablgl = callPackage ../development/ocaml-modules/lablgl { };
926     lablgtk = callPackage ../development/ocaml-modules/lablgtk {
927       inherit (pkgs.gnome2) libgnomecanvas gtksourceview;
928     };
930     lablgtk-extras =
931       if lib.versionOlder "4.02" ocaml.version
932       then callPackage ../development/ocaml-modules/lablgtk-extras { }
933       else callPackage ../development/ocaml-modules/lablgtk-extras/1.4.nix { };
935     lablgtk3 = callPackage ../development/ocaml-modules/lablgtk3 { };
937     lablgtk3-gtkspell3 = callPackage ../development/ocaml-modules/lablgtk3/gtkspell3.nix { };
939     lablgtk3-rsvg2 = callPackage ../development/ocaml-modules/lablgtk3/rsvg2.nix { };
941     lablgtk3-sourceview3 = callPackage ../development/ocaml-modules/lablgtk3/sourceview3.nix { };
943     labltk = callPackage ../development/ocaml-modules/labltk {
944       inherit (pkgs.darwin.apple_sdk.frameworks) Cocoa;
945     };
947     lacaml = callPackage ../development/ocaml-modules/lacaml { };
949     ladspa = callPackage ../development/ocaml-modules/ladspa { };
951     lambda-term = callPackage ../development/ocaml-modules/lambda-term { };
953     lambdapi = callPackage ../development/ocaml-modules/lambdapi {
954       why3 = pkgs.why3.override { ocamlPackages = self; };
955     };
957     lambdasoup = callPackage ../development/ocaml-modules/lambdasoup { };
959     lame = callPackage ../development/ocaml-modules/lame {
960       inherit (pkgs) lame;
961     };
963     landmarks = callPackage ../development/ocaml-modules/landmarks { };
965     landmarks-ppx = callPackage ../development/ocaml-modules/landmarks-ppx { };
967     lastfm = callPackage ../development/ocaml-modules/lastfm { };
969     lem = callPackage ../development/ocaml-modules/lem { };
971     lens = callPackage ../development/ocaml-modules/lens { };
973     letsencrypt = callPackage ../development/ocaml-modules/letsencrypt { };
975     letsencrypt-app = callPackage ../development/ocaml-modules/letsencrypt/app.nix { };
977     letsencrypt-dns = callPackage ../development/ocaml-modules/letsencrypt/dns.nix { };
979     letsencrypt-mirage = callPackage ../development/ocaml-modules/letsencrypt/mirage.nix { };
981     libc = callPackage ../development/ocaml-modules/libc { };
983     lilv = callPackage ../development/ocaml-modules/lilv {
984       inherit (pkgs) lilv;
985     };
987     linenoise = callPackage ../development/ocaml-modules/linenoise { };
989     linksem = callPackage ../development/ocaml-modules/linksem { };
991     linol = callPackage ../development/ocaml-modules/linol { };
993     linol-lwt = callPackage ../development/ocaml-modules/linol/lwt.nix { };
995     llvm = callPackage ../development/ocaml-modules/llvm {
996       libllvm = pkgs.llvmPackages.libllvm;
997     };
999     lo = callPackage ../development/ocaml-modules/lo { };
1001     logs = callPackage ../development/ocaml-modules/logs { };
1003     lru = callPackage ../development/ocaml-modules/lru { };
1005     lsp = callPackage ../development/ocaml-modules/ocaml-lsp/lsp.nix { };
1007     lua-ml = callPackage ../development/ocaml-modules/lua-ml { };
1009     lun = callPackage ../development/ocaml-modules/lun { };
1011     lustre-v6 = callPackage ../development/ocaml-modules/lustre-v6 { };
1013     lutils = callPackage ../development/ocaml-modules/lutils { };
1015     luv = callPackage ../development/ocaml-modules/luv {
1016       inherit (pkgs) file;
1017     };
1019     lwd = callPackage ../development/ocaml-modules/lwd { };
1021     lwt = callPackage ../development/ocaml-modules/lwt { };
1023     lwt-canceler = callPackage ../development/ocaml-modules/lwt-canceler { };
1025     lwt_camlp4 = callPackage ../development/ocaml-modules/lwt/camlp4.nix { };
1027     lwt-dllist = callPackage ../development/ocaml-modules/lwt-dllist { };
1029     lwt-exit = callPackage ../development/ocaml-modules/lwt-exit { };
1031     lwt_log = callPackage ../development/ocaml-modules/lwt_log { };
1033     lwt_ppx = callPackage ../development/ocaml-modules/lwt/ppx.nix { };
1035     lwt_react = callPackage ../development/ocaml-modules/lwt_react { };
1037     lwt_ssl = callPackage ../development/ocaml-modules/lwt_ssl { };
1039     lwt-watcher = callPackage ../development/ocaml-modules/lwt-watcher { };
1041     ### M ###
1043     macaddr = callPackage ../development/ocaml-modules/macaddr { };
1045     macaddr-cstruct = callPackage ../development/ocaml-modules/macaddr/cstruct.nix { };
1047     macaddr-sexp = callPackage ../development/ocaml-modules/macaddr/sexp.nix { };
1049     mad = callPackage ../development/ocaml-modules/mad { };
1051     magic = callPackage ../development/ocaml-modules/magic { };
1053     magic-mime = callPackage ../development/ocaml-modules/magic-mime { };
1055     magic-trace = callPackage ../development/ocaml-modules/magic-trace { };
1057     mariadb = callPackage ../development/ocaml-modules/mariadb {
1058       inherit (pkgs) mariadb;
1059     };
1061     markup = callPackage ../development/ocaml-modules/markup { };
1063     mccs = callPackage ../development/ocaml-modules/mccs { };
1065     mdx = callPackage ../development/ocaml-modules/mdx {
1066       logs = logs.override { jsooSupport = false; lwtSupport = false; };
1067     };
1069     mec = callPackage ../development/ocaml-modules/mec { };
1071     memprof-limits = callPackage ../development/ocaml-modules/memprof-limits { };
1073     memtrace = callPackage ../development/ocaml-modules/memtrace { };
1075     menhir = callPackage ../development/ocaml-modules/menhir { };
1077     menhirLib = callPackage ../development/ocaml-modules/menhir/lib.nix { };
1079     menhirSdk = callPackage ../development/ocaml-modules/menhir/sdk.nix { };
1081     merlin =
1082       if lib.versionAtLeast ocaml.version "4.12"
1083       then callPackage ../development/tools/ocaml/merlin/4.x.nix { }
1084       else callPackage ../development/tools/ocaml/merlin { };
1086     merlin-extend = callPackage ../development/ocaml-modules/merlin-extend { };
1088     merlin-lib = callPackage ../development/tools/ocaml/merlin/lib.nix { };
1090     metadata = callPackage ../development/ocaml-modules/metadata { };
1092     metrics = callPackage ../development/ocaml-modules/metrics { };
1094     metrics-influx = callPackage ../development/ocaml-modules/metrics/influx.nix { };
1096     metrics-lwt = callPackage ../development/ocaml-modules/metrics/lwt.nix { };
1098     metrics-rusage = callPackage ../development/ocaml-modules/metrics/rusage.nix { };
1100     metrics-unix = callPackage ../development/ocaml-modules/metrics/unix.nix {
1101       inherit (pkgs) gnuplot;
1102     };
1104     mew = callPackage ../development/ocaml-modules/mew { };
1106     mew_vi = callPackage ../development/ocaml-modules/mew_vi { };
1108     mezzo = callPackage ../development/compilers/mezzo { };
1110     middleware = callPackage ../development/ocaml-modules/middleware { };
1112     mimic = callPackage ../development/ocaml-modules/mimic { };
1114     mimic-happy-eyeballs = callPackage ../development/ocaml-modules/mimic/happy-eyeballs.nix { };
1116     minisat = callPackage ../development/ocaml-modules/minisat { };
1118     minttea = callPackage ../development/ocaml-modules/minttea { };
1120     miou = callPackage ../development/ocaml-modules/miou { };
1122     mirage = callPackage ../development/ocaml-modules/mirage { };
1124     mirage-block = callPackage ../development/ocaml-modules/mirage-block { };
1126     mirage-block-combinators = callPackage ../development/ocaml-modules/mirage-block/combinators.nix { };
1128     mirage-block-ramdisk = callPackage ../development/ocaml-modules/mirage-block-ramdisk { };
1130     mirage-block-unix = callPackage ../development/ocaml-modules/mirage-block-unix { };
1132     mirage-bootvar-unix = callPackage ../development/ocaml-modules/mirage-bootvar-unix { };
1134     mirage-bootvar-xen = callPackage ../development/ocaml-modules/mirage-bootvar-xen { };
1136     mirage-clock = callPackage ../development/ocaml-modules/mirage-clock { };
1138     mirage-clock-solo5 = callPackage ../development/ocaml-modules/mirage-clock/solo5.nix { };
1140     mirage-clock-unix = callPackage ../development/ocaml-modules/mirage-clock/unix.nix { };
1142     mirage-console = callPackage ../development/ocaml-modules/mirage-console { };
1144     mirage-crypto = callPackage ../development/ocaml-modules/mirage-crypto { };
1146     mirage-crypto-ec = callPackage ../development/ocaml-modules/mirage-crypto/ec.nix { };
1148     mirage-crypto-pk = callPackage ../development/ocaml-modules/mirage-crypto/pk.nix { };
1150     mirage-crypto-rng = callPackage ../development/ocaml-modules/mirage-crypto/rng.nix { };
1152     mirage-crypto-rng-async = callPackage ../development/ocaml-modules/mirage-crypto/rng-async.nix { };
1154     mirage-crypto-rng-lwt = callPackage ../development/ocaml-modules/mirage-crypto/rng-lwt.nix { };
1156     mirage-crypto-rng-mirage = callPackage ../development/ocaml-modules/mirage-crypto/rng-mirage.nix { };
1158     mirage-device = callPackage ../development/ocaml-modules/mirage-device { };
1160     mirage-flow = callPackage ../development/ocaml-modules/mirage-flow { };
1162     mirage-flow-combinators = callPackage ../development/ocaml-modules/mirage-flow/combinators.nix { };
1164     mirage-flow-unix = callPackage ../development/ocaml-modules/mirage-flow/unix.nix { };
1166     mirage-kv = callPackage ../development/ocaml-modules/mirage-kv { };
1168     mirage-logs = callPackage ../development/ocaml-modules/mirage-logs { };
1170     mirage-nat = callPackage ../development/ocaml-modules/mirage-nat { };
1172     mirage-net = callPackage ../development/ocaml-modules/mirage-net { };
1174     mirage-net-xen = callPackage ../development/ocaml-modules/mirage-net-xen { };
1176     mirage-profile = callPackage ../development/ocaml-modules/mirage-profile { };
1178     mirage-protocols = callPackage ../development/ocaml-modules/mirage-protocols { };
1180     mirage-random = callPackage ../development/ocaml-modules/mirage-random { };
1182     mirage-random-test = callPackage ../development/ocaml-modules/mirage-random-test { };
1184     mirage-runtime = callPackage ../development/ocaml-modules/mirage/runtime.nix { };
1186     mirage-time = callPackage ../development/ocaml-modules/mirage-time { };
1188     mirage-time-unix = callPackage ../development/ocaml-modules/mirage-time/unix.nix { };
1190     mirage-unix = callPackage ../development/ocaml-modules/mirage-unix { };
1192     mirage-xen = callPackage ../development/ocaml-modules/mirage-xen { };
1194     mirage-vnetif = callPackage ../development/ocaml-modules/mirage-vnetif { };
1196     mlbdd = callPackage ../development/ocaml-modules/mlbdd { };
1198     mldoc =  callPackage ../development/ocaml-modules/mldoc { };
1200     mlgmpidl =  callPackage ../development/ocaml-modules/mlgmpidl { };
1202     mm = callPackage ../development/ocaml-modules/mm { };
1204     mmap =  callPackage ../development/ocaml-modules/mmap { };
1206     mopsa = callPackage ../development/ocaml-modules/mopsa { };
1208     morbig = callPackage ../development/ocaml-modules/morbig { };
1210     mparser =  callPackage ../development/ocaml-modules/mparser { };
1212     mparser-pcre =  callPackage ../development/ocaml-modules/mparser/pcre.nix { };
1214     msgpck = callPackage ../development/ocaml-modules/msgpck { };
1216     mrmime = callPackage ../development/ocaml-modules/mrmime { };
1218     msat = callPackage ../development/ocaml-modules/msat { };
1220     mtime =  callPackage ../development/ocaml-modules/mtime { };
1222     multicore-bench =  callPackage ../development/ocaml-modules/multicore-bench { };
1224     multicore-magic =  callPackage ../development/ocaml-modules/multicore-magic { };
1226     multipart-form-data =  callPackage ../development/ocaml-modules/multipart-form-data { };
1228     mustache =  callPackage ../development/ocaml-modules/mustache { };
1230     ### N ###
1232     nbd = pkgs.libnbd.override {
1233       ocamlPackages = self;
1234       buildOcamlBindings = true;
1235     };
1237     netchannel = callPackage ../development/ocaml-modules/netchannel { };
1239     ninja_utils = callPackage ../development/ocaml-modules/ninja_utils { };
1241     nonstd =  callPackage ../development/ocaml-modules/nonstd { };
1243     note = callPackage ../development/ocaml-modules/note { };
1245     nottui = callPackage ../development/ocaml-modules/lwd/nottui.nix { };
1247     nottui-lwt = callPackage ../development/ocaml-modules/lwd/nottui-lwt.nix { };
1249     nottui-pretty = callPackage ../development/ocaml-modules/lwd/nottui-pretty.nix { };
1251     notty = callPackage ../development/ocaml-modules/notty { };
1253     npy = callPackage ../development/ocaml-modules/npy {
1254       inherit (pkgs.python3Packages) numpy;
1255     };
1257     num = if lib.versionOlder "4.06" ocaml.version
1258       then callPackage ../development/ocaml-modules/num {}
1259       else null;
1261     ### O ###
1263     ocaml_cairo = callPackage ../development/ocaml-modules/ocaml-cairo { };
1265     ocaml_cryptgps = callPackage ../development/ocaml-modules/cryptgps { };
1267     ocaml_expat = callPackage ../development/ocaml-modules/expat { };
1269     ocaml-freestanding = callPackage ../development/ocaml-modules/ocaml-freestanding { };
1271     ocaml_gettext = callPackage ../development/ocaml-modules/ocaml-gettext { };
1273     ocaml_libvirt = callPackage ../development/ocaml-modules/ocaml-libvirt {
1274       inherit (pkgs.darwin.apple_sdk.frameworks) Foundation AppKit;
1275     };
1277     ocaml-lsp = callPackage ../development/ocaml-modules/ocaml-lsp { };
1279     ocaml-lua = callPackage ../development/ocaml-modules/ocaml-lua { };
1281     ocaml_lwt = lwt;
1283     ocaml-migrate-parsetree = ocaml-migrate-parsetree-1-8;
1285     ocaml-migrate-parsetree-1-8 = callPackage ../development/ocaml-modules/ocaml-migrate-parsetree/1.8.x.nix { };
1287     ocaml-migrate-parsetree-2 = callPackage ../development/ocaml-modules/ocaml-migrate-parsetree/2.x.nix { };
1289     ocaml-monadic = callPackage ../development/ocaml-modules/ocaml-monadic { };
1291     ocaml_mysql = callPackage ../development/ocaml-modules/mysql { };
1293     ocaml_oasis = callPackage ../development/tools/ocaml/oasis { };
1295     ocaml_pcre = callPackage ../development/ocaml-modules/pcre {};
1297     ocaml-print-intf = callPackage ../development/ocaml-modules/ocaml-print-intf { };
1299     ocaml-protoc = callPackage ../development/ocaml-modules/ocaml-protoc { };
1301     ocaml-protoc-plugin = callPackage ../development/ocaml-modules/ocaml-protoc-plugin { };
1303     ocaml-r = callPackage ../development/ocaml-modules/ocaml-r { };
1305     ocaml-recovery-parser = callPackage ../development/tools/ocaml/ocaml-recovery-parser { };
1307     ocaml-sat-solvers = callPackage ../development/ocaml-modules/ocaml-sat-solvers { };
1309     ocaml_sqlite3 = callPackage ../development/ocaml-modules/sqlite3 { };
1311     ocaml-syntax-shims = callPackage ../development/ocaml-modules/ocaml-syntax-shims { };
1313     ocaml-version = callPackage ../development/ocaml-modules/ocaml-version { };
1315     ocaml-vdom = callPackage ../development/ocaml-modules/ocaml-vdom { };
1317     ocamlbuild =
1318       if lib.versionOlder "4.03" ocaml.version
1319         then callPackage ../development/tools/ocaml/ocamlbuild { }
1320         else null;
1322     ocamlc-loc = callPackage ../development/ocaml-modules/ocamlc-loc { };
1324     # Older versions of OCamlformat should be removed when their usage decrease
1325     # This script scraps Github looking for OCamlformat's options and versions usage:
1326     #  https://gist.github.com/Julow/110dc94308d6078225e0665e3eccd433
1327     ocamlformat_0_19_0 = ocamlformat.override { version = "0.19.0"; };
1328     ocamlformat_0_20_0 = ocamlformat.override { version = "0.20.0"; };
1329     ocamlformat_0_20_1 = ocamlformat.override { version = "0.20.1"; };
1330     ocamlformat_0_21_0 = ocamlformat.override { version = "0.21.0"; };
1331     ocamlformat_0_22_4 = ocamlformat.override { version = "0.22.4"; };
1332     ocamlformat_0_23_0 = ocamlformat.override { version = "0.23.0"; };
1333     ocamlformat_0_24_1 = ocamlformat.override { version = "0.24.1"; };
1334     ocamlformat_0_25_1 = ocamlformat.override { version = "0.25.1"; };
1335     ocamlformat_0_26_0 = ocamlformat.override { version = "0.26.0"; };
1336     ocamlformat_0_26_1 = ocamlformat.override { version = "0.26.1"; };
1337     ocamlformat_0_26_2 = ocamlformat.override { version = "0.26.2"; };
1339     ocamlformat = callPackage ../development/ocaml-modules/ocamlformat/ocamlformat.nix {};
1341     ocamlformat-lib = callPackage ../development/ocaml-modules/ocamlformat/ocamlformat-lib.nix { };
1343     ocamlformat-rpc-lib = callPackage ../development/ocaml-modules/ocamlformat/ocamlformat-rpc-lib.nix { };
1345     ocamlfuse = callPackage ../development/ocaml-modules/ocamlfuse { };
1347     ocamlgraph = callPackage ../development/ocaml-modules/ocamlgraph { };
1348     ocamlgraph_gtk = callPackage ../development/ocaml-modules/ocamlgraph/gtk.nix { };
1350     ocamlify = callPackage ../development/tools/ocaml/ocamlify { };
1352     ocamline = callPackage ../development/ocaml-modules/ocamline { };
1354     ocamlmod = callPackage ../development/tools/ocaml/ocamlmod { };
1356     ocamlnet = callPackage ../development/ocaml-modules/ocamlnet { };
1358     ocamlscript = callPackage ../development/tools/ocaml/ocamlscript { };
1360     ocb-stubblr = callPackage ../development/ocaml-modules/ocb-stubblr { };
1362     ocf = callPackage ../development/ocaml-modules/ocf { };
1364     ocf_ppx = callPackage ../development/ocaml-modules/ocf/ppx.nix { };
1366     ocolor = callPackage ../development/ocaml-modules/ocolor { };
1368     ocp-build = callPackage ../development/tools/ocaml/ocp-build { };
1370     ocp-indent = callPackage ../development/tools/ocaml/ocp-indent { };
1372     ocp-index = callPackage ../development/tools/ocaml/ocp-index { };
1374     ocp-ocamlres = callPackage ../development/ocaml-modules/ocp-ocamlres { };
1376     ocplib-endian = callPackage ../development/ocaml-modules/ocplib-endian { };
1378     ocplib-simplex = callPackage ../development/ocaml-modules/ocplib-simplex { };
1380     ocsigen-ppx-rpc = callPackage ../development/ocaml-modules/ocsigen-ppx-rpc { };
1382     ocsigen_server = callPackage ../development/ocaml-modules/ocsigen-server { };
1384     ocsigen-start = callPackage ../development/ocaml-modules/ocsigen-start { };
1386     ocsigen-toolkit = callPackage ../development/ocaml-modules/ocsigen-toolkit { };
1388     ocsipersist = callPackage ../development/ocaml-modules/ocsipersist {};
1390     ocsipersist-lib = callPackage ../development/ocaml-modules/ocsipersist/lib.nix { };
1392     ocsipersist-pgsql = callPackage ../development/ocaml-modules/ocsipersist/pgsql.nix { };
1394     ocsipersist-sqlite = callPackage ../development/ocaml-modules/ocsipersist/sqlite.nix { };
1396     octavius = callPackage ../development/ocaml-modules/octavius { };
1398     ocurl = callPackage ../development/ocaml-modules/ocurl { };
1400     odate = callPackage ../development/ocaml-modules/odate { };
1402     odig = callPackage ../development/ocaml-modules/odig { };
1404     odoc = callPackage ../development/ocaml-modules/odoc { };
1406     odoc-parser = callPackage ../development/ocaml-modules/odoc-parser { };
1408     ogg = callPackage ../development/ocaml-modules/ogg { };
1410     ojs = callPackage ../development/ocaml-modules/gen_js_api/ojs.nix { };
1412     omd = callPackage ../development/ocaml-modules/omd { };
1414     opam-core = callPackage ../development/ocaml-modules/opam-core {
1415       inherit (pkgs) opam;
1416     };
1418     opam-file-format = callPackage ../development/ocaml-modules/opam-file-format { };
1420     opam-format = callPackage ../development/ocaml-modules/opam-format { };
1422     opam-repository = callPackage ../development/ocaml-modules/opam-repository { };
1424     opam-state = callPackage ../development/ocaml-modules/opam-state { };
1426     opium = callPackage ../development/ocaml-modules/opium { };
1428     opti = callPackage ../development/ocaml-modules/opti { };
1430     optint = callPackage ../development/ocaml-modules/optint { };
1432     opus = callPackage ../development/ocaml-modules/opus { };
1434     ordering = callPackage ../development/ocaml-modules/ordering { };
1436     oseq = callPackage ../development/ocaml-modules/oseq { };
1438     otfed = callPackage ../development/ocaml-modules/otfed { };
1440     otfm = callPackage ../development/ocaml-modules/otfm { };
1442     otoml = callPackage ../development/ocaml-modules/otoml { };
1444     otr = callPackage ../development/ocaml-modules/otr { };
1446     ounit = callPackage ../development/ocaml-modules/ounit { };
1448     ounit2 = callPackage ../development/ocaml-modules/ounit2 { };
1450     owee = callPackage ../development/ocaml-modules/owee { };
1452     owl = callPackage ../development/ocaml-modules/owl { };
1454     owl-base = callPackage ../development/ocaml-modules/owl-base { };
1456     ### P ###
1458     paf = callPackage ../development/ocaml-modules/paf { };
1460     paf-cohttp = callPackage ../development/ocaml-modules/paf/cohttp.nix { };
1462     parany = callPackage ../development/ocaml-modules/parany { };
1464     parmap = callPackage ../development/ocaml-modules/parmap { };
1466     parse-argv = callPackage ../development/ocaml-modules/parse-argv { };
1468     path_glob = callPackage ../development/ocaml-modules/path_glob { };
1470     pbkdf = callPackage ../development/ocaml-modules/pbkdf { };
1472     pbrt = callPackage ../development/ocaml-modules/pbrt { };
1474     pcap-format = callPackage ../development/ocaml-modules/pcap-format { };
1476     pecu = callPackage ../development/ocaml-modules/pecu { };
1478     pgocaml = callPackage ../development/ocaml-modules/pgocaml {};
1480     pgocaml_ppx = callPackage ../development/ocaml-modules/pgocaml/ppx.nix {};
1482     pgsolver = callPackage ../development/ocaml-modules/pgsolver { };
1484     phylogenetics = callPackage ../development/ocaml-modules/phylogenetics { };
1486     piaf = callPackage ../development/ocaml-modules/piaf { };
1488     piqi = callPackage ../development/ocaml-modules/piqi { };
1490     piqi-ocaml = callPackage ../development/ocaml-modules/piqi-ocaml { };
1492     plotkicadsch = callPackage ../development/ocaml-modules/plotkicadsch {
1493       inherit (pkgs) coreutils imagemagick;
1494     };
1496     poll = callPackage ../development/ocaml-modules/poll { };
1498     polynomial = callPackage ../development/ocaml-modules/polynomial { };
1500     portaudio = callPackage ../development/ocaml-modules/portaudio {
1501       inherit (pkgs) portaudio;
1502     };
1504     posix-base = callPackage ../development/ocaml-modules/posix/base.nix { };
1506     posix-socket = callPackage ../development/ocaml-modules/posix/socket.nix { };
1508     posix-time2 = callPackage ../development/ocaml-modules/posix/time2.nix { };
1510     posix-types = callPackage ../development/ocaml-modules/posix/types.nix { };
1512     postgresql = callPackage ../development/ocaml-modules/postgresql {
1513       inherit (pkgs) postgresql;
1514     };
1516     pp = callPackage ../development/ocaml-modules/pp { };
1518     pp_loc = callPackage ../development/ocaml-modules/pp_loc { };
1520     pprint = callPackage ../development/ocaml-modules/pprint { };
1522     ppx_bap = janeStreet_0_15.ppx_bap;
1524     ppx_bitstring = callPackage ../development/ocaml-modules/bitstring/ppx.nix { };
1526     ppx_blob = callPackage ../development/ocaml-modules/ppx_blob { };
1528     ppx_cstruct = callPackage ../development/ocaml-modules/cstruct/ppx.nix { };
1530     ppx_cstubs = callPackage ../development/ocaml-modules/ppx_cstubs { };
1532     ppx_derivers = callPackage ../development/ocaml-modules/ppx_derivers {};
1534     ppx_deriving = callPackage ../development/ocaml-modules/ppx_deriving {};
1536     ppx_deriving_cmdliner = callPackage ../development/ocaml-modules/ppx_deriving_cmdliner {};
1538     ppx_deriving_protobuf = callPackage ../development/ocaml-modules/ppx_deriving_protobuf {};
1540     ppx_deriving_qcheck = callPackage ../development/ocaml-modules/qcheck/ppx_deriving_qcheck.nix {};
1542     ppx_deriving_rpc = callPackage ../development/ocaml-modules/ppx_deriving_rpc { };
1544     ppx_deriving_yaml = callPackage ../development/ocaml-modules/ppx_deriving_yaml {};
1546     ppx_deriving_yojson = callPackage ../development/ocaml-modules/ppx_deriving_yojson {};
1548     ppx_gen_rec = callPackage ../development/ocaml-modules/ppx_gen_rec {};
1550     ppx_import = callPackage ../development/ocaml-modules/ppx_import {};
1552     ppx_irmin = callPackage ../development/ocaml-modules/irmin/ppx.nix { };
1554     ppx_lun = callPackage ../development/ocaml-modules/lun/ppx.nix { };
1556     ppx_monad = callPackage ../development/ocaml-modules/ppx_monad { };
1558     ppx_repr = callPackage ../development/ocaml-modules/repr/ppx.nix { };
1560     ppx_show = callPackage ../development/ocaml-modules/ppx_show { };
1562     ppx_tools =
1563       if lib.versionAtLeast ocaml.version "4.02"
1564       then callPackage ../development/ocaml-modules/ppx_tools {}
1565       else null;
1567     ppx_tools_versioned = callPackage ../development/ocaml-modules/ppx_tools_versioned { };
1569     ppx_yojson_conv = callPackage ../development/ocaml-modules/ppx_yojson_conv {};
1571     ppx_yojson_conv_lib = callPackage ../development/ocaml-modules/ppx_yojson_conv_lib {};
1573     ppxlib = callPackage ../development/ocaml-modules/ppxlib { };
1575     pratter = callPackage ../development/ocaml-modules/pratter { };
1577     prettym = callPackage ../development/ocaml-modules/prettym { };
1579     printbox = callPackage ../development/ocaml-modules/printbox { };
1581     printbox-text = callPackage ../development/ocaml-modules/printbox/text.nix { };
1583     process = callPackage ../development/ocaml-modules/process { };
1585     prometheus = callPackage ../development/ocaml-modules/prometheus { };
1587     progress = callPackage ../development/ocaml-modules/progress { };
1589     promise_jsoo = callPackage ../development/ocaml-modules/promise_jsoo { };
1591     psmt2-frontend = callPackage ../development/ocaml-modules/psmt2-frontend { };
1593     psq = callPackage ../development/ocaml-modules/psq { };
1595     ptime = callPackage ../development/ocaml-modules/ptime { };
1597     ptmap = callPackage ../development/ocaml-modules/ptmap { };
1599     ptset = callPackage ../development/ocaml-modules/ptset { };
1601     pulseaudio = callPackage ../development/ocaml-modules/pulseaudio {
1602       inherit (pkgs) pulseaudio;
1603     };
1605     pure-splitmix = callPackage ../development/ocaml-modules/pure-splitmix { };
1607     pyml = callPackage ../development/ocaml-modules/pyml { };
1609     ### Q ###
1611     qcheck = callPackage ../development/ocaml-modules/qcheck { };
1613     qcheck-alcotest = callPackage ../development/ocaml-modules/qcheck/alcotest.nix { };
1615     qcheck-core = callPackage ../development/ocaml-modules/qcheck/core.nix { };
1617     qcheck-lin = callPackage ../development/ocaml-modules/qcheck/lin.nix { };
1619     qcheck-multicoretests-util = callPackage ../development/ocaml-modules/qcheck/multicoretests-util.nix { };
1621     qcheck-ounit = callPackage ../development/ocaml-modules/qcheck/ounit.nix { };
1623     qcheck-stm = callPackage ../development/ocaml-modules/qcheck/stm.nix { };
1625     qtest = callPackage ../development/ocaml-modules/qtest { };
1627     ### R ###
1629     randomconv = callPackage ../development/ocaml-modules/randomconv { };
1631     rdbg = callPackage ../development/ocaml-modules/rdbg { };
1633     re = callPackage ../development/ocaml-modules/re { };
1635     react = callPackage ../development/ocaml-modules/react { };
1637     reactivedata = callPackage ../development/ocaml-modules/reactivedata {};
1639     readline = callPackage ../development/ocaml-modules/readline {
1640       readline = pkgs.readline;
1641     };
1643     reason = callPackage ../development/compilers/reason { };
1645     reason-native = lib.recurseIntoAttrs (callPackage ../development/ocaml-modules/reason-native { });
1647     rebez = callPackage ../development/ocaml-modules/rebez { };
1649     reperf = callPackage ../development/ocaml-modules/reperf { };
1651     repr = callPackage ../development/ocaml-modules/repr { };
1653     res = callPackage ../development/ocaml-modules/res { };
1655     resource-pooling = callPackage ../development/ocaml-modules/resource-pooling { };
1657     resto = callPackage ../development/ocaml-modules/resto { };
1658     resto-acl = callPackage ../development/ocaml-modules/resto/acl.nix { };
1659     resto-cohttp = callPackage ../development/ocaml-modules/resto/cohttp.nix { };
1660     resto-cohttp-client = callPackage ../development/ocaml-modules/resto/cohttp-client.nix { };
1661     resto-cohttp-self-serving-client = callPackage ../development/ocaml-modules/resto/cohttp-self-serving-client.nix { };
1662     resto-cohttp-server = callPackage ../development/ocaml-modules/resto/cohttp-server.nix { };
1663     resto-directory = callPackage ../development/ocaml-modules/resto/directory.nix { };
1664     resto-json = callPackage ../development/ocaml-modules/resto/json.nix { };
1666     result = callPackage ../development/ocaml-modules/ocaml-result { };
1668     rfc7748 = callPackage ../development/ocaml-modules/rfc7748 { };
1670     ringo = callPackage ../development/ocaml-modules/ringo { };
1672     rio = callPackage ../development/ocaml-modules/rio { };
1674     riot = callPackage ../development/ocaml-modules/riot { };
1676     rock = callPackage ../development/ocaml-modules/rock { };
1678     rope = callPackage ../development/ocaml-modules/rope { };
1680     rosetta = callPackage ../development/ocaml-modules/rosetta { };
1682     routes = callPackage ../development/ocaml-modules/routes { };
1684     rpclib = callPackage ../development/ocaml-modules/rpclib { };
1686     rpclib-lwt = callPackage ../development/ocaml-modules/rpclib/lwt.nix { };
1688     rresult = callPackage ../development/ocaml-modules/rresult { };
1690     rusage = callPackage ../development/ocaml-modules/rusage { };
1692     ### S ###
1694     safepass = callPackage ../development/ocaml-modules/safepass { };
1696     sail = callPackage ../development/ocaml-modules/sail { };
1698     samplerate = callPackage ../development/ocaml-modules/samplerate { };
1700     saturn = callPackage ../development/ocaml-modules/saturn { };
1702     saturn_lockfree = callPackage ../development/ocaml-modules/saturn/lockfree.nix { };
1704     sawja = callPackage ../development/ocaml-modules/sawja { };
1706     secp256k1 = callPackage ../development/ocaml-modules/secp256k1 {
1707       inherit (pkgs) secp256k1;
1708     };
1710     secp256k1-internal = callPackage ../development/ocaml-modules/secp256k1-internal { };
1712     sedlex = callPackage ../development/ocaml-modules/sedlex { };
1714     sel = callPackage ../development/ocaml-modules/sel {};
1716     semaphore-compat = callPackage ../development/ocaml-modules/semaphore-compat { };
1718     semver = callPackage ../development/ocaml-modules/semver { };
1720     seq = callPackage ../development/ocaml-modules/seq { };
1722     seqes = callPackage ../development/ocaml-modules/seqes { };
1724     sha = callPackage ../development/ocaml-modules/sha { };
1726     shared-memory-ring = callPackage ../development/ocaml-modules/shared-memory-ring { };
1728     shared-memory-ring-lwt = callPackage ../development/ocaml-modules/shared-memory-ring/lwt.nix { };
1730     shine = callPackage ../development/ocaml-modules/shine {
1731       inherit (pkgs) shine;
1732     };
1734     simple-diff = callPackage ../development/ocaml-modules/simple-diff { };
1736     slug = callPackage ../development/ocaml-modules/slug {  };
1738     sodium = callPackage ../development/ocaml-modules/sodium { };
1740     sosa = callPackage ../development/ocaml-modules/sosa { };
1742     soundtouch = callPackage ../development/ocaml-modules/soundtouch {
1743       inherit (pkgs) soundtouch;
1744     };
1746     spdx_licenses = callPackage ../development/ocaml-modules/spdx_licenses { };
1748     speex = callPackage ../development/ocaml-modules/speex {
1749       inherit (pkgs) speex;
1750     };
1752     spelll = callPackage ../development/ocaml-modules/spelll { };
1754     spices = callPackage ../development/ocaml-modules/spices { };
1756     srt = callPackage ../development/ocaml-modules/srt {
1757       inherit (pkgs) srt;
1758     };
1760     ssl = callPackage ../development/ocaml-modules/ssl { };
1762     stdcompat = callPackage ../development/ocaml-modules/stdcompat { };
1764     stdint = callPackage ../development/ocaml-modules/stdint { };
1766     stdlib-shims = callPackage ../development/ocaml-modules/stdlib-shims { };
1768     stdune = callPackage ../development/ocaml-modules/stdune { };
1770     stog = callPackage ../applications/misc/stog { };
1771     stog_asy = callPackage ../applications/misc/stog/asy.nix { };
1772     stog_markdown = callPackage ../applications/misc/stog/markdown.nix { };
1774     streaming = callPackage ../development/ocaml-modules/streaming { };
1776     stringext = callPackage ../development/ocaml-modules/stringext { };
1778     swhid_core = callPackage ../development/ocaml-modules/swhid_core { };
1780     syslog = callPackage ../development/ocaml-modules/syslog { };
1782     syslog-message = callPackage ../development/ocaml-modules/syslog-message { };
1784     ### T ###
1786     taglib = callPackage ../development/ocaml-modules/taglib {
1787       inherit (pkgs) taglib;
1788     };
1790     tar = callPackage ../development/ocaml-modules/tar { };
1792     tar-unix = callPackage ../development/ocaml-modules/tar/unix.nix {
1793       inherit (pkgs) git;
1794     };
1796     tcpip = callPackage ../development/ocaml-modules/tcpip { };
1798     tcslib = callPackage ../development/ocaml-modules/tcslib { };
1800     tdigest = callPackage ../development/ocaml-modules/tdigest { };
1802     telegraml = callPackage ../development/ocaml-modules/telegraml { };
1804     telemetry = callPackage ../development/ocaml-modules/telemetry { };
1806     terminal = callPackage ../development/ocaml-modules/terminal { };
1808     terminal_size = callPackage ../development/ocaml-modules/terminal_size { };
1810     terml = callPackage ../development/ocaml-modules/terml { };
1812     tezos-base58 = callPackage ../development/ocaml-modules/tezos-base58 { };
1814     tezt = callPackage ../development/ocaml-modules/tezt { };
1816     theora = callPackage ../development/ocaml-modules/theora { };
1818     thread-table = callPackage ../development/ocaml-modules/thread-table { };
1820     timed = callPackage ../development/ocaml-modules/timed { };
1822     timedesc = callPackage ../development/ocaml-modules/timedesc { };
1823     timedesc-tzdb = callPackage ../development/ocaml-modules/timedesc/tzdb.nix { };
1824     timedesc-tzlocal = callPackage ../development/ocaml-modules/timedesc/tzlocal.nix { };
1826     tiny_httpd = callPackage ../development/ocaml-modules/tiny_httpd { };
1828     tls = callPackage ../development/ocaml-modules/tls { };
1830     tls-async = callPackage ../development/ocaml-modules/tls/async.nix { };
1832     tls-lwt = callPackage ../development/ocaml-modules/tls/lwt.nix { };
1834     tls-mirage = callPackage ../development/ocaml-modules/tls/mirage.nix { };
1836     toml = callPackage ../development/ocaml-modules/toml { };
1838     topkg = callPackage ../development/ocaml-modules/topkg { };
1840     torch = callPackage ../development/ocaml-modules/torch {
1841       torch = pkgs.libtorch-bin;
1842     };
1844     trace = callPackage ../development/ocaml-modules/trace { };
1846     trace-tef = callPackage ../development/ocaml-modules/trace/tef.nix { };
1848     trie = callPackage ../development/ocaml-modules/trie { };
1850     tsdl = callPackage ../development/ocaml-modules/tsdl {
1851       inherit (pkgs.darwin.apple_sdk.frameworks) AudioToolbox Cocoa CoreAudio CoreVideo ForceFeedback;
1852     };
1854     tsdl-image = callPackage ../development/ocaml-modules/tsdl-image { };
1856     tsdl-mixer = callPackage ../development/ocaml-modules/tsdl-mixer { };
1858     tsdl-ttf = callPackage ../development/ocaml-modules/tsdl-ttf { };
1860     tsort = callPackage ../development/ocaml-modules/tsort { };
1862     tty = callPackage ../development/ocaml-modules/tty { };
1864     tuntap = callPackage ../development/ocaml-modules/tuntap { };
1866     twt = callPackage ../development/ocaml-modules/twt { };
1868     type_eq = callPackage ../development/ocaml-modules/type_eq { };
1870     type_id = callPackage ../development/ocaml-modules/type_id { };
1872     tyxml = callPackage ../development/ocaml-modules/tyxml { };
1874     tyxml-lwd = callPackage ../development/ocaml-modules/lwd/tyxml-lwd.nix { };
1876     ### U ###
1878     uchar = callPackage ../development/ocaml-modules/uchar { };
1880     uecc = callPackage ../development/ocaml-modules/uecc { };
1882     ulex = callPackage ../development/ocaml-modules/ulex { };
1884     unionFind = callPackage ../development/ocaml-modules/unionFind { };
1886     unisim_archisec = callPackage ../development/ocaml-modules/unisim_archisec { };
1888     unix-errno = callPackage ../development/ocaml-modules/unix-errno { };
1890     unstrctrd = callPackage ../development/ocaml-modules/unstrctrd { };
1892     uri = callPackage ../development/ocaml-modules/uri { };
1894     uri-sexp = callPackage ../development/ocaml-modules/uri/sexp.nix { };
1896     uring = callPackage ../development/ocaml-modules/uring { };
1898     utop = callPackage ../development/tools/ocaml/utop { };
1900     uucd = callPackage ../development/ocaml-modules/uucd { };
1902     uucp = callPackage ../development/ocaml-modules/uucp { };
1904     uuidm = callPackage ../development/ocaml-modules/uuidm { };
1906     uunf = callPackage ../development/ocaml-modules/uunf { };
1908     uuseg = callPackage ../development/ocaml-modules/uuseg { };
1910     uutf = callPackage ../development/ocaml-modules/uutf { };
1912     uuuu = callPackage ../development/ocaml-modules/uuuu { };
1914     ### V ###
1916     vchan = callPackage ../development/ocaml-modules/vchan { };
1918     vector = callPackage ../development/ocaml-modules/vector { };
1920     vg = callPackage ../development/ocaml-modules/vg { };
1922     visitors = callPackage ../development/ocaml-modules/visitors { };
1924     vlq = callPackage ../development/ocaml-modules/vlq { };
1926     vorbis = callPackage ../development/ocaml-modules/vorbis { };
1928     vpl-core = callPackage ../development/ocaml-modules/vpl-core { };
1930     ### W ###
1932     wasm = callPackage ../development/ocaml-modules/wasm { };
1934     wayland = callPackage ../development/ocaml-modules/wayland { };
1936     webbrowser = callPackage ../development/ocaml-modules/webbrowser { };
1938     webmachine = callPackage ../development/ocaml-modules/webmachine { };
1940     wtf8 = callPackage ../development/ocaml-modules/wtf8 { };
1942     ### X ###
1944     x509 = callPackage ../development/ocaml-modules/x509 { };
1946     xdg = callPackage ../development/ocaml-modules/xdg { };
1948     xenstore = callPackage ../development/ocaml-modules/xenstore { };
1950     xenstore-tool = callPackage ../development/ocaml-modules/xenstore-tool { };
1952     xenstore_transport = callPackage ../development/ocaml-modules/xenstore_transport { };
1954     xml-light = callPackage ../development/ocaml-modules/xml-light { };
1956     xmlm = callPackage ../development/ocaml-modules/xmlm { };
1958     xmlplaylist = callPackage ../development/ocaml-modules/xmlplaylist { };
1960     xtmpl = callPackage ../development/ocaml-modules/xtmpl { };
1962     xtmpl_ppx = callPackage ../development/ocaml-modules/xtmpl/ppx.nix { };
1964     xxhash = callPackage ../development/ocaml-modules/xxhash/default.nix { };
1966     ### Y ###
1968     yaml = callPackage ../development/ocaml-modules/yaml { };
1970     yaml-sexp = callPackage ../development/ocaml-modules/yaml/yaml-sexp.nix { };
1972     yojson = callPackage ../development/ocaml-modules/yojson { };
1974     yuscii = callPackage ../development/ocaml-modules/yuscii { };
1976     yuujinchou = callPackage ../development/ocaml-modules/yuujinchou { };
1978     ### Z ###
1980     z3 = callPackage ../development/ocaml-modules/z3 {
1981       inherit (pkgs) z3;
1982     };
1984     zarith = callPackage ../development/ocaml-modules/zarith { };
1986     zed = callPackage ../development/ocaml-modules/zed { };
1988     zelus = callPackage ../development/ocaml-modules/zelus { };
1990     zelus-gtk = callPackage ../development/ocaml-modules/zelus-gtk { };
1992     zipc = callPackage ../development/ocaml-modules/zipc { };
1994     zmq = callPackage ../development/ocaml-modules/zmq { };
1996     zmq-lwt = callPackage ../development/ocaml-modules/zmq/lwt.nix { };
1998     ### Exceptional packages kept out of order ###
2000     # Libs
2002     buildDunePackage = callPackage ../build-support/ocaml/dune.nix { };
2004     buildOasisPackage = callPackage ../build-support/ocaml/oasis.nix { };
2006     buildTopkgPackage = callPackage ../build-support/ocaml/topkg.nix { };
2008     # Apps from all-packages, to be eventually removed
2010     google-drive-ocamlfuse = callPackage ../applications/networking/google-drive-ocamlfuse { };
2012     hol_light = callPackage ../applications/science/logic/hol_light { };
2014     ocamlnat = callPackage  ../development/ocaml-modules/ocamlnat { };
2016     ### End ###
2018   })).overrideScope liftJaneStreet;
2020 in let inherit (pkgs) callPackage; in rec
2022   inherit mkOcamlPackages;
2024   ocamlPackages_4_00_1 = mkOcamlPackages (callPackage ../development/compilers/ocaml/4.00.1.nix { });
2026   ocamlPackages_4_01_0 = mkOcamlPackages (callPackage ../development/compilers/ocaml/4.01.0.nix { });
2028   ocamlPackages_4_02 = mkOcamlPackages (callPackage ../development/compilers/ocaml/4.02.nix { });
2030   ocamlPackages_4_03 = mkOcamlPackages (callPackage ../development/compilers/ocaml/4.03.nix { });
2032   ocamlPackages_4_04 = mkOcamlPackages (callPackage ../development/compilers/ocaml/4.04.nix { });
2034   ocamlPackages_4_05 = mkOcamlPackages (callPackage ../development/compilers/ocaml/4.05.nix { });
2036   ocamlPackages_4_06 = mkOcamlPackages (callPackage ../development/compilers/ocaml/4.06.nix { });
2038   ocamlPackages_4_07 = mkOcamlPackages (callPackage ../development/compilers/ocaml/4.07.nix { });
2040   ocamlPackages_4_08 = mkOcamlPackages (callPackage ../development/compilers/ocaml/4.08.nix { });
2042   ocamlPackages_4_09 = mkOcamlPackages (callPackage ../development/compilers/ocaml/4.09.nix { });
2044   ocamlPackages_4_10 = mkOcamlPackages (callPackage ../development/compilers/ocaml/4.10.nix { });
2046   ocamlPackages_4_11 = mkOcamlPackages (callPackage ../development/compilers/ocaml/4.11.nix { });
2048   ocamlPackages_4_12 = mkOcamlPackages (callPackage ../development/compilers/ocaml/4.12.nix { });
2050   ocamlPackages_4_13 = mkOcamlPackages (callPackage ../development/compilers/ocaml/4.13.nix { });
2052   ocamlPackages_4_14 = mkOcamlPackages (callPackage ../development/compilers/ocaml/4.14.nix { });
2054   ocamlPackages_5_0 = mkOcamlPackages (callPackage ../development/compilers/ocaml/5.0.nix { });
2056   ocamlPackages_5_1 = mkOcamlPackages (callPackage ../development/compilers/ocaml/5.1.nix { });
2058   ocamlPackages_5_2 = mkOcamlPackages (callPackage ../development/compilers/ocaml/5.2.nix { });
2060   ocamlPackages_latest = ocamlPackages_5_2;
2062   ocamlPackages = ocamlPackages_5_2;
2064   # We still have packages that rely on unsafe-string, which is deprecated in OCaml 4.06.0.
2065   # Below are aliases for porting them to the latest versions of the OCaml 4 series.
2066   ocamlPackages_4_14_unsafe_string = mkOcamlPackages (callPackage ../development/compilers/ocaml/4.14.nix {
2067     unsafeStringSupport = true;
2068   });