pytrainer: unpin python 3.10
[NixPkgs.git] / pkgs / top-level / ocaml-packages.nix
blob2f0ce2558934f4ae7f67a79f693b2181fbb36b69
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     kdf = callPackage ../development/ocaml-modules/kdf { };
918     ke = callPackage ../development/ocaml-modules/ke { };
920     kicadsch = callPackage ../development/ocaml-modules/kicadsch { };
922     kqueue = callPackage ../development/ocaml-modules/kqueue { };
924     ### L ###
926     lablgl = callPackage ../development/ocaml-modules/lablgl { };
928     lablgtk = callPackage ../development/ocaml-modules/lablgtk {
929       inherit (pkgs.gnome2) libgnomecanvas gtksourceview;
930     };
932     lablgtk-extras =
933       if lib.versionOlder "4.02" ocaml.version
934       then callPackage ../development/ocaml-modules/lablgtk-extras { }
935       else callPackage ../development/ocaml-modules/lablgtk-extras/1.4.nix { };
937     lablgtk3 = callPackage ../development/ocaml-modules/lablgtk3 { };
939     lablgtk3-gtkspell3 = callPackage ../development/ocaml-modules/lablgtk3/gtkspell3.nix { };
941     lablgtk3-rsvg2 = callPackage ../development/ocaml-modules/lablgtk3/rsvg2.nix { };
943     lablgtk3-sourceview3 = callPackage ../development/ocaml-modules/lablgtk3/sourceview3.nix { };
945     labltk = callPackage ../development/ocaml-modules/labltk {
946       inherit (pkgs.darwin.apple_sdk.frameworks) Cocoa;
947     };
949     lacaml = callPackage ../development/ocaml-modules/lacaml { };
951     ladspa = callPackage ../development/ocaml-modules/ladspa { };
953     lambda-term = callPackage ../development/ocaml-modules/lambda-term { };
955     lambdapi = callPackage ../development/ocaml-modules/lambdapi {
956       why3 = pkgs.why3.override { ocamlPackages = self; };
957     };
959     lambdasoup = callPackage ../development/ocaml-modules/lambdasoup { };
961     lame = callPackage ../development/ocaml-modules/lame {
962       inherit (pkgs) lame;
963     };
965     landmarks = callPackage ../development/ocaml-modules/landmarks { };
967     landmarks-ppx = callPackage ../development/ocaml-modules/landmarks-ppx { };
969     lastfm = callPackage ../development/ocaml-modules/lastfm { };
971     lem = callPackage ../development/ocaml-modules/lem { };
973     lens = callPackage ../development/ocaml-modules/lens { };
975     letsencrypt = callPackage ../development/ocaml-modules/letsencrypt { };
977     letsencrypt-app = callPackage ../development/ocaml-modules/letsencrypt/app.nix { };
979     letsencrypt-dns = callPackage ../development/ocaml-modules/letsencrypt/dns.nix { };
981     letsencrypt-mirage = callPackage ../development/ocaml-modules/letsencrypt/mirage.nix { };
983     libc = callPackage ../development/ocaml-modules/libc { };
985     lilv = callPackage ../development/ocaml-modules/lilv {
986       inherit (pkgs) lilv;
987     };
989     linenoise = callPackage ../development/ocaml-modules/linenoise { };
991     linksem = callPackage ../development/ocaml-modules/linksem { };
993     linol = callPackage ../development/ocaml-modules/linol { };
995     linol-lwt = callPackage ../development/ocaml-modules/linol/lwt.nix { };
997     llvm = callPackage ../development/ocaml-modules/llvm {
998       libllvm = pkgs.llvmPackages.libllvm;
999     };
1001     lo = callPackage ../development/ocaml-modules/lo { };
1003     logs = callPackage ../development/ocaml-modules/logs { };
1005     lru = callPackage ../development/ocaml-modules/lru { };
1007     lsp = callPackage ../development/ocaml-modules/ocaml-lsp/lsp.nix { };
1009     lua-ml = callPackage ../development/ocaml-modules/lua-ml { };
1011     lun = callPackage ../development/ocaml-modules/lun { };
1013     lustre-v6 = callPackage ../development/ocaml-modules/lustre-v6 { };
1015     lutils = callPackage ../development/ocaml-modules/lutils { };
1017     luv = callPackage ../development/ocaml-modules/luv {
1018       inherit (pkgs) file;
1019     };
1021     lwd = callPackage ../development/ocaml-modules/lwd { };
1023     lwt = callPackage ../development/ocaml-modules/lwt { };
1025     lwt-canceler = callPackage ../development/ocaml-modules/lwt-canceler { };
1027     lwt_camlp4 = callPackage ../development/ocaml-modules/lwt/camlp4.nix { };
1029     lwt-dllist = callPackage ../development/ocaml-modules/lwt-dllist { };
1031     lwt-exit = callPackage ../development/ocaml-modules/lwt-exit { };
1033     lwt_log = callPackage ../development/ocaml-modules/lwt_log { };
1035     lwt_ppx = callPackage ../development/ocaml-modules/lwt/ppx.nix { };
1037     lwt_react = callPackage ../development/ocaml-modules/lwt_react { };
1039     lwt_ssl = callPackage ../development/ocaml-modules/lwt_ssl { };
1041     lwt-watcher = callPackage ../development/ocaml-modules/lwt-watcher { };
1043     ### M ###
1045     macaddr = callPackage ../development/ocaml-modules/macaddr { };
1047     macaddr-cstruct = callPackage ../development/ocaml-modules/macaddr/cstruct.nix { };
1049     macaddr-sexp = callPackage ../development/ocaml-modules/macaddr/sexp.nix { };
1051     mad = callPackage ../development/ocaml-modules/mad { };
1053     magic = callPackage ../development/ocaml-modules/magic { };
1055     magic-mime = callPackage ../development/ocaml-modules/magic-mime { };
1057     magic-trace = callPackage ../development/ocaml-modules/magic-trace { };
1059     mariadb = callPackage ../development/ocaml-modules/mariadb {
1060       inherit (pkgs) mariadb;
1061     };
1063     markup = callPackage ../development/ocaml-modules/markup { };
1065     mccs = callPackage ../development/ocaml-modules/mccs { };
1067     mdx = callPackage ../development/ocaml-modules/mdx {
1068       logs = logs.override { jsooSupport = false; lwtSupport = false; };
1069     };
1071     mec = callPackage ../development/ocaml-modules/mec { };
1073     memprof-limits = callPackage ../development/ocaml-modules/memprof-limits { };
1075     memtrace = callPackage ../development/ocaml-modules/memtrace { };
1077     menhir = callPackage ../development/ocaml-modules/menhir { };
1079     menhirLib = callPackage ../development/ocaml-modules/menhir/lib.nix { };
1081     menhirSdk = callPackage ../development/ocaml-modules/menhir/sdk.nix { };
1083     merlin =
1084       if lib.versionAtLeast ocaml.version "4.12"
1085       then callPackage ../development/tools/ocaml/merlin/4.x.nix { }
1086       else callPackage ../development/tools/ocaml/merlin { };
1088     merlin-extend = callPackage ../development/ocaml-modules/merlin-extend { };
1090     merlin-lib = callPackage ../development/tools/ocaml/merlin/lib.nix { };
1092     metadata = callPackage ../development/ocaml-modules/metadata { };
1094     metrics = callPackage ../development/ocaml-modules/metrics { };
1096     metrics-influx = callPackage ../development/ocaml-modules/metrics/influx.nix { };
1098     metrics-lwt = callPackage ../development/ocaml-modules/metrics/lwt.nix { };
1100     metrics-rusage = callPackage ../development/ocaml-modules/metrics/rusage.nix { };
1102     metrics-unix = callPackage ../development/ocaml-modules/metrics/unix.nix {
1103       inherit (pkgs) gnuplot;
1104     };
1106     mew = callPackage ../development/ocaml-modules/mew { };
1108     mew_vi = callPackage ../development/ocaml-modules/mew_vi { };
1110     mezzo = callPackage ../development/compilers/mezzo { };
1112     middleware = callPackage ../development/ocaml-modules/middleware { };
1114     mimic = callPackage ../development/ocaml-modules/mimic { };
1116     mimic-happy-eyeballs = callPackage ../development/ocaml-modules/mimic/happy-eyeballs.nix { };
1118     minisat = callPackage ../development/ocaml-modules/minisat { };
1120     minttea = callPackage ../development/ocaml-modules/minttea { };
1122     miou = callPackage ../development/ocaml-modules/miou { };
1124     mirage = callPackage ../development/ocaml-modules/mirage { };
1126     mirage-block = callPackage ../development/ocaml-modules/mirage-block { };
1128     mirage-block-combinators = callPackage ../development/ocaml-modules/mirage-block/combinators.nix { };
1130     mirage-block-ramdisk = callPackage ../development/ocaml-modules/mirage-block-ramdisk { };
1132     mirage-block-unix = callPackage ../development/ocaml-modules/mirage-block-unix { };
1134     mirage-bootvar-unix = callPackage ../development/ocaml-modules/mirage-bootvar-unix { };
1136     mirage-bootvar-xen = callPackage ../development/ocaml-modules/mirage-bootvar-xen { };
1138     mirage-clock = callPackage ../development/ocaml-modules/mirage-clock { };
1140     mirage-clock-solo5 = callPackage ../development/ocaml-modules/mirage-clock/solo5.nix { };
1142     mirage-clock-unix = callPackage ../development/ocaml-modules/mirage-clock/unix.nix { };
1144     mirage-console = callPackage ../development/ocaml-modules/mirage-console { };
1146     mirage-crypto = callPackage ../development/ocaml-modules/mirage-crypto { };
1148     mirage-crypto-ec = callPackage ../development/ocaml-modules/mirage-crypto/ec.nix { };
1150     mirage-crypto-pk = callPackage ../development/ocaml-modules/mirage-crypto/pk.nix { };
1152     mirage-crypto-rng = callPackage ../development/ocaml-modules/mirage-crypto/rng.nix { };
1154     mirage-crypto-rng-async = callPackage ../development/ocaml-modules/mirage-crypto/rng-async.nix { };
1156     mirage-crypto-rng-lwt = callPackage ../development/ocaml-modules/mirage-crypto/rng-lwt.nix { };
1158     mirage-crypto-rng-mirage = callPackage ../development/ocaml-modules/mirage-crypto/rng-mirage.nix { };
1160     mirage-device = callPackage ../development/ocaml-modules/mirage-device { };
1162     mirage-flow = callPackage ../development/ocaml-modules/mirage-flow { };
1164     mirage-flow-combinators = callPackage ../development/ocaml-modules/mirage-flow/combinators.nix { };
1166     mirage-flow-unix = callPackage ../development/ocaml-modules/mirage-flow/unix.nix { };
1168     mirage-kv = callPackage ../development/ocaml-modules/mirage-kv { };
1170     mirage-logs = callPackage ../development/ocaml-modules/mirage-logs { };
1172     mirage-nat = callPackage ../development/ocaml-modules/mirage-nat { };
1174     mirage-net = callPackage ../development/ocaml-modules/mirage-net { };
1176     mirage-net-xen = callPackage ../development/ocaml-modules/mirage-net-xen { };
1178     mirage-profile = callPackage ../development/ocaml-modules/mirage-profile { };
1180     mirage-protocols = callPackage ../development/ocaml-modules/mirage-protocols { };
1182     mirage-random = callPackage ../development/ocaml-modules/mirage-random { };
1184     mirage-random-test = callPackage ../development/ocaml-modules/mirage-random-test { };
1186     mirage-runtime = callPackage ../development/ocaml-modules/mirage/runtime.nix { };
1188     mirage-time = callPackage ../development/ocaml-modules/mirage-time { };
1190     mirage-time-unix = callPackage ../development/ocaml-modules/mirage-time/unix.nix { };
1192     mirage-unix = callPackage ../development/ocaml-modules/mirage-unix { };
1194     mirage-xen = callPackage ../development/ocaml-modules/mirage-xen { };
1196     mirage-vnetif = callPackage ../development/ocaml-modules/mirage-vnetif { };
1198     mlbdd = callPackage ../development/ocaml-modules/mlbdd { };
1200     mldoc =  callPackage ../development/ocaml-modules/mldoc { };
1202     mlgmpidl =  callPackage ../development/ocaml-modules/mlgmpidl { };
1204     mm = callPackage ../development/ocaml-modules/mm { };
1206     mmap =  callPackage ../development/ocaml-modules/mmap { };
1208     mopsa = callPackage ../development/ocaml-modules/mopsa { };
1210     morbig = callPackage ../development/ocaml-modules/morbig { };
1212     mparser =  callPackage ../development/ocaml-modules/mparser { };
1214     mparser-pcre =  callPackage ../development/ocaml-modules/mparser/pcre.nix { };
1216     msgpck = callPackage ../development/ocaml-modules/msgpck { };
1218     mrmime = callPackage ../development/ocaml-modules/mrmime { };
1220     msat = callPackage ../development/ocaml-modules/msat { };
1222     mtime =  callPackage ../development/ocaml-modules/mtime { };
1224     multicore-bench =  callPackage ../development/ocaml-modules/multicore-bench { };
1226     multicore-magic =  callPackage ../development/ocaml-modules/multicore-magic { };
1228     multipart-form-data =  callPackage ../development/ocaml-modules/multipart-form-data { };
1230     mustache =  callPackage ../development/ocaml-modules/mustache { };
1232     ### N ###
1234     nbd = pkgs.libnbd.override {
1235       ocamlPackages = self;
1236       buildOcamlBindings = true;
1237     };
1239     netchannel = callPackage ../development/ocaml-modules/netchannel { };
1241     ninja_utils = callPackage ../development/ocaml-modules/ninja_utils { };
1243     nonstd =  callPackage ../development/ocaml-modules/nonstd { };
1245     note = callPackage ../development/ocaml-modules/note { };
1247     nottui = callPackage ../development/ocaml-modules/lwd/nottui.nix { };
1249     nottui-lwt = callPackage ../development/ocaml-modules/lwd/nottui-lwt.nix { };
1251     nottui-pretty = callPackage ../development/ocaml-modules/lwd/nottui-pretty.nix { };
1253     notty = callPackage ../development/ocaml-modules/notty { };
1255     npy = callPackage ../development/ocaml-modules/npy {
1256       inherit (pkgs.python3Packages) numpy;
1257     };
1259     num = if lib.versionOlder "4.06" ocaml.version
1260       then callPackage ../development/ocaml-modules/num {}
1261       else null;
1263     ### O ###
1265     ocaml_cairo = callPackage ../development/ocaml-modules/ocaml-cairo { };
1267     ocaml_cryptgps = callPackage ../development/ocaml-modules/cryptgps { };
1269     ocaml_expat = callPackage ../development/ocaml-modules/expat { };
1271     ocaml-freestanding = callPackage ../development/ocaml-modules/ocaml-freestanding { };
1273     ocaml_gettext = callPackage ../development/ocaml-modules/ocaml-gettext { };
1275     ocaml_libvirt = callPackage ../development/ocaml-modules/ocaml-libvirt {
1276       inherit (pkgs.darwin.apple_sdk.frameworks) Foundation AppKit;
1277     };
1279     ocaml-lsp = callPackage ../development/ocaml-modules/ocaml-lsp { };
1281     ocaml-lua = callPackage ../development/ocaml-modules/ocaml-lua { };
1283     ocaml_lwt = lwt;
1285     ocaml-migrate-parsetree = ocaml-migrate-parsetree-1-8;
1287     ocaml-migrate-parsetree-1-8 = callPackage ../development/ocaml-modules/ocaml-migrate-parsetree/1.8.x.nix { };
1289     ocaml-migrate-parsetree-2 = callPackage ../development/ocaml-modules/ocaml-migrate-parsetree/2.x.nix { };
1291     ocaml-monadic = callPackage ../development/ocaml-modules/ocaml-monadic { };
1293     ocaml_mysql = callPackage ../development/ocaml-modules/mysql { };
1295     ocaml_oasis = callPackage ../development/tools/ocaml/oasis { };
1297     ocaml_pcre = callPackage ../development/ocaml-modules/pcre {};
1299     ocaml-print-intf = callPackage ../development/ocaml-modules/ocaml-print-intf { };
1301     ocaml-protoc = callPackage ../development/ocaml-modules/ocaml-protoc { };
1303     ocaml-protoc-plugin = callPackage ../development/ocaml-modules/ocaml-protoc-plugin { };
1305     ocaml-r = callPackage ../development/ocaml-modules/ocaml-r { };
1307     ocaml-recovery-parser = callPackage ../development/tools/ocaml/ocaml-recovery-parser { };
1309     ocaml-sat-solvers = callPackage ../development/ocaml-modules/ocaml-sat-solvers { };
1311     ocaml_sqlite3 = callPackage ../development/ocaml-modules/sqlite3 { };
1313     ocaml-syntax-shims = callPackage ../development/ocaml-modules/ocaml-syntax-shims { };
1315     ocaml-version = callPackage ../development/ocaml-modules/ocaml-version { };
1317     ocaml-vdom = callPackage ../development/ocaml-modules/ocaml-vdom { };
1319     ocamlbuild =
1320       if lib.versionOlder "4.03" ocaml.version
1321         then callPackage ../development/tools/ocaml/ocamlbuild { }
1322         else null;
1324     ocamlc-loc = callPackage ../development/ocaml-modules/ocamlc-loc { };
1326     # Older versions of OCamlformat should be removed when their usage decrease
1327     # This script scraps Github looking for OCamlformat's options and versions usage:
1328     #  https://gist.github.com/Julow/110dc94308d6078225e0665e3eccd433
1329     ocamlformat_0_19_0 = ocamlformat.override { version = "0.19.0"; };
1330     ocamlformat_0_20_0 = ocamlformat.override { version = "0.20.0"; };
1331     ocamlformat_0_20_1 = ocamlformat.override { version = "0.20.1"; };
1332     ocamlformat_0_21_0 = ocamlformat.override { version = "0.21.0"; };
1333     ocamlformat_0_22_4 = ocamlformat.override { version = "0.22.4"; };
1334     ocamlformat_0_23_0 = ocamlformat.override { version = "0.23.0"; };
1335     ocamlformat_0_24_1 = ocamlformat.override { version = "0.24.1"; };
1336     ocamlformat_0_25_1 = ocamlformat.override { version = "0.25.1"; };
1337     ocamlformat_0_26_0 = ocamlformat.override { version = "0.26.0"; };
1338     ocamlformat_0_26_1 = ocamlformat.override { version = "0.26.1"; };
1339     ocamlformat_0_26_2 = ocamlformat.override { version = "0.26.2"; };
1341     ocamlformat = callPackage ../development/ocaml-modules/ocamlformat/ocamlformat.nix {};
1343     ocamlformat-lib = callPackage ../development/ocaml-modules/ocamlformat/ocamlformat-lib.nix { };
1345     ocamlformat-rpc-lib = callPackage ../development/ocaml-modules/ocamlformat/ocamlformat-rpc-lib.nix { };
1347     ocamlfuse = callPackage ../development/ocaml-modules/ocamlfuse { };
1349     ocamlgraph = callPackage ../development/ocaml-modules/ocamlgraph { };
1350     ocamlgraph_gtk = callPackage ../development/ocaml-modules/ocamlgraph/gtk.nix { };
1352     ocamlify = callPackage ../development/tools/ocaml/ocamlify { };
1354     ocamline = callPackage ../development/ocaml-modules/ocamline { };
1356     ocamlmod = callPackage ../development/tools/ocaml/ocamlmod { };
1358     ocamlnet = callPackage ../development/ocaml-modules/ocamlnet { };
1360     ocamlscript = callPackage ../development/tools/ocaml/ocamlscript { };
1362     ocb-stubblr = callPackage ../development/ocaml-modules/ocb-stubblr { };
1364     ocf = callPackage ../development/ocaml-modules/ocf { };
1366     ocf_ppx = callPackage ../development/ocaml-modules/ocf/ppx.nix { };
1368     ocolor = callPackage ../development/ocaml-modules/ocolor { };
1370     ocp-build = callPackage ../development/tools/ocaml/ocp-build { };
1372     ocp-indent = callPackage ../development/tools/ocaml/ocp-indent { };
1374     ocp-index = callPackage ../development/tools/ocaml/ocp-index { };
1376     ocp-ocamlres = callPackage ../development/ocaml-modules/ocp-ocamlres { };
1378     ocplib-endian = callPackage ../development/ocaml-modules/ocplib-endian { };
1380     ocplib-simplex = callPackage ../development/ocaml-modules/ocplib-simplex { };
1382     ocsigen-ppx-rpc = callPackage ../development/ocaml-modules/ocsigen-ppx-rpc { };
1384     ocsigen_server = callPackage ../development/ocaml-modules/ocsigen-server { };
1386     ocsigen-start = callPackage ../development/ocaml-modules/ocsigen-start { };
1388     ocsigen-toolkit = callPackage ../development/ocaml-modules/ocsigen-toolkit { };
1390     ocsipersist = callPackage ../development/ocaml-modules/ocsipersist {};
1392     ocsipersist-lib = callPackage ../development/ocaml-modules/ocsipersist/lib.nix { };
1394     ocsipersist-pgsql = callPackage ../development/ocaml-modules/ocsipersist/pgsql.nix { };
1396     ocsipersist-sqlite = callPackage ../development/ocaml-modules/ocsipersist/sqlite.nix { };
1398     octavius = callPackage ../development/ocaml-modules/octavius { };
1400     ocurl = callPackage ../development/ocaml-modules/ocurl { };
1402     odate = callPackage ../development/ocaml-modules/odate { };
1404     odig = callPackage ../development/ocaml-modules/odig { };
1406     odoc = callPackage ../development/ocaml-modules/odoc { };
1408     odoc-parser = callPackage ../development/ocaml-modules/odoc-parser { };
1410     ogg = callPackage ../development/ocaml-modules/ogg { };
1412     ohex = callPackage ../development/ocaml-modules/ohex { };
1414     ojs = callPackage ../development/ocaml-modules/gen_js_api/ojs.nix { };
1416     omd = callPackage ../development/ocaml-modules/omd { };
1418     opam-core = callPackage ../development/ocaml-modules/opam-core {
1419       inherit (pkgs) opam;
1420     };
1422     opam-file-format = callPackage ../development/ocaml-modules/opam-file-format { };
1424     opam-format = callPackage ../development/ocaml-modules/opam-format { };
1426     opam-repository = callPackage ../development/ocaml-modules/opam-repository { };
1428     opam-state = callPackage ../development/ocaml-modules/opam-state { };
1430     opium = callPackage ../development/ocaml-modules/opium { };
1432     opti = callPackage ../development/ocaml-modules/opti { };
1434     optint = callPackage ../development/ocaml-modules/optint { };
1436     opus = callPackage ../development/ocaml-modules/opus { };
1438     ordering = callPackage ../development/ocaml-modules/ordering { };
1440     oseq = callPackage ../development/ocaml-modules/oseq { };
1442     otfed = callPackage ../development/ocaml-modules/otfed { };
1444     otfm = callPackage ../development/ocaml-modules/otfm { };
1446     otoml = callPackage ../development/ocaml-modules/otoml { };
1448     otr = callPackage ../development/ocaml-modules/otr { };
1450     ounit = callPackage ../development/ocaml-modules/ounit { };
1452     ounit2 = callPackage ../development/ocaml-modules/ounit2 { };
1454     owee = callPackage ../development/ocaml-modules/owee { };
1456     owl = callPackage ../development/ocaml-modules/owl { };
1458     owl-base = callPackage ../development/ocaml-modules/owl-base { };
1460     ### P ###
1462     paf = callPackage ../development/ocaml-modules/paf { };
1464     paf-cohttp = callPackage ../development/ocaml-modules/paf/cohttp.nix { };
1466     parany = callPackage ../development/ocaml-modules/parany { };
1468     parmap = callPackage ../development/ocaml-modules/parmap { };
1470     parse-argv = callPackage ../development/ocaml-modules/parse-argv { };
1472     path_glob = callPackage ../development/ocaml-modules/path_glob { };
1474     pbkdf = callPackage ../development/ocaml-modules/pbkdf { };
1476     pbrt = callPackage ../development/ocaml-modules/pbrt { };
1478     pcap-format = callPackage ../development/ocaml-modules/pcap-format { };
1480     pecu = callPackage ../development/ocaml-modules/pecu { };
1482     pgocaml = callPackage ../development/ocaml-modules/pgocaml {};
1484     pgocaml_ppx = callPackage ../development/ocaml-modules/pgocaml/ppx.nix {};
1486     pgsolver = callPackage ../development/ocaml-modules/pgsolver { };
1488     phylogenetics = callPackage ../development/ocaml-modules/phylogenetics { };
1490     piaf = callPackage ../development/ocaml-modules/piaf { };
1492     piqi = callPackage ../development/ocaml-modules/piqi { };
1494     piqi-ocaml = callPackage ../development/ocaml-modules/piqi-ocaml { };
1496     plotkicadsch = callPackage ../development/ocaml-modules/plotkicadsch {
1497       inherit (pkgs) coreutils imagemagick;
1498     };
1500     poll = callPackage ../development/ocaml-modules/poll { };
1502     polynomial = callPackage ../development/ocaml-modules/polynomial { };
1504     portaudio = callPackage ../development/ocaml-modules/portaudio {
1505       inherit (pkgs) portaudio;
1506     };
1508     posix-base = callPackage ../development/ocaml-modules/posix/base.nix { };
1510     posix-socket = callPackage ../development/ocaml-modules/posix/socket.nix { };
1512     posix-time2 = callPackage ../development/ocaml-modules/posix/time2.nix { };
1514     posix-types = callPackage ../development/ocaml-modules/posix/types.nix { };
1516     postgresql = callPackage ../development/ocaml-modules/postgresql {
1517       inherit (pkgs) postgresql;
1518     };
1520     pp = callPackage ../development/ocaml-modules/pp { };
1522     pp_loc = callPackage ../development/ocaml-modules/pp_loc { };
1524     pprint = callPackage ../development/ocaml-modules/pprint { };
1526     ppx_bap = janeStreet_0_15.ppx_bap;
1528     ppx_bitstring = callPackage ../development/ocaml-modules/bitstring/ppx.nix { };
1530     ppx_blob = callPackage ../development/ocaml-modules/ppx_blob { };
1532     ppx_cstruct = callPackage ../development/ocaml-modules/cstruct/ppx.nix { };
1534     ppx_cstubs = callPackage ../development/ocaml-modules/ppx_cstubs { };
1536     ppx_derivers = callPackage ../development/ocaml-modules/ppx_derivers {};
1538     ppx_deriving = callPackage ../development/ocaml-modules/ppx_deriving {};
1540     ppx_deriving_cmdliner = callPackage ../development/ocaml-modules/ppx_deriving_cmdliner {};
1542     ppx_deriving_protobuf = callPackage ../development/ocaml-modules/ppx_deriving_protobuf {};
1544     ppx_deriving_qcheck = callPackage ../development/ocaml-modules/qcheck/ppx_deriving_qcheck.nix {};
1546     ppx_deriving_rpc = callPackage ../development/ocaml-modules/ppx_deriving_rpc { };
1548     ppx_deriving_yaml = callPackage ../development/ocaml-modules/ppx_deriving_yaml {};
1550     ppx_deriving_yojson = callPackage ../development/ocaml-modules/ppx_deriving_yojson {};
1552     ppx_gen_rec = callPackage ../development/ocaml-modules/ppx_gen_rec {};
1554     ppx_import = callPackage ../development/ocaml-modules/ppx_import {};
1556     ppx_irmin = callPackage ../development/ocaml-modules/irmin/ppx.nix { };
1558     ppx_lun = callPackage ../development/ocaml-modules/lun/ppx.nix { };
1560     ppx_monad = callPackage ../development/ocaml-modules/ppx_monad { };
1562     ppx_repr = callPackage ../development/ocaml-modules/repr/ppx.nix { };
1564     ppx_show = callPackage ../development/ocaml-modules/ppx_show { };
1566     ppx_tools =
1567       if lib.versionAtLeast ocaml.version "4.02"
1568       then callPackage ../development/ocaml-modules/ppx_tools {}
1569       else null;
1571     ppx_tools_versioned = callPackage ../development/ocaml-modules/ppx_tools_versioned { };
1573     ppx_yojson_conv = callPackage ../development/ocaml-modules/ppx_yojson_conv {};
1575     ppx_yojson_conv_lib = callPackage ../development/ocaml-modules/ppx_yojson_conv_lib {};
1577     ppxlib = callPackage ../development/ocaml-modules/ppxlib { };
1579     pratter = callPackage ../development/ocaml-modules/pratter { };
1581     prettym = callPackage ../development/ocaml-modules/prettym { };
1583     printbox = callPackage ../development/ocaml-modules/printbox { };
1585     printbox-text = callPackage ../development/ocaml-modules/printbox/text.nix { };
1587     process = callPackage ../development/ocaml-modules/process { };
1589     prometheus = callPackage ../development/ocaml-modules/prometheus { };
1591     progress = callPackage ../development/ocaml-modules/progress { };
1593     promise_jsoo = callPackage ../development/ocaml-modules/promise_jsoo { };
1595     psmt2-frontend = callPackage ../development/ocaml-modules/psmt2-frontend { };
1597     psq = callPackage ../development/ocaml-modules/psq { };
1599     ptime = callPackage ../development/ocaml-modules/ptime { };
1601     ptmap = callPackage ../development/ocaml-modules/ptmap { };
1603     ptset = callPackage ../development/ocaml-modules/ptset { };
1605     pulseaudio = callPackage ../development/ocaml-modules/pulseaudio {
1606       inherit (pkgs) pulseaudio;
1607     };
1609     pure-splitmix = callPackage ../development/ocaml-modules/pure-splitmix { };
1611     pyml = callPackage ../development/ocaml-modules/pyml { };
1613     ### Q ###
1615     qcheck = callPackage ../development/ocaml-modules/qcheck { };
1617     qcheck-alcotest = callPackage ../development/ocaml-modules/qcheck/alcotest.nix { };
1619     qcheck-core = callPackage ../development/ocaml-modules/qcheck/core.nix { };
1621     qcheck-lin = callPackage ../development/ocaml-modules/qcheck/lin.nix { };
1623     qcheck-multicoretests-util = callPackage ../development/ocaml-modules/qcheck/multicoretests-util.nix { };
1625     qcheck-ounit = callPackage ../development/ocaml-modules/qcheck/ounit.nix { };
1627     qcheck-stm = callPackage ../development/ocaml-modules/qcheck/stm.nix { };
1629     qtest = callPackage ../development/ocaml-modules/qtest { };
1631     ### R ###
1633     randomconv = callPackage ../development/ocaml-modules/randomconv { };
1635     rdbg = callPackage ../development/ocaml-modules/rdbg { };
1637     re = callPackage ../development/ocaml-modules/re { };
1639     react = callPackage ../development/ocaml-modules/react { };
1641     reactivedata = callPackage ../development/ocaml-modules/reactivedata {};
1643     readline = callPackage ../development/ocaml-modules/readline {
1644       readline = pkgs.readline;
1645     };
1647     reason = callPackage ../development/compilers/reason { };
1649     reason-native = lib.recurseIntoAttrs (callPackage ../development/ocaml-modules/reason-native { });
1651     rebez = callPackage ../development/ocaml-modules/rebez { };
1653     reperf = callPackage ../development/ocaml-modules/reperf { };
1655     repr = callPackage ../development/ocaml-modules/repr { };
1657     res = callPackage ../development/ocaml-modules/res { };
1659     resource-pooling = callPackage ../development/ocaml-modules/resource-pooling { };
1661     resto = callPackage ../development/ocaml-modules/resto { };
1662     resto-acl = callPackage ../development/ocaml-modules/resto/acl.nix { };
1663     resto-cohttp = callPackage ../development/ocaml-modules/resto/cohttp.nix { };
1664     resto-cohttp-client = callPackage ../development/ocaml-modules/resto/cohttp-client.nix { };
1665     resto-cohttp-self-serving-client = callPackage ../development/ocaml-modules/resto/cohttp-self-serving-client.nix { };
1666     resto-cohttp-server = callPackage ../development/ocaml-modules/resto/cohttp-server.nix { };
1667     resto-directory = callPackage ../development/ocaml-modules/resto/directory.nix { };
1668     resto-json = callPackage ../development/ocaml-modules/resto/json.nix { };
1670     result = callPackage ../development/ocaml-modules/ocaml-result { };
1672     rfc7748 = callPackage ../development/ocaml-modules/rfc7748 { };
1674     ringo = callPackage ../development/ocaml-modules/ringo { };
1676     rio = callPackage ../development/ocaml-modules/rio { };
1678     riot = callPackage ../development/ocaml-modules/riot { };
1680     rock = callPackage ../development/ocaml-modules/rock { };
1682     rope = callPackage ../development/ocaml-modules/rope { };
1684     rosetta = callPackage ../development/ocaml-modules/rosetta { };
1686     routes = callPackage ../development/ocaml-modules/routes { };
1688     rpclib = callPackage ../development/ocaml-modules/rpclib { };
1690     rpclib-lwt = callPackage ../development/ocaml-modules/rpclib/lwt.nix { };
1692     rresult = callPackage ../development/ocaml-modules/rresult { };
1694     rusage = callPackage ../development/ocaml-modules/rusage { };
1696     ### S ###
1698     safepass = callPackage ../development/ocaml-modules/safepass { };
1700     sail = callPackage ../development/ocaml-modules/sail { };
1702     samplerate = callPackage ../development/ocaml-modules/samplerate { };
1704     saturn = callPackage ../development/ocaml-modules/saturn { };
1706     saturn_lockfree = callPackage ../development/ocaml-modules/saturn/lockfree.nix { };
1708     sawja = callPackage ../development/ocaml-modules/sawja { };
1710     secp256k1 = callPackage ../development/ocaml-modules/secp256k1 {
1711       inherit (pkgs) secp256k1;
1712     };
1714     secp256k1-internal = callPackage ../development/ocaml-modules/secp256k1-internal { };
1716     sedlex = callPackage ../development/ocaml-modules/sedlex { };
1718     sel = callPackage ../development/ocaml-modules/sel {};
1720     semaphore-compat = callPackage ../development/ocaml-modules/semaphore-compat { };
1722     semver = callPackage ../development/ocaml-modules/semver { };
1724     seq = callPackage ../development/ocaml-modules/seq { };
1726     seqes = callPackage ../development/ocaml-modules/seqes { };
1728     sha = callPackage ../development/ocaml-modules/sha { };
1730     shared-memory-ring = callPackage ../development/ocaml-modules/shared-memory-ring { };
1732     shared-memory-ring-lwt = callPackage ../development/ocaml-modules/shared-memory-ring/lwt.nix { };
1734     shine = callPackage ../development/ocaml-modules/shine {
1735       inherit (pkgs) shine;
1736     };
1738     simple-diff = callPackage ../development/ocaml-modules/simple-diff { };
1740     slug = callPackage ../development/ocaml-modules/slug {  };
1742     sodium = callPackage ../development/ocaml-modules/sodium { };
1744     sosa = callPackage ../development/ocaml-modules/sosa { };
1746     soundtouch = callPackage ../development/ocaml-modules/soundtouch {
1747       inherit (pkgs) soundtouch;
1748     };
1750     spdx_licenses = callPackage ../development/ocaml-modules/spdx_licenses { };
1752     speex = callPackage ../development/ocaml-modules/speex {
1753       inherit (pkgs) speex;
1754     };
1756     spelll = callPackage ../development/ocaml-modules/spelll { };
1758     spices = callPackage ../development/ocaml-modules/spices { };
1760     srt = callPackage ../development/ocaml-modules/srt {
1761       inherit (pkgs) srt;
1762     };
1764     ssl = callPackage ../development/ocaml-modules/ssl { };
1766     stdcompat = callPackage ../development/ocaml-modules/stdcompat { };
1768     stdint = callPackage ../development/ocaml-modules/stdint { };
1770     stdlib-shims = callPackage ../development/ocaml-modules/stdlib-shims { };
1772     stdune = callPackage ../development/ocaml-modules/stdune { };
1774     stog = callPackage ../applications/misc/stog { };
1775     stog_asy = callPackage ../applications/misc/stog/asy.nix { };
1776     stog_markdown = callPackage ../applications/misc/stog/markdown.nix { };
1778     streaming = callPackage ../development/ocaml-modules/streaming { };
1780     stringext = callPackage ../development/ocaml-modules/stringext { };
1782     swhid_core = callPackage ../development/ocaml-modules/swhid_core { };
1784     syslog = callPackage ../development/ocaml-modules/syslog { };
1786     syslog-message = callPackage ../development/ocaml-modules/syslog-message { };
1788     ### T ###
1790     taglib = callPackage ../development/ocaml-modules/taglib {
1791       inherit (pkgs) taglib;
1792     };
1794     tar = callPackage ../development/ocaml-modules/tar { };
1796     tar-unix = callPackage ../development/ocaml-modules/tar/unix.nix {
1797       inherit (pkgs) git;
1798     };
1800     tcpip = callPackage ../development/ocaml-modules/tcpip { };
1802     tcslib = callPackage ../development/ocaml-modules/tcslib { };
1804     tdigest = callPackage ../development/ocaml-modules/tdigest { };
1806     telegraml = callPackage ../development/ocaml-modules/telegraml { };
1808     telemetry = callPackage ../development/ocaml-modules/telemetry { };
1810     terminal = callPackage ../development/ocaml-modules/terminal { };
1812     terminal_size = callPackage ../development/ocaml-modules/terminal_size { };
1814     terml = callPackage ../development/ocaml-modules/terml { };
1816     tezos-base58 = callPackage ../development/ocaml-modules/tezos-base58 { };
1818     tezt = callPackage ../development/ocaml-modules/tezt { };
1820     theora = callPackage ../development/ocaml-modules/theora { };
1822     thread-table = callPackage ../development/ocaml-modules/thread-table { };
1824     timed = callPackage ../development/ocaml-modules/timed { };
1826     timedesc = callPackage ../development/ocaml-modules/timedesc { };
1827     timedesc-tzdb = callPackage ../development/ocaml-modules/timedesc/tzdb.nix { };
1828     timedesc-tzlocal = callPackage ../development/ocaml-modules/timedesc/tzlocal.nix { };
1830     tiny_httpd = callPackage ../development/ocaml-modules/tiny_httpd { };
1832     tls = callPackage ../development/ocaml-modules/tls { };
1834     tls-async = callPackage ../development/ocaml-modules/tls/async.nix { };
1836     tls-lwt = callPackage ../development/ocaml-modules/tls/lwt.nix { };
1838     tls-mirage = callPackage ../development/ocaml-modules/tls/mirage.nix { };
1840     toml = callPackage ../development/ocaml-modules/toml { };
1842     topkg = callPackage ../development/ocaml-modules/topkg { };
1844     torch = callPackage ../development/ocaml-modules/torch {
1845       torch = pkgs.libtorch-bin;
1846     };
1848     trace = callPackage ../development/ocaml-modules/trace { };
1850     trace-tef = callPackage ../development/ocaml-modules/trace/tef.nix { };
1852     trie = callPackage ../development/ocaml-modules/trie { };
1854     tsdl = callPackage ../development/ocaml-modules/tsdl {
1855       inherit (pkgs.darwin.apple_sdk.frameworks) AudioToolbox Cocoa CoreAudio CoreVideo ForceFeedback;
1856     };
1858     tsdl-image = callPackage ../development/ocaml-modules/tsdl-image { };
1860     tsdl-mixer = callPackage ../development/ocaml-modules/tsdl-mixer { };
1862     tsdl-ttf = callPackage ../development/ocaml-modules/tsdl-ttf { };
1864     tsort = callPackage ../development/ocaml-modules/tsort { };
1866     tty = callPackage ../development/ocaml-modules/tty { };
1868     tuntap = callPackage ../development/ocaml-modules/tuntap { };
1870     twt = callPackage ../development/ocaml-modules/twt { };
1872     type_eq = callPackage ../development/ocaml-modules/type_eq { };
1874     type_id = callPackage ../development/ocaml-modules/type_id { };
1876     tyxml = callPackage ../development/ocaml-modules/tyxml { };
1878     tyxml-lwd = callPackage ../development/ocaml-modules/lwd/tyxml-lwd.nix { };
1880     ### U ###
1882     uchar = callPackage ../development/ocaml-modules/uchar { };
1884     uecc = callPackage ../development/ocaml-modules/uecc { };
1886     ulex = callPackage ../development/ocaml-modules/ulex { };
1888     unionFind = callPackage ../development/ocaml-modules/unionFind { };
1890     unisim_archisec = callPackage ../development/ocaml-modules/unisim_archisec { };
1892     unix-errno = callPackage ../development/ocaml-modules/unix-errno { };
1894     unstrctrd = callPackage ../development/ocaml-modules/unstrctrd { };
1896     uri = callPackage ../development/ocaml-modules/uri { };
1898     uri-sexp = callPackage ../development/ocaml-modules/uri/sexp.nix { };
1900     uring = callPackage ../development/ocaml-modules/uring { };
1902     utop = callPackage ../development/tools/ocaml/utop { };
1904     uucd = callPackage ../development/ocaml-modules/uucd { };
1906     uucp = callPackage ../development/ocaml-modules/uucp { };
1908     uuidm = callPackage ../development/ocaml-modules/uuidm { };
1910     uunf = callPackage ../development/ocaml-modules/uunf { };
1912     uuseg = callPackage ../development/ocaml-modules/uuseg { };
1914     uutf = callPackage ../development/ocaml-modules/uutf { };
1916     uuuu = callPackage ../development/ocaml-modules/uuuu { };
1918     ### V ###
1920     vchan = callPackage ../development/ocaml-modules/vchan { };
1922     vector = callPackage ../development/ocaml-modules/vector { };
1924     vg = callPackage ../development/ocaml-modules/vg { };
1926     visitors = callPackage ../development/ocaml-modules/visitors { };
1928     vlq = callPackage ../development/ocaml-modules/vlq { };
1930     vorbis = callPackage ../development/ocaml-modules/vorbis { };
1932     vpl-core = callPackage ../development/ocaml-modules/vpl-core { };
1934     ### W ###
1936     wasm = callPackage ../development/ocaml-modules/wasm { };
1938     wayland = callPackage ../development/ocaml-modules/wayland { };
1940     webbrowser = callPackage ../development/ocaml-modules/webbrowser { };
1942     webmachine = callPackage ../development/ocaml-modules/webmachine { };
1944     wtf8 = callPackage ../development/ocaml-modules/wtf8 { };
1946     ### X ###
1948     x509 = callPackage ../development/ocaml-modules/x509 { };
1950     xdg = callPackage ../development/ocaml-modules/xdg { };
1952     xenstore = callPackage ../development/ocaml-modules/xenstore { };
1954     xenstore-tool = callPackage ../development/ocaml-modules/xenstore-tool { };
1956     xenstore_transport = callPackage ../development/ocaml-modules/xenstore_transport { };
1958     xml-light = callPackage ../development/ocaml-modules/xml-light { };
1960     xmlm = callPackage ../development/ocaml-modules/xmlm { };
1962     xmlplaylist = callPackage ../development/ocaml-modules/xmlplaylist { };
1964     xtmpl = callPackage ../development/ocaml-modules/xtmpl { };
1966     xtmpl_ppx = callPackage ../development/ocaml-modules/xtmpl/ppx.nix { };
1968     xxhash = callPackage ../development/ocaml-modules/xxhash/default.nix { };
1970     ### Y ###
1972     yaml = callPackage ../development/ocaml-modules/yaml { };
1974     yaml-sexp = callPackage ../development/ocaml-modules/yaml/yaml-sexp.nix { };
1976     yojson = callPackage ../development/ocaml-modules/yojson { };
1978     yuscii = callPackage ../development/ocaml-modules/yuscii { };
1980     yuujinchou = callPackage ../development/ocaml-modules/yuujinchou { };
1982     ### Z ###
1984     z3 = callPackage ../development/ocaml-modules/z3 {
1985       inherit (pkgs) z3;
1986     };
1988     zarith = callPackage ../development/ocaml-modules/zarith { };
1990     zed = callPackage ../development/ocaml-modules/zed { };
1992     zelus = callPackage ../development/ocaml-modules/zelus { };
1994     zelus-gtk = callPackage ../development/ocaml-modules/zelus-gtk { };
1996     zipc = callPackage ../development/ocaml-modules/zipc { };
1998     zmq = callPackage ../development/ocaml-modules/zmq { };
2000     zmq-lwt = callPackage ../development/ocaml-modules/zmq/lwt.nix { };
2002     ### Exceptional packages kept out of order ###
2004     # Libs
2006     buildDunePackage = callPackage ../build-support/ocaml/dune.nix { };
2008     buildOasisPackage = callPackage ../build-support/ocaml/oasis.nix { };
2010     buildTopkgPackage = callPackage ../build-support/ocaml/topkg.nix { };
2012     # Apps from all-packages, to be eventually removed
2014     google-drive-ocamlfuse = callPackage ../applications/networking/google-drive-ocamlfuse { };
2016     hol_light = callPackage ../applications/science/logic/hol_light { };
2018     ocamlnat = callPackage  ../development/ocaml-modules/ocamlnat { };
2020     ### End ###
2022   })).overrideScope liftJaneStreet;
2024 in let inherit (pkgs) callPackage; in rec
2026   inherit mkOcamlPackages;
2028   ocamlPackages_4_00_1 = mkOcamlPackages (callPackage ../development/compilers/ocaml/4.00.1.nix { });
2030   ocamlPackages_4_01_0 = mkOcamlPackages (callPackage ../development/compilers/ocaml/4.01.0.nix { });
2032   ocamlPackages_4_02 = mkOcamlPackages (callPackage ../development/compilers/ocaml/4.02.nix { });
2034   ocamlPackages_4_03 = mkOcamlPackages (callPackage ../development/compilers/ocaml/4.03.nix { });
2036   ocamlPackages_4_04 = mkOcamlPackages (callPackage ../development/compilers/ocaml/4.04.nix { });
2038   ocamlPackages_4_05 = mkOcamlPackages (callPackage ../development/compilers/ocaml/4.05.nix { });
2040   ocamlPackages_4_06 = mkOcamlPackages (callPackage ../development/compilers/ocaml/4.06.nix { });
2042   ocamlPackages_4_07 = mkOcamlPackages (callPackage ../development/compilers/ocaml/4.07.nix { });
2044   ocamlPackages_4_08 = mkOcamlPackages (callPackage ../development/compilers/ocaml/4.08.nix { });
2046   ocamlPackages_4_09 = mkOcamlPackages (callPackage ../development/compilers/ocaml/4.09.nix { });
2048   ocamlPackages_4_10 = mkOcamlPackages (callPackage ../development/compilers/ocaml/4.10.nix { });
2050   ocamlPackages_4_11 = mkOcamlPackages (callPackage ../development/compilers/ocaml/4.11.nix { });
2052   ocamlPackages_4_12 = mkOcamlPackages (callPackage ../development/compilers/ocaml/4.12.nix { });
2054   ocamlPackages_4_13 = mkOcamlPackages (callPackage ../development/compilers/ocaml/4.13.nix { });
2056   ocamlPackages_4_14 = mkOcamlPackages (callPackage ../development/compilers/ocaml/4.14.nix { });
2058   ocamlPackages_5_0 = mkOcamlPackages (callPackage ../development/compilers/ocaml/5.0.nix { });
2060   ocamlPackages_5_1 = mkOcamlPackages (callPackage ../development/compilers/ocaml/5.1.nix { });
2062   ocamlPackages_5_2 = mkOcamlPackages (callPackage ../development/compilers/ocaml/5.2.nix { });
2064   ocamlPackages_latest = ocamlPackages_5_2;
2066   ocamlPackages = ocamlPackages_5_2;
2068   # We still have packages that rely on unsafe-string, which is deprecated in OCaml 4.06.0.
2069   # Below are aliases for porting them to the latest versions of the OCaml 4 series.
2070   ocamlPackages_4_14_unsafe_string = mkOcamlPackages (callPackage ../development/compilers/ocaml/4.14.nix {
2071     unsafeStringSupport = true;
2072   });