nixpkgs/pkgs/top-level/ocaml-packages.nix

1523 lines
54 KiB
Nix
Raw Normal View History

2019-01-03 22:58:36 +00:00
{ lib, newScope, pkgs, config }:
2016-09-19 18:00:42 +01:00
let
2019-01-03 22:58:36 +00:00
liftJaneStreet = self: super: super.janeStreet // super;
2016-09-19 18:00:42 +01:00
2019-01-03 22:58:36 +00:00
mkOcamlPackages = ocaml:
(lib.makeScope newScope (self: with self;
{
2016-09-19 18:00:42 +01:00
inherit ocaml;
# Libs
buildOcaml = callPackage ../build-support/ocaml { };
2019-08-06 16:54:09 +01:00
buildOasisPackage = callPackage ../build-support/ocaml/oasis.nix { };
buildDunePackage = callPackage ../build-support/ocaml/dune.nix {};
afl-persistent = callPackage ../development/ocaml-modules/afl-persistent { };
2016-09-19 18:00:42 +01:00
alcotest = callPackage ../development/ocaml-modules/alcotest {};
alcotest-lwt = callPackage ../development/ocaml-modules/alcotest/lwt.nix {};
2017-02-17 22:18:48 +00:00
angstrom = callPackage ../development/ocaml-modules/angstrom { };
angstrom-async = callPackage ../development/ocaml-modules/angstrom-async { };
angstrom-lwt-unix = callPackage ../development/ocaml-modules/angstrom-lwt-unix { };
angstrom-unix = callPackage ../development/ocaml-modules/angstrom-unix { };
2016-09-19 18:00:42 +01:00
ansiterminal = callPackage ../development/ocaml-modules/ansiterminal { };
apron = callPackage ../development/ocaml-modules/apron { };
2020-12-29 22:44:46 +00:00
arp = callPackage ../development/ocaml-modules/arp { };
2016-09-19 18:00:42 +01:00
asn1-combinators = callPackage ../development/ocaml-modules/asn1-combinators { };
2016-11-03 01:12:14 +00:00
astring = callPackage ../development/ocaml-modules/astring { };
2016-09-19 18:00:42 +01:00
atd = callPackage ../development/ocaml-modules/atd { };
atdgen = callPackage ../development/ocaml-modules/atdgen { };
2021-01-16 12:24:58 +00:00
awa = callPackage ../development/ocaml-modules/awa { };
awa-lwt = callPackage ../development/ocaml-modules/awa/lwt.nix { };
awa-mirage = callPackage ../development/ocaml-modules/awa/mirage.nix { };
2016-09-19 18:00:42 +01:00
base64 = callPackage ../development/ocaml-modules/base64 { };
2019-09-03 20:26:27 +01:00
bap = callPackage ../development/ocaml-modules/bap {
inherit (pkgs.llvmPackages_8) llvm;
2019-09-03 20:26:27 +01:00
};
2017-01-25 07:08:03 +00:00
batteries = callPackage ../development/ocaml-modules/batteries { };
2021-01-12 18:49:15 +00:00
bheap = callPackage ../development/ocaml-modules/bheap { };
bigarray-compat = callPackage ../development/ocaml-modules/bigarray-compat { };
bigarray-overlap = callPackage ../development/ocaml-modules/bigarray-overlap { };
bigstringaf = callPackage ../development/ocaml-modules/bigstringaf { };
2019-12-02 05:07:43 +00:00
bigstring = callPackage ../development/ocaml-modules/bigstring { };
2019-11-25 15:53:58 +00:00
biocaml = callPackage ../development/ocaml-modules/biocaml { };
2019-06-13 07:40:48 +01:00
bistro = callPackage ../development/ocaml-modules/bistro { };
2017-03-29 06:24:58 +01:00
bitstring = callPackage ../development/ocaml-modules/bitstring { };
bitv = callPackage ../development/ocaml-modules/bitv { };
2016-09-19 18:00:42 +01:00
bolt = callPackage ../development/ocaml-modules/bolt { };
bos = callPackage ../development/ocaml-modules/bos { };
2020-11-16 10:05:43 +00:00
bz2 = callPackage ../development/ocaml-modules/bz2 { };
2020-11-16 10:05:43 +00:00
ca-certs = callPackage ../development/ocaml-modules/ca-certs { };
ocamlPackages: cohttp: 2.5.0 -> 4.0.0; conduit: 2.2.2 -> 4.0.0 (#118144) * ocamlPackages.x509: 0.12.0 -> 0.13.0 https://github.com/mirleft/ocaml-x509/releases/tag/v0.13.0 * ocamlPackages.tls{,-mirage}: 0.12.8 -> 0.13.1 https://github.com/mirleft/ocaml-tls/releases/tag/v0.13.0 https://github.com/mirleft/ocaml-tls/releases/tag/v0.13.1 * ocamlPackages.ca-certs: 0.2.0 -> 0.2.1 Adds support for NIX_SSL_CERT_FILE, so we can finally run its test suite! https://github.com/mirage/ca-certs/releases/tag/v0.2.1 * ocamlPackages.dns*: 4.6.3 -> 5.0.0 * jackline: unstable-2020-09-03 -> unstable-2021-04-23 Compatibility with tls >= 0.13.0 * ocamlPackages.ca-certs-nss: init at 3.64.0.1 * ocamlPackages.conduit: 2.2.2 -> 2.3.0 https://github.com/mirage/ocaml-conduit/releases/tag/v2.3.0 * ocamlPackages.curly: fix tests with new ca-certs behavior * ocamlPackages.cohttp: 2.5.0 -> 4.0.0 ocamlPackages.cohttp-lwt-unix: add description https://github.com/mirage/ocaml-cohttp/releases/tag/v4.0.0 * ocamlPackages.mirage{,-runtime,-types*}: 3.10.1 -> 3.10.3 Adjust to a few changed dependencies: https://github.com/mirage/mirage/releases/tag/v3.10.2 https://github.com/mirage/mirage/releases/tag/v3.10.3 * ocamlPackages.conduit*: 2.3.0 -> 4.0.0 https://github.com/mirage/ocaml-conduit/releases/tag/v4.0.0 * ocamlPackages.cohttp-lwt-unix: disable tests * ocamlPackages.dns*: 5.0.0 -> 5.0.1 https://github.com/mirage/ocaml-dns/releases/tag/v5.0.1 * ocamlPackages.awa*: 0.0.1 -> 0.0.3 https://github.com/mirage/awa-ssh/releases/tag/v0.0.2 https://github.com/mirage/awa-ssh/releases/tag/v0.0.3 * ocamlPackages.optint: 0.0.4 -> 0.1.0 https://github.com/mirage/optint/releases/tag/v0.0.5 https://github.com/mirage/optint/releases/tag/v0.1.0 * ocamlPackages.decompress: 1.3.0 -> 1.4.0 https://github.com/mirage/decompress/releases/tag/v1.4.0 * ocamlPackages.checkseum: 0.2.1 -> 0.3.1 https://github.com/mirage/checkseum/releases/tag/v0.3.0 https://github.com/mirage/checkseum/releases/tag/v0.3.1 * ocamlPackages.checkseum: allow compilation with ocaml-freestanding * ocamlPackages.carton: 0.4.0 -> 0.4.1 https://github.com/mirage/ocaml-git/releases/tag/carton-v0.4.1 * ocamlPackages.mimic: 0.0.2 -> 0.0.3 * Upstream changed. * https://github.com/dinosaure/mimic/releases/tag/0.0.3 * ocamlPackages.letsencrypt: 0.2.4 -> 0.2.5 * ocamlPackages.paf: 0.0.1 -> 0.0.3 * ocamlPackages.git-cohttp-mirage: remove at 3.3.3 Will be replaced by git-paf 3.4.0. * ocamlPackages.git*: 3.3.3 -> 3.4.0 ocamlPackages.git-paf: init at 3.4.0 https://github.com/mirage/ocaml-git/releases/tag/3.4.0 * ocamlPackages.irmin*: 2.5.3 -> 2.6.0 https://github.com/mirage/irmin/releases/tag/2.6.0
2021-05-11 05:54:15 +01:00
ca-certs-nss = callPackage ../development/ocaml-modules/ca-certs-nss { };
carton = callPackage ../development/ocaml-modules/carton { };
carton-git = callPackage ../development/ocaml-modules/carton/git.nix { };
carton-lwt = callPackage ../development/ocaml-modules/carton/lwt.nix {
git-binary = pkgs.git;
};
2016-09-19 18:00:42 +01:00
camlidl = callPackage ../development/tools/ocaml/camlidl { };
camlp4 =
2016-10-08 07:45:59 +01:00
if lib.versionOlder "4.02" ocaml.version
2016-09-19 18:00:42 +01:00
then callPackage ../development/tools/ocaml/camlp4 { }
else null;
camlp5 = callPackage ../development/tools/ocaml/camlp5 { };
2016-09-19 18:00:42 +01:00
# Compatibility alias
camlp5_strict = camlp5;
2016-09-19 18:00:42 +01:00
camlpdf = callPackage ../development/ocaml-modules/camlpdf { };
calendar = callPackage ../development/ocaml-modules/calendar { };
camlzip = callPackage ../development/ocaml-modules/camlzip { };
camomile_0_8_2 = callPackage ../development/ocaml-modules/camomile/0.8.2.nix { };
2017-10-19 22:09:20 +01:00
camomile =
2017-11-09 18:52:03 +00:00
if lib.versionOlder "4.02" ocaml.version
2017-10-19 22:09:20 +01:00
then callPackage ../development/ocaml-modules/camomile { }
else callPackage ../development/ocaml-modules/camomile/0.8.5.nix { };
2016-09-19 18:00:42 +01:00
camlimages_4_1_2 =
if lib.versionOlder "4.02" ocaml.version
then null
else callPackage ../development/ocaml-modules/camlimages/4.1.2.nix {
2016-09-19 18:00:42 +01:00
libpng = pkgs.libpng12;
};
camlimages = callPackage ../development/ocaml-modules/camlimages { };
2016-09-19 18:00:42 +01:00
benchmark = callPackage ../development/ocaml-modules/benchmark { };
2017-10-06 21:23:12 +01:00
biniou =
if lib.versionOlder "4.02" ocaml.version
then callPackage ../development/ocaml-modules/biniou { }
else callPackage ../development/ocaml-modules/biniou/1.0.nix { };
2016-09-19 18:00:42 +01:00
bin_prot_p4 = callPackage ../development/ocaml-modules/bin_prot { };
bisect_ppx = callPackage ../development/ocaml-modules/bisect_ppx { };
2016-09-19 18:00:42 +01:00
ocaml_cairo = callPackage ../development/ocaml-modules/ocaml-cairo { };
2017-12-09 08:38:50 +00:00
cairo2 = callPackage ../development/ocaml-modules/cairo2 { };
2016-09-19 18:00:42 +01:00
caqti = callPackage ../development/ocaml-modules/caqti { };
caqti-async = callPackage ../development/ocaml-modules/caqti/async.nix { };
caqti-driver-mariadb = callPackage ../development/ocaml-modules/caqti/driver-mariadb.nix { };
caqti-driver-postgresql = callPackage ../development/ocaml-modules/caqti/driver-postgresql.nix { };
caqti-driver-sqlite3 = callPackage ../development/ocaml-modules/caqti/driver-sqlite3.nix { };
caqti-dynload = callPackage ../development/ocaml-modules/caqti/dynload.nix { };
caqti-lwt = callPackage ../development/ocaml-modules/caqti/lwt.nix { };
caqti-type-calendar = callPackage ../development/ocaml-modules/caqti/type-calendar.nix { };
2019-11-25 15:53:35 +00:00
cfstream = callPackage ../development/ocaml-modules/cfstream { };
charInfo_width = callPackage ../development/ocaml-modules/charInfo_width { };
checkseum = callPackage ../development/ocaml-modules/checkseum { };
2016-09-19 18:00:42 +01:00
cil = callPackage ../development/ocaml-modules/cil { };
cmdliner = callPackage ../development/ocaml-modules/cmdliner { };
cohttp = callPackage ../development/ocaml-modules/cohttp { };
cohttp-async = callPackage ../development/ocaml-modules/cohttp/async.nix { };
cohttp-lwt = callPackage ../development/ocaml-modules/cohttp/lwt.nix { };
cohttp-lwt-unix = callPackage ../development/ocaml-modules/cohttp/lwt-unix.nix { };
cohttp-mirage = callPackage ../development/ocaml-modules/cohttp/mirage.nix { };
conduit = callPackage ../development/ocaml-modules/conduit { };
conduit-async = callPackage ../development/ocaml-modules/conduit/async.nix { };
conduit-lwt = callPackage ../development/ocaml-modules/conduit/lwt.nix { };
conduit-lwt-unix = callPackage ../development/ocaml-modules/conduit/lwt-unix.nix { };
conduit-mirage = callPackage ../development/ocaml-modules/conduit/mirage.nix { };
2016-09-19 18:00:42 +01:00
config-file = callPackage ../development/ocaml-modules/config-file { };
containers = callPackage ../development/ocaml-modules/containers { };
containers-data = callPackage ../development/ocaml-modules/containers/data.nix { };
cooltt = callPackage ../development/ocaml-modules/cooltt { };
2017-02-18 21:58:29 +00:00
cow = callPackage ../development/ocaml-modules/cow { };
2016-09-19 18:00:42 +01:00
cpdf = callPackage ../development/ocaml-modules/cpdf { };
cppo = callPackage ../development/tools/ocaml/cppo { };
cppo_ocamlbuild = callPackage ../development/tools/ocaml/cppo/ocamlbuild.nix { };
cpu = callPackage ../development/ocaml-modules/cpu { };
cpuid = callPackage ../development/ocaml-modules/cpuid { };
2020-05-21 01:23:05 +01:00
crowbar = callPackage ../development/ocaml-modules/crowbar { };
2019-11-28 21:15:21 +00:00
crunch = callPackage ../development/tools/ocaml/crunch { };
2016-09-19 18:00:42 +01:00
cryptokit = callPackage ../development/ocaml-modules/cryptokit { };
2020-09-03 01:00:00 +01:00
csexp = callPackage ../development/ocaml-modules/csexp { };
cstruct = callPackage ../development/ocaml-modules/cstruct {};
2017-11-27 19:08:40 +00:00
cstruct-async = callPackage ../development/ocaml-modules/cstruct/async.nix { };
cstruct-lwt = callPackage ../development/ocaml-modules/cstruct/lwt.nix { };
2016-09-19 18:00:42 +01:00
cstruct-sexp = callPackage ../development/ocaml-modules/cstruct/sexp.nix {};
2017-11-27 19:08:40 +00:00
cstruct-unix = callPackage ../development/ocaml-modules/cstruct/unix.nix {};
2017-09-20 06:38:42 +01:00
csv =
if lib.versionAtLeast ocaml.version "4.2"
then callPackage ../development/ocaml-modules/csv { }
else callPackage ../development/ocaml-modules/csv/1.5.nix { };
2016-09-19 18:00:42 +01:00
2018-12-16 10:46:31 +00:00
csv-lwt = callPackage ../development/ocaml-modules/csv/lwt.nix { };
2021-06-09 02:08:57 +01:00
cudf = callPackage ../development/ocaml-modules/cudf { };
curly = callPackage ../development/ocaml-modules/curly {
inherit (pkgs) curl;
};
curses = callPackage ../development/ocaml-modules/curses { };
2017-02-04 15:07:45 +00:00
2016-09-19 18:00:42 +01:00
ctypes = callPackage ../development/ocaml-modules/ctypes { };
2021-04-12 20:59:43 +01:00
dap = callPackage ../development/ocaml-modules/dap { };
decompress = callPackage ../development/ocaml-modules/decompress { };
2020-12-26 17:32:36 +00:00
diet = callPackage ../development/ocaml-modules/diet { };
digestif = callPackage ../development/ocaml-modules/digestif { };
2021-02-22 19:16:22 +00:00
directories = callPackage ../development/ocaml-modules/directories { };
2019-12-01 18:20:16 +00:00
dispatch = callPackage ../development/ocaml-modules/dispatch { };
2020-04-08 07:19:59 +01:00
dns = callPackage ../development/ocaml-modules/dns { };
dns-certify = callPackage ../development/ocaml-modules/dns/certify.nix { };
dns-cli = callPackage ../development/ocaml-modules/dns/cli.nix { };
dns-client = callPackage ../development/ocaml-modules/dns/client.nix { };
dns-mirage = callPackage ../development/ocaml-modules/dns/mirage.nix { };
dns-resolver = callPackage ../development/ocaml-modules/dns/resolver.nix { };
dns-server = callPackage ../development/ocaml-modules/dns/server.nix { };
dns-stub = callPackage ../development/ocaml-modules/dns/stub.nix { };
dns-tsig = callPackage ../development/ocaml-modules/dns/tsig.nix { };
dolmen = callPackage ../development/ocaml-modules/dolmen { };
2016-09-19 18:00:42 +01:00
dolog = callPackage ../development/ocaml-modules/dolog { };
domain-name = callPackage ../development/ocaml-modules/domain-name { };
2018-01-01 09:43:27 +00:00
dtoa = callPackage ../development/ocaml-modules/dtoa { };
2019-10-07 07:24:04 +01:00
duff = callPackage ../development/ocaml-modules/duff { };
dum = callPackage ../development/ocaml-modules/dum { };
2021-02-26 16:35:41 +00:00
dune_1 = callPackage ../development/tools/ocaml/dune/1.nix { };
2019-03-20 10:28:28 +00:00
dune_2 =
if lib.versionAtLeast ocaml.version "4.08"
then callPackage ../development/tools/ocaml/dune/2.nix { }
else if lib.versionAtLeast ocaml.version "4.02"
then pkgs.dune_2
else throw "dune_2 is not available for OCaml ${ocaml.version}";
dune-action-plugin = callPackage ../development/ocaml-modules/dune-action-plugin { };
dune-build-info = callPackage ../development/ocaml-modules/dune-build-info { };
dune-configurator = callPackage ../development/ocaml-modules/dune-configurator { };
2020-08-20 10:20:00 +01:00
dune-glob = callPackage ../development/ocaml-modules/dune-glob { };
dune-private-libs = callPackage ../development/ocaml-modules/dune-private-libs { };
2020-05-20 22:51:37 +01:00
dune-release = callPackage ../development/tools/ocaml/dune-release {
inherit (pkgs) opam git mercurial coreutils gnutar bzip2;
};
2020-04-08 07:16:51 +01:00
duration = callPackage ../development/ocaml-modules/duration { };
earley = callPackage ../development/ocaml-modules/earley { };
earlybird = callPackage ../development/ocaml-modules/earlybird { };
2016-09-19 18:00:42 +01:00
easy-format = callPackage ../development/ocaml-modules/easy-format { };
2019-11-26 12:16:50 +00:00
eigen = callPackage ../development/ocaml-modules/eigen { };
2021-01-19 09:27:15 +00:00
either = callPackage ../development/ocaml-modules/either { };
elina = callPackage ../development/ocaml-modules/elina { };
2019-01-14 22:52:07 +00:00
eliom = callPackage ../development/ocaml-modules/eliom { };
2016-09-19 18:00:42 +01:00
elpi = callPackage ../development/ocaml-modules/elpi (
let ppxlib_0_15 = if lib.versionAtLeast ppxlib.version "0.15"
then ppxlib.override { version = "0.15.0"; }
else ppxlib; in
{
ppx_deriving = ppx_deriving.override { ppxlib = ppxlib_0_15; };
ppxlib = ppxlib_0_15;
}
);
2018-09-20 06:45:31 +01:00
2019-10-20 21:31:33 +01:00
encore = callPackage ../development/ocaml-modules/encore { };
2021-01-15 11:12:36 +00:00
emile = callPackage ../development/ocaml-modules/emile { };
2016-09-19 18:00:42 +01:00
enumerate = callPackage ../development/ocaml-modules/enumerate { };
2019-10-07 07:44:19 +01:00
eqaf = callPackage ../development/ocaml-modules/eqaf { };
2016-09-19 18:00:42 +01:00
erm_xml = callPackage ../development/ocaml-modules/erm_xml { };
erm_xmpp = callPackage ../development/ocaml-modules/erm_xmpp { };
estring = callPackage ../development/ocaml-modules/estring { };
2020-12-29 22:14:50 +00:00
ethernet = callPackage ../development/ocaml-modules/ethernet { };
2018-07-05 21:31:18 +01:00
ezjsonm = callPackage ../development/ocaml-modules/ezjsonm { };
2016-09-19 18:00:42 +01:00
2018-10-06 08:44:22 +01:00
ezxmlm = callPackage ../development/ocaml-modules/ezxmlm { };
facile = callPackage ../development/ocaml-modules/facile { };
2016-09-19 18:00:42 +01:00
faillib = callPackage ../development/ocaml-modules/faillib { };
faraday = callPackage ../development/ocaml-modules/faraday { };
faraday-async = callPackage ../development/ocaml-modules/faraday/async.nix { };
faraday-lwt = callPackage ../development/ocaml-modules/faraday/lwt.nix { };
faraday-lwt-unix = callPackage ../development/ocaml-modules/faraday/lwt-unix.nix { };
farfadet = callPackage ../development/ocaml-modules/farfadet { };
2020-08-30 06:31:07 +01:00
fdkaac = callPackage ../development/ocaml-modules/fdkaac { };
2020-05-12 17:25:44 +01:00
fiat-p256 = callPackage ../development/ocaml-modules/fiat-p256 { };
2016-09-19 18:00:42 +01:00
fieldslib_p4 = callPackage ../development/ocaml-modules/fieldslib { };
fileutils = callPackage ../development/ocaml-modules/fileutils { };
findlib = callPackage ../development/tools/ocaml/findlib { };
fix = callPackage ../development/ocaml-modules/fix { };
fmt = callPackage ../development/ocaml-modules/fmt { };
2016-09-19 18:00:42 +01:00
fontconfig = callPackage ../development/ocaml-modules/fontconfig {
inherit (pkgs) fontconfig;
};
fpath = callPackage ../development/ocaml-modules/fpath { };
functoria = callPackage ../development/ocaml-modules/functoria { };
functoria-runtime = callPackage ../development/ocaml-modules/functoria/runtime.nix { };
2016-09-19 18:00:42 +01:00
functory = callPackage ../development/ocaml-modules/functory { };
gen = callPackage ../development/ocaml-modules/gen { };
genspio = callPackage ../development/ocaml-modules/genspio { };
2019-08-24 08:02:17 +01:00
gmap = callPackage ../development/ocaml-modules/gmap { };
2019-12-02 16:18:14 +00:00
gnuplot = callPackage ../development/ocaml-modules/gnuplot {
inherit (pkgs) gnuplot;
};
2020-10-07 05:57:15 +01:00
gsl = callPackage ../development/ocaml-modules/gsl {
inherit (pkgs) gsl;
};
2021-04-25 15:46:11 +01:00
h2 = callPackage ../development/ocaml-modules/h2 { };
hacl_x25519 = callPackage ../development/ocaml-modules/hacl_x25519 { };
2016-09-19 18:00:42 +01:00
herelib = callPackage ../development/ocaml-modules/herelib { };
hidapi = callPackage ../development/ocaml-modules/hidapi { };
2017-03-23 07:58:25 +00:00
higlo = callPackage ../development/ocaml-modules/higlo { };
2020-05-12 17:32:24 +01:00
hkdf = callPackage ../development/ocaml-modules/hkdf { };
2019-06-02 02:33:22 +01:00
hmap = callPackage ../development/ocaml-modules/hmap { };
2021-04-25 15:45:11 +01:00
hpack = callPackage ../development/ocaml-modules/hpack { };
2021-01-15 09:52:05 +00:00
hxd = callPackage ../development/ocaml-modules/hxd { };
imagelib = callPackage ../development/ocaml-modules/imagelib { };
inotify = callPackage ../development/ocaml-modules/inotify { };
2017-07-11 22:11:53 +01:00
integers = callPackage ../development/ocaml-modules/integers { };
2016-09-19 18:00:42 +01:00
io-page = callPackage ../development/ocaml-modules/io-page { };
io-page-unix = callPackage ../development/ocaml-modules/io-page/unix.nix { };
ipaddr = callPackage ../development/ocaml-modules/ipaddr { };
2016-09-19 18:00:42 +01:00
ipaddr-cstruct = callPackage ../development/ocaml-modules/ipaddr/cstruct.nix { };
ipaddr-sexp = callPackage ../development/ocaml-modules/ipaddr/sexp.nix { };
2016-09-19 18:00:42 +01:00
iso8601 = callPackage ../development/ocaml-modules/iso8601 { };
iter = callPackage ../development/ocaml-modules/iter { };
2016-09-19 18:00:42 +01:00
javalib = callPackage ../development/ocaml-modules/javalib {
extlib = ocaml_extlib;
2016-09-19 18:00:42 +01:00
};
dypgen = callPackage ../development/ocaml-modules/dypgen { };
gapi_ocaml = callPackage ../development/ocaml-modules/gapi-ocaml { };
gg = callPackage ../development/ocaml-modules/gg { };
git = callPackage ../development/ocaml-modules/git {
git-binary = pkgs.git;
};
git-cohttp = callPackage ../development/ocaml-modules/git/cohttp.nix { };
git-cohttp-unix = callPackage ../development/ocaml-modules/git/cohttp-unix.nix { };
ocamlPackages: cohttp: 2.5.0 -> 4.0.0; conduit: 2.2.2 -> 4.0.0 (#118144) * ocamlPackages.x509: 0.12.0 -> 0.13.0 https://github.com/mirleft/ocaml-x509/releases/tag/v0.13.0 * ocamlPackages.tls{,-mirage}: 0.12.8 -> 0.13.1 https://github.com/mirleft/ocaml-tls/releases/tag/v0.13.0 https://github.com/mirleft/ocaml-tls/releases/tag/v0.13.1 * ocamlPackages.ca-certs: 0.2.0 -> 0.2.1 Adds support for NIX_SSL_CERT_FILE, so we can finally run its test suite! https://github.com/mirage/ca-certs/releases/tag/v0.2.1 * ocamlPackages.dns*: 4.6.3 -> 5.0.0 * jackline: unstable-2020-09-03 -> unstable-2021-04-23 Compatibility with tls >= 0.13.0 * ocamlPackages.ca-certs-nss: init at 3.64.0.1 * ocamlPackages.conduit: 2.2.2 -> 2.3.0 https://github.com/mirage/ocaml-conduit/releases/tag/v2.3.0 * ocamlPackages.curly: fix tests with new ca-certs behavior * ocamlPackages.cohttp: 2.5.0 -> 4.0.0 ocamlPackages.cohttp-lwt-unix: add description https://github.com/mirage/ocaml-cohttp/releases/tag/v4.0.0 * ocamlPackages.mirage{,-runtime,-types*}: 3.10.1 -> 3.10.3 Adjust to a few changed dependencies: https://github.com/mirage/mirage/releases/tag/v3.10.2 https://github.com/mirage/mirage/releases/tag/v3.10.3 * ocamlPackages.conduit*: 2.3.0 -> 4.0.0 https://github.com/mirage/ocaml-conduit/releases/tag/v4.0.0 * ocamlPackages.cohttp-lwt-unix: disable tests * ocamlPackages.dns*: 5.0.0 -> 5.0.1 https://github.com/mirage/ocaml-dns/releases/tag/v5.0.1 * ocamlPackages.awa*: 0.0.1 -> 0.0.3 https://github.com/mirage/awa-ssh/releases/tag/v0.0.2 https://github.com/mirage/awa-ssh/releases/tag/v0.0.3 * ocamlPackages.optint: 0.0.4 -> 0.1.0 https://github.com/mirage/optint/releases/tag/v0.0.5 https://github.com/mirage/optint/releases/tag/v0.1.0 * ocamlPackages.decompress: 1.3.0 -> 1.4.0 https://github.com/mirage/decompress/releases/tag/v1.4.0 * ocamlPackages.checkseum: 0.2.1 -> 0.3.1 https://github.com/mirage/checkseum/releases/tag/v0.3.0 https://github.com/mirage/checkseum/releases/tag/v0.3.1 * ocamlPackages.checkseum: allow compilation with ocaml-freestanding * ocamlPackages.carton: 0.4.0 -> 0.4.1 https://github.com/mirage/ocaml-git/releases/tag/carton-v0.4.1 * ocamlPackages.mimic: 0.0.2 -> 0.0.3 * Upstream changed. * https://github.com/dinosaure/mimic/releases/tag/0.0.3 * ocamlPackages.letsencrypt: 0.2.4 -> 0.2.5 * ocamlPackages.paf: 0.0.1 -> 0.0.3 * ocamlPackages.git-cohttp-mirage: remove at 3.3.3 Will be replaced by git-paf 3.4.0. * ocamlPackages.git*: 3.3.3 -> 3.4.0 ocamlPackages.git-paf: init at 3.4.0 https://github.com/mirage/ocaml-git/releases/tag/3.4.0 * ocamlPackages.irmin*: 2.5.3 -> 2.6.0 https://github.com/mirage/irmin/releases/tag/2.6.0
2021-05-11 05:54:15 +01:00
git-paf = callPackage ../development/ocaml-modules/git/paf.nix { };
git-unix = callPackage ../development/ocaml-modules/git/unix.nix {
git-binary = pkgs.git;
};
2016-09-19 18:00:42 +01:00
gmetadom = callPackage ../development/ocaml-modules/gmetadom { };
graphics =
if lib.versionOlder "4.09" ocaml.version
then callPackage ../development/ocaml-modules/graphics { }
else null;
2019-12-06 06:18:55 +00:00
graphql = callPackage ../development/ocaml-modules/graphql { };
graphql-cohttp = callPackage ../development/ocaml-modules/graphql/cohttp.nix { };
graphql-lwt = callPackage ../development/ocaml-modules/graphql/lwt.nix { };
graphql_parser = callPackage ../development/ocaml-modules/graphql/parser.nix { };
2020-06-08 14:37:04 +01:00
graphql_ppx = callPackage ../development/ocaml-modules/graphql_ppx { };
2016-09-19 18:00:42 +01:00
gtktop = callPackage ../development/ocaml-modules/gtktop { };
hex = callPackage ../development/ocaml-modules/hex { };
httpaf = callPackage ../development/ocaml-modules/httpaf { };
2019-12-09 10:28:48 +00:00
index = callPackage ../development/ocaml-modules/index { };
inifiles = callPackage ../development/ocaml-modules/inifiles { };
iri = callPackage ../development/ocaml-modules/iri { };
2019-12-09 10:29:01 +00:00
irmin = callPackage ../development/ocaml-modules/irmin { };
irmin-chunk = callPackage ../development/ocaml-modules/irmin/chunk.nix { };
irmin-containers = callPackage ../development/ocaml-modules/irmin/containers.nix { };
2019-12-09 10:29:22 +00:00
irmin-fs = callPackage ../development/ocaml-modules/irmin/fs.nix { };
2019-12-09 10:29:13 +00:00
irmin-git = callPackage ../development/ocaml-modules/irmin/git.nix { };
irmin-graphql = callPackage ../development/ocaml-modules/irmin/graphql.nix { };
irmin-http = callPackage ../development/ocaml-modules/irmin/http.nix { };
irmin-layers = callPackage ../development/ocaml-modules/irmin/layers.nix { };
irmin-mirage = callPackage ../development/ocaml-modules/irmin/mirage.nix { };
irmin-mirage-git = callPackage ../development/ocaml-modules/irmin/mirage-git.nix { };
irmin-mirage-graphql = callPackage ../development/ocaml-modules/irmin/mirage-graphql.nix { };
2019-12-09 10:29:09 +00:00
irmin-pack = callPackage ../development/ocaml-modules/irmin/pack.nix { };
irmin-test = callPackage ../development/ocaml-modules/irmin/test.nix { };
irmin-unix = callPackage ../development/ocaml-modules/irmin/unix.nix { };
irmin-watcher = callPackage ../development/ocaml-modules/irmin-watcher { };
2020-05-13 21:04:09 +01:00
jingoo = callPackage ../development/ocaml-modules/jingoo { };
2016-09-19 18:00:42 +01:00
js_of_ocaml = callPackage ../development/tools/ocaml/js_of_ocaml { };
js_of_ocaml-camlp4 = callPackage ../development/tools/ocaml/js_of_ocaml/camlp4.nix {};
2016-09-19 18:00:42 +01:00
2017-08-27 15:29:57 +01:00
js_of_ocaml-compiler = callPackage ../development/tools/ocaml/js_of_ocaml/compiler.nix {};
js_of_ocaml-lwt = callPackage ../development/tools/ocaml/js_of_ocaml/lwt.nix {};
2017-08-27 15:32:39 +01:00
js_of_ocaml-ocamlbuild = callPackage ../development/tools/ocaml/js_of_ocaml/ocamlbuild.nix {};
js_of_ocaml-ppx = callPackage ../development/tools/ocaml/js_of_ocaml/ppx.nix {};
js_of_ocaml-ppx_deriving_json = callPackage ../development/tools/ocaml/js_of_ocaml/ppx_deriving_json.nix { };
js_of_ocaml-tyxml = callPackage ../development/tools/ocaml/js_of_ocaml/tyxml.nix {};
2016-09-19 18:00:42 +01:00
jsonm = callPackage ../development/ocaml-modules/jsonm { };
junit = callPackage ../development/ocaml-modules/junit { };
junit_ounit = callPackage ../development/ocaml-modules/junit/ounit.nix { };
junit_alcotest = callPackage ../development/ocaml-modules/junit/alcotest.nix { };
jwto = callPackage ../development/ocaml-modules/jwto { };
2019-11-17 21:37:57 +00:00
kafka = callPackage ../development/ocaml-modules/kafka { };
2021-01-31 21:54:02 +00:00
kafka_lwt = callPackage ../development/ocaml-modules/kafka/lwt.nix { };
2019-10-20 21:31:10 +01:00
ke = callPackage ../development/ocaml-modules/ke { };
lablgl = callPackage ../development/ocaml-modules/lablgl { };
2016-09-19 18:00:42 +01:00
lablgtk3 = callPackage ../development/ocaml-modules/lablgtk3 { };
lablgtk3-gtkspell3 = callPackage ../development/ocaml-modules/lablgtk3/gtkspell3.nix { };
lablgtk3-sourceview3 = callPackage ../development/ocaml-modules/lablgtk3/sourceview3.nix { };
2016-09-19 18:00:42 +01:00
lablgtk_2_14 = callPackage ../development/ocaml-modules/lablgtk/2.14.0.nix {
inherit (pkgs.gnome2) libgnomecanvas libglade gtksourceview;
};
lablgtk = callPackage ../development/ocaml-modules/lablgtk {
inherit (pkgs.gnome2) libgnomecanvas libglade gtksourceview;
};
lablgtk-extras =
2016-10-05 08:32:30 +01:00
if lib.versionOlder "4.02" ocaml.version
2016-09-19 18:00:42 +01:00
then callPackage ../development/ocaml-modules/lablgtk-extras { }
else callPackage ../development/ocaml-modules/lablgtk-extras/1.4.nix { };
labltk = callPackage ../development/ocaml-modules/labltk { };
2019-03-20 11:03:38 +00:00
lacaml = callPackage ../development/ocaml-modules/lacaml { };
lambdasoup = callPackage ../development/ocaml-modules/lambdasoup { };
lambdaTerm = callPackage ../development/ocaml-modules/lambda-term { };
2016-09-19 18:00:42 +01:00
lens = callPackage ../development/ocaml-modules/lens { };
letsencrypt = callPackage ../development/ocaml-modules/letsencrypt { };
linenoise = callPackage ../development/ocaml-modules/linenoise { };
2016-09-19 18:00:42 +01:00
llvm = callPackage ../development/ocaml-modules/llvm {
libllvm = pkgs.llvmPackages_8.libllvm;
2016-09-19 18:00:42 +01:00
};
logs = callPackage ../development/ocaml-modules/logs { };
2017-02-18 21:57:45 +00:00
lru = callPackage ../development/ocaml-modules/lru { };
2019-12-08 07:56:32 +00:00
lua-ml = callPackage ../development/ocaml-modules/lua-ml { };
luv = callPackage ../development/ocaml-modules/luv {
inherit (pkgs) file;
};
lwt = callPackage ../development/ocaml-modules/lwt {
ocaml-migrate-parsetree = ocaml-migrate-parsetree-2-1;
};
ocaml_lwt = lwt;
lwt_camlp4 = callPackage ../development/ocaml-modules/lwt/camlp4.nix { };
lwt-dllist = callPackage ../development/ocaml-modules/lwt-dllist { };
lwt_log = callPackage ../development/ocaml-modules/lwt_log { };
2018-07-12 22:25:59 +01:00
lwt_ppx = callPackage ../development/ocaml-modules/lwt/ppx.nix { };
2018-03-27 21:34:08 +01:00
lwt_react = callPackage ../development/ocaml-modules/lwt_react { };
2017-07-02 12:39:53 +01:00
lwt_ssl = callPackage ../development/ocaml-modules/lwt_ssl { };
2018-02-02 06:39:50 +00:00
macaddr = callPackage ../development/ocaml-modules/macaddr { };
macaddr-cstruct = callPackage ../development/ocaml-modules/macaddr/cstruct.nix { };
macaddr-sexp = callPackage ../development/ocaml-modules/macaddr/sexp.nix { };
2016-09-19 18:00:42 +01:00
macaque = callPackage ../development/ocaml-modules/macaque { };
magic-mime = callPackage ../development/ocaml-modules/magic-mime { };
magick = callPackage ../development/ocaml-modules/magick { };
2021-01-24 03:22:59 +00:00
mariadb = callPackage ../development/ocaml-modules/mariadb {
inherit (pkgs) mariadb;
};
markup = callPackage ../development/ocaml-modules/markup { };
2016-09-19 18:00:42 +01:00
2021-06-13 22:03:59 +01:00
mccs = callPackage ../development/ocaml-modules/mccs { };
2019-06-18 15:26:38 +01:00
mdx = callPackage ../development/ocaml-modules/mdx { };
2016-09-19 18:00:42 +01:00
menhir = callPackage ../development/ocaml-modules/menhir { };
menhirLib = callPackage ../development/ocaml-modules/menhir/lib.nix { };
menhirSdk = callPackage ../development/ocaml-modules/menhir/sdk.nix { };
merlin =
if lib.versionAtLeast ocaml.version "4.11"
then callPackage ../development/tools/ocaml/merlin/4.x.nix { }
else callPackage ../development/tools/ocaml/merlin { };
2016-09-19 18:00:42 +01:00
merlin-extend = callPackage ../development/ocaml-modules/merlin-extend { };
2017-04-08 12:34:41 +01:00
dot-merlin-reader = callPackage ../development/tools/ocaml/merlin/dot-merlin-reader.nix { };
2019-11-27 18:34:09 +00:00
metrics = callPackage ../development/ocaml-modules/metrics { };
metrics-influx = callPackage ../development/ocaml-modules/metrics/influx.nix { };
metrics-lwt = callPackage ../development/ocaml-modules/metrics/lwt.nix { };
metrics-mirage = callPackage ../development/ocaml-modules/metrics/mirage.nix { };
2019-12-06 17:14:38 +00:00
metrics-unix = callPackage ../development/ocaml-modules/metrics/unix.nix {
inherit (pkgs) gnuplot;
};
mew = callPackage ../development/ocaml-modules/mew { };
mew_vi = callPackage ../development/ocaml-modules/mew_vi { };
2016-09-19 18:00:42 +01:00
mezzo = callPackage ../development/compilers/mezzo { };
2021-01-15 09:54:17 +00:00
mimic = callPackage ../development/ocaml-modules/mimic { };
2019-08-07 11:28:49 +01:00
minisat = callPackage ../development/ocaml-modules/minisat { };
2020-11-06 20:55:22 +00:00
mirage = callPackage ../development/ocaml-modules/mirage { };
mirage-block = callPackage ../development/ocaml-modules/mirage-block { };
mirage-block-combinators = callPackage ../development/ocaml-modules/mirage-block/combinators.nix { };
mirage-block-ramdisk = callPackage ../development/ocaml-modules/mirage-block-ramdisk { };
mirage-block-unix = callPackage ../development/ocaml-modules/mirage-block-unix { };
mirage-bootvar-unix = callPackage ../development/ocaml-modules/mirage-bootvar-unix { };
mirage-bootvar-xen = callPackage ../development/ocaml-modules/mirage-bootvar-xen { };
mirage-channel = callPackage ../development/ocaml-modules/mirage-channel { };
mirage-clock = callPackage ../development/ocaml-modules/mirage-clock { };
mirage-clock-freestanding = callPackage ../development/ocaml-modules/mirage-clock/freestanding.nix { };
mirage-clock-unix = callPackage ../development/ocaml-modules/mirage-clock/unix.nix { };
mirage-console = callPackage ../development/ocaml-modules/mirage-console { };
mirage-console-unix = callPackage ../development/ocaml-modules/mirage-console/unix.nix { };
mirage-crypto = callPackage ../development/ocaml-modules/mirage-crypto { };
mirage-crypto-ec = callPackage ../development/ocaml-modules/mirage-crypto/ec.nix { };
mirage-crypto-pk = callPackage ../development/ocaml-modules/mirage-crypto/pk.nix { };
mirage-crypto-rng = callPackage ../development/ocaml-modules/mirage-crypto/rng.nix { };
mirage-crypto-rng-async = callPackage ../development/ocaml-modules/mirage-crypto/rng-async.nix { };
mirage-crypto-rng-mirage = callPackage ../development/ocaml-modules/mirage-crypto/rng-mirage.nix { };
mirage-device = callPackage ../development/ocaml-modules/mirage-device { };
mirage-flow = callPackage ../development/ocaml-modules/mirage-flow { };
mirage-flow-combinators = callPackage ../development/ocaml-modules/mirage-flow/combinators.nix { };
mirage-flow-unix = callPackage ../development/ocaml-modules/mirage-flow/unix.nix { };
2020-10-17 06:35:47 +01:00
mirage-fs = callPackage ../development/ocaml-modules/mirage-fs { };
2020-10-17 06:35:38 +01:00
mirage-kv = callPackage ../development/ocaml-modules/mirage-kv { };
mirage-logs = callPackage ../development/ocaml-modules/mirage-logs { };
mirage-nat = callPackage ../development/ocaml-modules/mirage-nat { };
mirage-net = callPackage ../development/ocaml-modules/mirage-net { };
mirage-net-xen = callPackage ../development/ocaml-modules/mirage-net-xen { };
mirage-profile = callPackage ../development/ocaml-modules/mirage-profile { };
mirage-protocols = callPackage ../development/ocaml-modules/mirage-protocols { };
mirage-random = callPackage ../development/ocaml-modules/mirage-random { };
mirage-random-test = callPackage ../development/ocaml-modules/mirage-random-test { };
mirage-runtime = callPackage ../development/ocaml-modules/mirage/runtime.nix { };
mirage-stack = callPackage ../development/ocaml-modules/mirage-stack { };
mirage-time = callPackage ../development/ocaml-modules/mirage-time { };
mirage-time-unix = callPackage ../development/ocaml-modules/mirage-time/unix.nix { };
mirage-types = callPackage ../development/ocaml-modules/mirage/types.nix { };
mirage-types-lwt = callPackage ../development/ocaml-modules/mirage/types-lwt.nix { };
mirage-unix = callPackage ../development/ocaml-modules/mirage-unix { };
mirage-xen = callPackage ../development/ocaml-modules/mirage-xen { };
mirage-vnetif = callPackage ../development/ocaml-modules/mirage-vnetif { };
2016-09-19 18:00:42 +01:00
mlgmp = callPackage ../development/ocaml-modules/mlgmp { };
mlgmpidl = callPackage ../development/ocaml-modules/mlgmpidl { };
mmap = callPackage ../development/ocaml-modules/mmap { };
mparser = callPackage ../development/ocaml-modules/mparser { };
mtime = callPackage ../development/ocaml-modules/mtime { };
mustache = callPackage ../development/ocaml-modules/mustache { };
netchannel = callPackage ../development/ocaml-modules/netchannel { };
2017-11-27 19:08:40 +00:00
nocrypto = callPackage ../development/ocaml-modules/nocrypto { };
2016-11-03 02:06:14 +00:00
nonstd = callPackage ../development/ocaml-modules/nonstd { };
notty = callPackage ../development/ocaml-modules/notty { };
2016-11-03 02:06:14 +00:00
npy = callPackage ../development/ocaml-modules/npy {
inherit (pkgs.python3Packages) numpy;
};
2017-11-03 23:45:18 +00:00
num = if lib.versionOlder "4.06" ocaml.version
then callPackage ../development/ocaml-modules/num {}
else null;
2019-11-24 19:10:26 +00:00
parmap = callPackage ../development/ocaml-modules/parmap { };
2016-09-19 18:00:42 +01:00
comparelib = callPackage ../development/ocaml-modules/comparelib { };
ocamlbuild =
2016-10-05 08:32:30 +01:00
if lib.versionOlder "4.03" ocaml.version then
2016-09-19 18:00:42 +01:00
callPackage ../development/tools/ocaml/ocamlbuild { }
else
null;
ocaml_cryptgps = callPackage ../development/ocaml-modules/cryptgps { };
ocaml_data_notation = callPackage ../development/ocaml-modules/odn { };
ocaml_expat =
if lib.versionAtLeast ocaml.version "4.02"
then callPackage ../development/ocaml-modules/expat { }
else callPackage ../development/ocaml-modules/expat/0.9.nix { };
2016-09-19 18:00:42 +01:00
frontc = callPackage ../development/ocaml-modules/frontc { };
ocamlfuse = callPackage ../development/ocaml-modules/ocamlfuse { };
ocaml-freestanding = callPackage ../development/ocaml-modules/ocaml-freestanding { };
2017-02-04 15:07:45 +00:00
ocaml_gettext = callPackage ../development/ocaml-modules/ocaml-gettext { };
gettext-camomile = callPackage ../development/ocaml-modules/ocaml-gettext/camomile.nix { };
gettext-stub = callPackage ../development/ocaml-modules/ocaml-gettext/stub.nix { };
2016-09-19 18:00:42 +01:00
ocamlgraph = callPackage ../development/ocaml-modules/ocamlgraph { };
ocaml_http = callPackage ../development/ocaml-modules/http { };
2017-02-04 15:07:45 +00:00
ocaml_libvirt = callPackage ../development/ocaml-modules/ocaml-libvirt { };
2016-09-19 18:00:42 +01:00
ocamlify = callPackage ../development/tools/ocaml/ocamlify { };
jsonrpc = callPackage ../development/ocaml-modules/ocaml-lsp/jsonrpc.nix { };
lsp = callPackage ../development/ocaml-modules/ocaml-lsp/lsp.nix { };
2020-10-25 18:27:09 +00:00
ocaml-lsp = callPackage ../development/ocaml-modules/ocaml-lsp { };
ocaml-migrate-parsetree = ocaml-migrate-parsetree-1-8;
ocaml-migrate-parsetree-1-8 = callPackage ../development/ocaml-modules/ocaml-migrate-parsetree/1.8.x.nix { };
ocaml-migrate-parsetree-2-1 = callPackage ../development/ocaml-modules/ocaml-migrate-parsetree/2.1.x.nix { };
2016-09-19 18:00:42 +01:00
ocamlmod = callPackage ../development/tools/ocaml/ocamlmod { };
ocaml-monadic = callPackage ../development/ocaml-modules/ocaml-monadic {
ocaml-migrate-parsetree = ocaml-migrate-parsetree-2-1;
};
2016-09-19 18:00:42 +01:00
ocaml_mysql = callPackage ../development/ocaml-modules/mysql { };
ocamlnet = callPackage ../development/ocaml-modules/ocamlnet { };
ocaml_oasis = callPackage ../development/tools/ocaml/oasis { };
ocaml_optcomp = callPackage ../development/ocaml-modules/optcomp { };
ocaml_pcre = callPackage ../development/ocaml-modules/pcre {};
pgocaml = callPackage ../development/ocaml-modules/pgocaml {};
2020-02-19 16:22:51 +00:00
pgocaml_ppx = callPackage ../development/ocaml-modules/pgocaml/ppx.nix {};
2020-03-26 02:56:56 +00:00
ocaml-r = callPackage ../development/ocaml-modules/ocaml-r { };
ocaml-sat-solvers = callPackage ../development/ocaml-modules/ocaml-sat-solvers { };
2016-09-19 18:00:42 +01:00
ocamlscript = callPackage ../development/tools/ocaml/ocamlscript { };
ocamlsdl= callPackage ../development/ocaml-modules/ocamlsdl { };
ocaml_sqlite3 = callPackage ../development/ocaml-modules/sqlite3 { };
ocaml-syntax-shims = callPackage ../development/ocaml-modules/ocaml-syntax-shims { };
2019-03-13 14:23:19 +00:00
syslog = callPackage ../development/ocaml-modules/syslog { };
syslog-message = callPackage ../development/ocaml-modules/syslog-message { };
2016-09-19 18:00:42 +01:00
ocaml_text = callPackage ../development/ocaml-modules/ocaml-text { };
ocaml-version = callPackage ../development/ocaml-modules/ocaml-version { };
2017-03-23 07:40:21 +00:00
ocf = callPackage ../development/ocaml-modules/ocf { };
ocp-build = callPackage ../development/tools/ocaml/ocp-build { };
2016-09-19 18:00:42 +01:00
ocp-indent = callPackage ../development/tools/ocaml/ocp-indent { };
2016-09-19 18:00:42 +01:00
ocp-index = callPackage ../development/tools/ocaml/ocp-index { };
2016-09-19 18:00:42 +01:00
ocp-ocamlres = callPackage ../development/ocaml-modules/ocp-ocamlres { };
2016-09-19 18:00:42 +01:00
ocplib-endian = callPackage ../development/ocaml-modules/ocplib-endian { };
ocplib-json-typed = callPackage ../development/ocaml-modules/ocplib-json-typed { };
2016-09-19 18:00:42 +01:00
ocplib-json-typed-browser = callPackage ../development/ocaml-modules/ocplib-json-typed/browser.nix { };
ocplib-json-typed-bson = callPackage ../development/ocaml-modules/ocplib-json-typed/bson.nix { };
ocplib-simplex = callPackage ../development/ocaml-modules/ocplib-simplex { };
ocsigen_server = callPackage ../development/ocaml-modules/ocsigen-server { };
2016-09-19 18:00:42 +01:00
ocsigen-start = callPackage ../development/ocaml-modules/ocsigen-start { };
ocsigen-toolkit = callPackage ../development/ocaml-modules/ocsigen-toolkit { };
octavius = callPackage ../development/ocaml-modules/octavius { };
2020-11-29 15:15:18 +00:00
odate = callPackage ../development/ocaml-modules/odate { };
2018-09-16 05:43:10 +01:00
odoc = callPackage ../development/ocaml-modules/odoc { };
omd = callPackage ../development/ocaml-modules/omd { };
2020-05-17 11:00:32 +01:00
opam-core = callPackage ../development/ocaml-modules/opam-core {
inherit (pkgs) opam unzip;
};
opam-file-format = callPackage ../development/ocaml-modules/opam-file-format { };
opam-format = callPackage ../development/ocaml-modules/opam-format {
inherit (pkgs) unzip;
};
opam-repository = callPackage ../development/ocaml-modules/opam-repository {
inherit (pkgs) unzip;
};
opam-state = callPackage ../development/ocaml-modules/opam-state {
inherit (pkgs) unzip;
};
2019-06-02 02:37:44 +01:00
opium = callPackage ../development/ocaml-modules/opium { };
opium_kernel = callPackage ../development/ocaml-modules/opium_kernel { };
2018-11-25 16:49:24 +00:00
opti = callPackage ../development/ocaml-modules/opti { };
optint = callPackage ../development/ocaml-modules/optint { };
2016-09-19 18:00:42 +01:00
otfm = callPackage ../development/ocaml-modules/otfm { };
2016-11-03 09:39:14 +00:00
otr = callPackage ../development/ocaml-modules/otr { };
owee = callPackage ../development/ocaml-modules/owee { };
owl-base = callPackage ../development/ocaml-modules/owl-base { };
owl = callPackage ../development/ocaml-modules/owl { };
2016-09-19 18:00:42 +01:00
ounit = callPackage ../development/ocaml-modules/ounit { };
2020-04-13 15:42:14 +01:00
ounit2 = callPackage ../development/ocaml-modules/ounit2 { };
2021-04-25 16:17:54 +01:00
paf = callPackage ../development/ocaml-modules/paf { };
parse-argv = callPackage ../development/ocaml-modules/parse-argv { };
2021-04-12 20:59:47 +01:00
path_glob = callPackage ../development/ocaml-modules/path_glob { };
pbkdf = callPackage ../development/ocaml-modules/pbkdf { };
pcap-format = callPackage ../development/ocaml-modules/pcap-format { };
2021-01-15 11:12:14 +00:00
pecu = callPackage ../development/ocaml-modules/pecu { };
2019-08-07 18:36:43 +01:00
pgsolver = callPackage ../development/ocaml-modules/pgsolver { };
phylogenetics = callPackage ../development/ocaml-modules/phylogenetics { };
2020-06-12 08:45:22 +01:00
piqi = callPackage ../development/ocaml-modules/piqi { };
2016-09-19 18:00:42 +01:00
piqi-ocaml = callPackage ../development/ocaml-modules/piqi-ocaml { };
posix-base = callPackage ../development/ocaml-modules/posix/base.nix { };
posix-socket = callPackage ../development/ocaml-modules/posix/socket.nix { };
posix-types = callPackage ../development/ocaml-modules/posix/types.nix { };
postgresql = callPackage ../development/ocaml-modules/postgresql {
inherit (pkgs) postgresql;
};
2021-02-22 07:57:45 +00:00
ppx_bap = callPackage ../development/ocaml-modules/ppx_bap { };
ppx_bitstring = callPackage ../development/ocaml-modules/bitstring/ppx.nix {
ppxlib = ppxlib.override { version = "0.22.0"; };
};
2018-12-17 21:39:33 +00:00
ppxfind = callPackage ../development/ocaml-modules/ppxfind { };
2018-07-05 20:40:30 +01:00
ppxlib = callPackage ../development/ocaml-modules/ppxlib { };
psmt2-frontend = callPackage ../development/ocaml-modules/psmt2-frontend { };
psq = callPackage ../development/ocaml-modules/psq { };
2016-11-02 13:35:40 +00:00
ptime = callPackage ../development/ocaml-modules/ptime { };
resource-pooling = callPackage ../development/ocaml-modules/resource-pooling { };
repr = callPackage ../development/ocaml-modules/repr { };
2016-09-19 18:00:42 +01:00
result = callPackage ../development/ocaml-modules/ocaml-result { };
2019-08-02 16:34:38 +01:00
secp256k1 = callPackage ../development/ocaml-modules/secp256k1 {
inherit (pkgs) secp256k1;
};
2018-09-05 18:12:13 +01:00
seq = callPackage ../development/ocaml-modules/seq { };
sosa = callPackage ../development/ocaml-modules/sosa { };
spacetime_lib = callPackage ../development/ocaml-modules/spacetime_lib { };
2020-12-29 22:45:06 +00:00
tcpip = callPackage ../development/ocaml-modules/tcpip { };
2020-07-09 17:24:48 +01:00
tsort = callPackage ../development/ocaml-modules/tsort { };
2016-09-19 18:00:42 +01:00
tuntap = callPackage ../development/ocaml-modules/tuntap { };
tyxml = callPackage ../development/ocaml-modules/tyxml { };
ulex = callPackage ../development/ocaml-modules/ulex { };
tls = callPackage ../development/ocaml-modules/tls { };
2016-11-03 00:23:53 +00:00
tls-mirage = callPackage ../development/ocaml-modules/tls/mirage.nix { };
2020-01-31 20:30:02 +00:00
torch = callPackage ../development/ocaml-modules/torch {
inherit (pkgs.python3Packages) pytorch;
};
2016-09-19 18:00:42 +01:00
type_conv_108_08_00 = callPackage ../development/ocaml-modules/type_conv/108.08.00.nix { };
type_conv_109_60_01 = callPackage ../development/ocaml-modules/type_conv/109.60.01.nix { };
type_conv_112_01_01 = callPackage ../development/ocaml-modules/type_conv/112.01.01.nix { };
type_conv =
2016-10-05 08:32:30 +01:00
if lib.versionOlder "4.02" ocaml.version
2016-09-19 18:00:42 +01:00
then type_conv_112_01_01
2016-10-05 08:32:30 +01:00
else if lib.versionOlder "4.00" ocaml.version
2016-09-19 18:00:42 +01:00
then type_conv_109_60_01
2016-10-05 08:32:30 +01:00
else if lib.versionOlder "3.12" ocaml.version
2016-09-19 18:00:42 +01:00
then type_conv_108_08_00
else null;
ocaml-protoc = callPackage ../development/ocaml-modules/ocaml-protoc { };
ocaml_extlib = ocaml_extlib-1-7-8;
ocaml_extlib-1-7-8 = callPackage ../development/ocaml-modules/extlib { };
ocaml_extlib-1-7-7 = callPackage ../development/ocaml-modules/extlib/1.7.7.nix { };
2016-09-19 18:00:42 +01:00
ocb-stubblr = callPackage ../development/ocaml-modules/ocb-stubblr { };
2016-09-19 18:00:42 +01:00
ocurl = callPackage ../development/ocaml-modules/ocurl { };
pa_ounit = callPackage ../development/ocaml-modules/pa_ounit { };
pa_bench = callPackage ../development/ocaml-modules/pa_bench { };
2019-11-25 20:43:05 +00:00
parany = callPackage ../development/ocaml-modules/parany { };
2016-09-19 18:00:42 +01:00
pipebang = callPackage ../development/ocaml-modules/pipebang { };
pprint = callPackage ../development/ocaml-modules/pprint { };
2021-01-01 14:29:10 +00:00
ppx_blob = callPackage ../development/ocaml-modules/ppx_blob { };
2016-09-19 18:00:42 +01:00
2020-10-25 18:54:25 +00:00
ppx_cstruct = callPackage ../development/ocaml-modules/cstruct/ppx.nix { };
2017-11-27 19:08:40 +00:00
ppx_cstubs = callPackage ../development/ocaml-modules/ppx_cstubs {
ppxlib = ppxlib.override { version = "0.22.0"; };
};
ppx_derivers = callPackage ../development/ocaml-modules/ppx_derivers {};
ppx_deriving = callPackage ../development/ocaml-modules/ppx_deriving {};
2016-09-19 18:00:42 +01:00
ppx_deriving_protobuf = callPackage ../development/ocaml-modules/ppx_deriving_protobuf {};
2021-04-11 09:12:20 +01:00
ppx_deriving_rpc = callPackage ../development/ocaml-modules/ppx_deriving_rpc { };
ppx_deriving_yojson = callPackage ../development/ocaml-modules/ppx_deriving_yojson {};
2021-02-02 11:29:15 +00:00
ppx_deriving_cmdliner = callPackage ../development/ocaml-modules/ppx_deriving_cmdliner {};
ppx_gen_rec = callPackage ../development/ocaml-modules/ppx_gen_rec {};
ppx_import = callPackage ../development/ocaml-modules/ppx_import {};
2016-11-03 16:34:36 +00:00
2020-04-13 16:38:32 +01:00
ppx_irmin = callPackage ../development/ocaml-modules/irmin/ppx.nix {
};
ppx_repr = callPackage ../development/ocaml-modules/repr/ppx.nix { };
2016-09-19 18:00:42 +01:00
ppx_tools =
2016-10-05 08:32:30 +01:00
if lib.versionAtLeast ocaml.version "4.02"
2016-09-19 18:00:42 +01:00
then callPackage ../development/ocaml-modules/ppx_tools {}
else null;
2017-04-08 12:34:41 +01:00
ppx_tools_versioned = callPackage ../development/ocaml-modules/ppx_tools_versioned { };
ppx_yojson_conv_lib = callPackage ../development/ocaml-modules/ppx_yojson_conv_lib {};
2019-06-18 19:24:25 +01:00
printbox = callPackage ../development/ocaml-modules/printbox { };
process = callPackage ../development/ocaml-modules/process { };
prof_spacetime = callPackage ../development/ocaml-modules/prof_spacetime { };
2021-01-18 13:28:46 +00:00
progress = callPackage ../development/ocaml-modules/progress { };
ptmap = callPackage ../development/ocaml-modules/ptmap { };
2020-09-12 09:42:53 +01:00
ptset = callPackage ../development/ocaml-modules/ptset { };
2016-09-19 18:00:42 +01:00
pycaml = callPackage ../development/ocaml-modules/pycaml { };
qcheck-alcotest = callPackage ../development/ocaml-modules/qcheck/alcotest.nix { };
qcheck-core = callPackage ../development/ocaml-modules/qcheck/core.nix { };
qcheck-ounit = callPackage ../development/ocaml-modules/qcheck/ounit.nix { };
2016-09-19 18:00:42 +01:00
qcheck = callPackage ../development/ocaml-modules/qcheck { };
2016-09-19 18:00:42 +01:00
qtest = callPackage ../development/ocaml-modules/qtest { };
randomconv = callPackage ../development/ocaml-modules/randomconv { };
2016-09-19 18:00:42 +01:00
re = callPackage ../development/ocaml-modules/re { };
2017-10-05 06:57:03 +01:00
react = callPackage ../development/ocaml-modules/react { };
reactivedata = callPackage ../development/ocaml-modules/reactivedata {};
2017-04-08 12:34:41 +01:00
reason = callPackage ../development/compilers/reason { };
reason-native = lib.recurseIntoAttrs (callPackage ../development/ocaml-modules/reason-native { });
rope = callPackage ../development/ocaml-modules/rope { };
2019-09-09 10:07:43 +01:00
rpclib = callPackage ../development/ocaml-modules/rpclib { };
rpclib-lwt = callPackage ../development/ocaml-modules/rpclib/lwt.nix { };
rresult = callPackage ../development/ocaml-modules/rresult { };
2016-09-19 18:00:42 +01:00
safepass = callPackage ../development/ocaml-modules/safepass { };
sedlex = callPackage ../development/ocaml-modules/sedlex { };
2020-01-18 21:20:00 +00:00
sedlex_2 = callPackage ../development/ocaml-modules/sedlex/2.nix { };
semaphore-compat = callPackage ../development/ocaml-modules/semaphore-compat { };
2021-01-28 11:21:47 +00:00
sha = callPackage ../development/ocaml-modules/sha { };
shared-memory-ring = callPackage ../development/ocaml-modules/shared-memory-ring { };
shared-memory-ring-lwt = callPackage ../development/ocaml-modules/shared-memory-ring/lwt.nix { };
2019-11-18 21:00:36 +00:00
sodium = callPackage ../development/ocaml-modules/sodium { };
spelll = callPackage ../development/ocaml-modules/spelll { };
2016-09-19 18:00:42 +01:00
sqlite3EZ = callPackage ../development/ocaml-modules/sqlite3EZ { };
2020-08-31 06:09:33 +01:00
srt = callPackage ../development/ocaml-modules/srt {
inherit (pkgs) srt;
};
2017-10-05 18:09:50 +01:00
ssl = callPackage ../development/ocaml-modules/ssl { };
2021-05-29 14:21:54 +01:00
stdcompat = callPackage ../development/ocaml-modules/stdcompat { };
stdlib-shims = callPackage ../development/ocaml-modules/stdlib-shims { };
2018-07-29 14:32:10 +01:00
stog = callPackage ../applications/misc/stog { };
2017-03-23 08:02:21 +00:00
2016-09-19 18:00:42 +01:00
stringext = callPackage ../development/ocaml-modules/stringext { };
tcslib = callPackage ../development/ocaml-modules/tcslib { };
terminal_size = callPackage ../development/ocaml-modules/terminal_size { };
2019-07-23 20:26:54 +01:00
toml = callPackage ../development/ocaml-modules/toml { };
2016-09-19 18:00:42 +01:00
topkg = callPackage ../development/ocaml-modules/topkg { };
trie = callPackage ../development/ocaml-modules/trie { };
2016-09-19 18:00:42 +01:00
tsdl = callPackage ../development/ocaml-modules/tsdl { };
twt = callPackage ../development/ocaml-modules/twt { };
typerep_p4 = callPackage ../development/ocaml-modules/typerep { };
uchar = callPackage ../development/ocaml-modules/uchar { };
2016-09-19 18:00:42 +01:00
utop = callPackage ../development/tools/ocaml/utop { };
uuidm = callPackage ../development/ocaml-modules/uuidm { };
sawja = callPackage ../development/ocaml-modules/sawja { };
2017-10-02 11:18:35 +01:00
stdint = callPackage ../development/ocaml-modules/stdint { };
2016-09-19 18:00:42 +01:00
uucd = callPackage ../development/ocaml-modules/uucd { };
uucp = callPackage ../development/ocaml-modules/uucp { };
uunf = callPackage ../development/ocaml-modules/uunf { };
uri = callPackage ../development/ocaml-modules/uri { };
2018-01-11 07:57:57 +00:00
2019-08-21 22:12:37 +01:00
uri-sexp = callPackage ../development/ocaml-modules/uri/sexp.nix { };
2016-09-19 18:00:42 +01:00
uuseg = callPackage ../development/ocaml-modules/uuseg { };
uutf = callPackage ../development/ocaml-modules/uutf { };
variantslib_p4 = callPackage ../development/ocaml-modules/variantslib { };
2021-01-17 11:57:41 +00:00
vchan = callPackage ../development/ocaml-modules/vchan { };
2016-09-19 18:00:42 +01:00
vg = callPackage ../development/ocaml-modules/vg { };
visitors = callPackage ../development/ocaml-modules/visitors { };
wasm = callPackage ../development/ocaml-modules/wasm { };
2021-04-14 15:13:57 +01:00
wayland = callPackage ../development/ocaml-modules/wayland { };
webbrowser = callPackage ../development/ocaml-modules/webbrowser { };
webmachine = callPackage ../development/ocaml-modules/webmachine { };
wodan = callPackage ../development/ocaml-modules/wodan { };
wodan-irmin = callPackage ../development/ocaml-modules/wodan/irmin.nix { };
wodan-unix = callPackage ../development/ocaml-modules/wodan/unix.nix { };
2018-01-01 09:43:46 +00:00
wtf8 = callPackage ../development/ocaml-modules/wtf8 { };
2016-09-19 18:00:42 +01:00
x509 = callPackage ../development/ocaml-modules/x509 { };
2021-01-17 11:44:21 +00:00
xenstore = callPackage ../development/ocaml-modules/xenstore { };
xenstore_transport = callPackage ../development/ocaml-modules/xenstore_transport { };
xenstore-tool = callPackage ../development/ocaml-modules/xenstore-tool { };
2016-09-19 18:00:42 +01:00
xmlm = callPackage ../development/ocaml-modules/xmlm { };
xml-light = callPackage ../development/ocaml-modules/xml-light { };
2017-03-23 07:56:01 +00:00
xtmpl = callPackage ../development/ocaml-modules/xtmpl { };
2019-12-09 10:31:53 +00:00
yaml = callPackage ../development/ocaml-modules/yaml { };
2016-09-19 18:00:42 +01:00
yojson = callPackage ../development/ocaml-modules/yojson { };
2020-09-27 16:30:34 +01:00
z3 = callPackage ../development/ocaml-modules/z3 {
inherit (pkgs) z3;
};
2016-09-19 18:00:42 +01:00
zarith = callPackage ../development/ocaml-modules/zarith { };
zed = callPackage ../development/ocaml-modules/zed { };
2018-10-16 20:38:57 +01:00
zmq = callPackage ../development/ocaml-modules/zmq { };
zmq-lwt = callPackage ../development/ocaml-modules/zmq/lwt.nix { };
2016-09-19 18:00:42 +01:00
ocsigen_deriving = callPackage ../development/ocaml-modules/ocsigen-deriving {
oasis = ocaml_oasis;
};
# Jane Street
janePackage =
if lib.versionOlder "4.08" ocaml.version
then callPackage ../development/ocaml-modules/janestreet/janePackage_0_14.nix {}
else if lib.versionOlder "4.07" ocaml.version
then callPackage ../development/ocaml-modules/janestreet/janePackage_0_12.nix {}
else callPackage ../development/ocaml-modules/janestreet/janePackage.nix {};
janeStreet =
if lib.versionOlder "4.08" ocaml.version
then import ../development/ocaml-modules/janestreet/0.14.nix {
ocamlPackages.janeStreet{,_0_9_0}: join the ocamlPackages fix point, allowing overriding to work as expected (#113696) * ocamlPackages.janeStreet_0_9_0: join the ocamlPackages fix point Internal dependencies in the janeStreet sets were always taken from the own rec attribute set. While this is pretty simple and convenient, it has the disadvantage that it doesn't play nice with overriding: If you'd override an attribute in a janeStreet set previously, it would be changed when referenced directly, but the other packages in that janeStreet set still would use the original, non-overridden version of the derivation. This is easily fixed by passing janeStreet_0_9_0 itself from the fix point of ocamlPackages and using it to reference the dependencies. Example showing it now works as expected: test-overlay.nix: self: super: { ocamlPackages = super.ocamlPackages.overrideScope (old: _: { janeStreet_0_9_0 = old.janeStreet_0_9_0 // { base = old.janeStreet_0_9_0.base.overrideAttrs (_: { meta.broken = true; }); }; }); } nix-repl> (import ./. { overlays = [ (import ./test-overlay.nix) ]; }).ocamlPackages.janeStreet_0_9_0.stdio error: Package ‘ocaml4.10.0-base-0.9.4’ in /home/lukas/src/nix/nixpkgs/pkgs/development/ocaml-modules/janestreet/janePackage.nix:6 is marked as broken, refusing to evaluate. a) To temporarily allow broken packages, you can use an environment variable for a single invocation of the nix tools. $ export NIXPKGS_ALLOW_BROKEN=1 b) For `nixos-rebuild` you can set { nixpkgs.config.allowBroken = true; } in configuration.nix to override this. c) For `nix-env`, `nix-build`, `nix-shell` or any other Nix command you can add { allowBroken = true; } to ~/.config/nixpkgs/config.nix. * ocamlPackages.janeStreet: take part in fixpoint for OCaml >= 4.08 This change makes overrides to the janeStreet set work as expected by making the janeStreet set take part in the ocamlPackages fixpoint for janeStreet 0.14, i. e. OCaml >= 4.08 * ocamlPackages.janeStreet: take part in fixpoint for OCaml == 4.07 This change makes overrides to the janeStreet set work as expected by making the janeStreet set take part in the ocamlPackages fixpoint for janeStreet 0.12, i. e. OCaml == 4.07 * ocamlPackages.janeStreet: take part in fixpoint for OCaml < 4.07 This change makes overrides to the janeStreet set work as expected by making the janeStreet set take part in the ocamlPackages fixpoint for janeStreet 0.11, i. e. OCaml < 4.07 * ocamlPackages.janeStreet: remove self - super distinction Previously, we inherited non-janestreet ocaml dependencies from super and janestreet dependencies from self which always was super.janeStreet. This behavior is however not really what we want due to liftJaneStreet: Users and other packages will use ocamlPackages.base etc. instead of ocamlPackages.janeStreet.base and the like. Consequently they also would override the top-level attributes which would mean that other janestreet packages would not pick up on it however. As a consequence however, overriding ocamlPackages.janeStreet.base doesn't work. Since this was never possible, I don't think this is an issue. It is probably a good idea to deprecate that set anyways and printing a warning when it is used via trace. janeStreet_0_9_0 is unchanged as the disticniton between self and super makes sense for it. Below is an example showing how overriding would work from an user's perspective: test-overlay.nix: self: super: { ocamlPackages = super.ocamlPackages.overrideScope (old: _: { base = old.base.overrideAttrs (_: { meta.broken = true; }); }); } nix-repl> (import ./. { overlays = [ (import ./test-overlay.nix) ]; }).ocamlPackages. stdio error: Package ‘ocaml4.10.0-base-0.14.0’ in /home/lukas/src/nix/nixpkgs/pkgs/development/ocaml-modules/janestreet/janePackage_0_14.nix:12 is marked as broken, refusing to evaluate. a) To temporarily allow broken packages, you can use an environment variable for a single invocation of the nix tools. $ export NIXPKGS_ALLOW_BROKEN=1 b) For `nixos-rebuild` you can set { nixpkgs.config.allowBroken = true; } in configuration.nix to override this. c) For `nix-env`, `nix-build`, `nix-shell` or any other Nix command you can add { allowBroken = true; } to ~/.config/nixpkgs/config.nix.
2021-04-11 11:26:10 +01:00
inherit self;
inherit (pkgs) lib openssl zstd;
}
else if lib.versionOlder "4.07" ocaml.version
then import ../development/ocaml-modules/janestreet/0.12.nix {
ocamlPackages.janeStreet{,_0_9_0}: join the ocamlPackages fix point, allowing overriding to work as expected (#113696) * ocamlPackages.janeStreet_0_9_0: join the ocamlPackages fix point Internal dependencies in the janeStreet sets were always taken from the own rec attribute set. While this is pretty simple and convenient, it has the disadvantage that it doesn't play nice with overriding: If you'd override an attribute in a janeStreet set previously, it would be changed when referenced directly, but the other packages in that janeStreet set still would use the original, non-overridden version of the derivation. This is easily fixed by passing janeStreet_0_9_0 itself from the fix point of ocamlPackages and using it to reference the dependencies. Example showing it now works as expected: test-overlay.nix: self: super: { ocamlPackages = super.ocamlPackages.overrideScope (old: _: { janeStreet_0_9_0 = old.janeStreet_0_9_0 // { base = old.janeStreet_0_9_0.base.overrideAttrs (_: { meta.broken = true; }); }; }); } nix-repl> (import ./. { overlays = [ (import ./test-overlay.nix) ]; }).ocamlPackages.janeStreet_0_9_0.stdio error: Package ‘ocaml4.10.0-base-0.9.4’ in /home/lukas/src/nix/nixpkgs/pkgs/development/ocaml-modules/janestreet/janePackage.nix:6 is marked as broken, refusing to evaluate. a) To temporarily allow broken packages, you can use an environment variable for a single invocation of the nix tools. $ export NIXPKGS_ALLOW_BROKEN=1 b) For `nixos-rebuild` you can set { nixpkgs.config.allowBroken = true; } in configuration.nix to override this. c) For `nix-env`, `nix-build`, `nix-shell` or any other Nix command you can add { allowBroken = true; } to ~/.config/nixpkgs/config.nix. * ocamlPackages.janeStreet: take part in fixpoint for OCaml >= 4.08 This change makes overrides to the janeStreet set work as expected by making the janeStreet set take part in the ocamlPackages fixpoint for janeStreet 0.14, i. e. OCaml >= 4.08 * ocamlPackages.janeStreet: take part in fixpoint for OCaml == 4.07 This change makes overrides to the janeStreet set work as expected by making the janeStreet set take part in the ocamlPackages fixpoint for janeStreet 0.12, i. e. OCaml == 4.07 * ocamlPackages.janeStreet: take part in fixpoint for OCaml < 4.07 This change makes overrides to the janeStreet set work as expected by making the janeStreet set take part in the ocamlPackages fixpoint for janeStreet 0.11, i. e. OCaml < 4.07 * ocamlPackages.janeStreet: remove self - super distinction Previously, we inherited non-janestreet ocaml dependencies from super and janestreet dependencies from self which always was super.janeStreet. This behavior is however not really what we want due to liftJaneStreet: Users and other packages will use ocamlPackages.base etc. instead of ocamlPackages.janeStreet.base and the like. Consequently they also would override the top-level attributes which would mean that other janestreet packages would not pick up on it however. As a consequence however, overriding ocamlPackages.janeStreet.base doesn't work. Since this was never possible, I don't think this is an issue. It is probably a good idea to deprecate that set anyways and printing a warning when it is used via trace. janeStreet_0_9_0 is unchanged as the disticniton between self and super makes sense for it. Below is an example showing how overriding would work from an user's perspective: test-overlay.nix: self: super: { ocamlPackages = super.ocamlPackages.overrideScope (old: _: { base = old.base.overrideAttrs (_: { meta.broken = true; }); }); } nix-repl> (import ./. { overlays = [ (import ./test-overlay.nix) ]; }).ocamlPackages. stdio error: Package ‘ocaml4.10.0-base-0.14.0’ in /home/lukas/src/nix/nixpkgs/pkgs/development/ocaml-modules/janestreet/janePackage_0_14.nix:12 is marked as broken, refusing to evaluate. a) To temporarily allow broken packages, you can use an environment variable for a single invocation of the nix tools. $ export NIXPKGS_ALLOW_BROKEN=1 b) For `nixos-rebuild` you can set { nixpkgs.config.allowBroken = true; } in configuration.nix to override this. c) For `nix-env`, `nix-build`, `nix-shell` or any other Nix command you can add { allowBroken = true; } to ~/.config/nixpkgs/config.nix.
2021-04-11 11:26:10 +01:00
self = self // {
ppxlib = ppxlib.override { version = "0.8.1"; };
};
inherit (pkgs) openssl;
}
else import ../development/ocaml-modules/janestreet {
ocamlPackages.janeStreet{,_0_9_0}: join the ocamlPackages fix point, allowing overriding to work as expected (#113696) * ocamlPackages.janeStreet_0_9_0: join the ocamlPackages fix point Internal dependencies in the janeStreet sets were always taken from the own rec attribute set. While this is pretty simple and convenient, it has the disadvantage that it doesn't play nice with overriding: If you'd override an attribute in a janeStreet set previously, it would be changed when referenced directly, but the other packages in that janeStreet set still would use the original, non-overridden version of the derivation. This is easily fixed by passing janeStreet_0_9_0 itself from the fix point of ocamlPackages and using it to reference the dependencies. Example showing it now works as expected: test-overlay.nix: self: super: { ocamlPackages = super.ocamlPackages.overrideScope (old: _: { janeStreet_0_9_0 = old.janeStreet_0_9_0 // { base = old.janeStreet_0_9_0.base.overrideAttrs (_: { meta.broken = true; }); }; }); } nix-repl> (import ./. { overlays = [ (import ./test-overlay.nix) ]; }).ocamlPackages.janeStreet_0_9_0.stdio error: Package ‘ocaml4.10.0-base-0.9.4’ in /home/lukas/src/nix/nixpkgs/pkgs/development/ocaml-modules/janestreet/janePackage.nix:6 is marked as broken, refusing to evaluate. a) To temporarily allow broken packages, you can use an environment variable for a single invocation of the nix tools. $ export NIXPKGS_ALLOW_BROKEN=1 b) For `nixos-rebuild` you can set { nixpkgs.config.allowBroken = true; } in configuration.nix to override this. c) For `nix-env`, `nix-build`, `nix-shell` or any other Nix command you can add { allowBroken = true; } to ~/.config/nixpkgs/config.nix. * ocamlPackages.janeStreet: take part in fixpoint for OCaml >= 4.08 This change makes overrides to the janeStreet set work as expected by making the janeStreet set take part in the ocamlPackages fixpoint for janeStreet 0.14, i. e. OCaml >= 4.08 * ocamlPackages.janeStreet: take part in fixpoint for OCaml == 4.07 This change makes overrides to the janeStreet set work as expected by making the janeStreet set take part in the ocamlPackages fixpoint for janeStreet 0.12, i. e. OCaml == 4.07 * ocamlPackages.janeStreet: take part in fixpoint for OCaml < 4.07 This change makes overrides to the janeStreet set work as expected by making the janeStreet set take part in the ocamlPackages fixpoint for janeStreet 0.11, i. e. OCaml < 4.07 * ocamlPackages.janeStreet: remove self - super distinction Previously, we inherited non-janestreet ocaml dependencies from super and janestreet dependencies from self which always was super.janeStreet. This behavior is however not really what we want due to liftJaneStreet: Users and other packages will use ocamlPackages.base etc. instead of ocamlPackages.janeStreet.base and the like. Consequently they also would override the top-level attributes which would mean that other janestreet packages would not pick up on it however. As a consequence however, overriding ocamlPackages.janeStreet.base doesn't work. Since this was never possible, I don't think this is an issue. It is probably a good idea to deprecate that set anyways and printing a warning when it is used via trace. janeStreet_0_9_0 is unchanged as the disticniton between self and super makes sense for it. Below is an example showing how overriding would work from an user's perspective: test-overlay.nix: self: super: { ocamlPackages = super.ocamlPackages.overrideScope (old: _: { base = old.base.overrideAttrs (_: { meta.broken = true; }); }); } nix-repl> (import ./. { overlays = [ (import ./test-overlay.nix) ]; }).ocamlPackages. stdio error: Package ‘ocaml4.10.0-base-0.14.0’ in /home/lukas/src/nix/nixpkgs/pkgs/development/ocaml-modules/janestreet/janePackage_0_14.nix:12 is marked as broken, refusing to evaluate. a) To temporarily allow broken packages, you can use an environment variable for a single invocation of the nix tools. $ export NIXPKGS_ALLOW_BROKEN=1 b) For `nixos-rebuild` you can set { nixpkgs.config.allowBroken = true; } in configuration.nix to override this. c) For `nix-env`, `nix-build`, `nix-shell` or any other Nix command you can add { allowBroken = true; } to ~/.config/nixpkgs/config.nix.
2021-04-11 11:26:10 +01:00
self = self // {
ppxlib = ppxlib.override { version = "0.8.1"; };
};
inherit (pkgs) openssl;
};
2018-03-06 14:26:12 +00:00
janeStreet_0_9_0 = import ../development/ocaml-modules/janestreet/old.nix {
ocamlPackages.janeStreet{,_0_9_0}: join the ocamlPackages fix point, allowing overriding to work as expected (#113696) * ocamlPackages.janeStreet_0_9_0: join the ocamlPackages fix point Internal dependencies in the janeStreet sets were always taken from the own rec attribute set. While this is pretty simple and convenient, it has the disadvantage that it doesn't play nice with overriding: If you'd override an attribute in a janeStreet set previously, it would be changed when referenced directly, but the other packages in that janeStreet set still would use the original, non-overridden version of the derivation. This is easily fixed by passing janeStreet_0_9_0 itself from the fix point of ocamlPackages and using it to reference the dependencies. Example showing it now works as expected: test-overlay.nix: self: super: { ocamlPackages = super.ocamlPackages.overrideScope (old: _: { janeStreet_0_9_0 = old.janeStreet_0_9_0 // { base = old.janeStreet_0_9_0.base.overrideAttrs (_: { meta.broken = true; }); }; }); } nix-repl> (import ./. { overlays = [ (import ./test-overlay.nix) ]; }).ocamlPackages.janeStreet_0_9_0.stdio error: Package ‘ocaml4.10.0-base-0.9.4’ in /home/lukas/src/nix/nixpkgs/pkgs/development/ocaml-modules/janestreet/janePackage.nix:6 is marked as broken, refusing to evaluate. a) To temporarily allow broken packages, you can use an environment variable for a single invocation of the nix tools. $ export NIXPKGS_ALLOW_BROKEN=1 b) For `nixos-rebuild` you can set { nixpkgs.config.allowBroken = true; } in configuration.nix to override this. c) For `nix-env`, `nix-build`, `nix-shell` or any other Nix command you can add { allowBroken = true; } to ~/.config/nixpkgs/config.nix. * ocamlPackages.janeStreet: take part in fixpoint for OCaml >= 4.08 This change makes overrides to the janeStreet set work as expected by making the janeStreet set take part in the ocamlPackages fixpoint for janeStreet 0.14, i. e. OCaml >= 4.08 * ocamlPackages.janeStreet: take part in fixpoint for OCaml == 4.07 This change makes overrides to the janeStreet set work as expected by making the janeStreet set take part in the ocamlPackages fixpoint for janeStreet 0.12, i. e. OCaml == 4.07 * ocamlPackages.janeStreet: take part in fixpoint for OCaml < 4.07 This change makes overrides to the janeStreet set work as expected by making the janeStreet set take part in the ocamlPackages fixpoint for janeStreet 0.11, i. e. OCaml < 4.07 * ocamlPackages.janeStreet: remove self - super distinction Previously, we inherited non-janestreet ocaml dependencies from super and janestreet dependencies from self which always was super.janeStreet. This behavior is however not really what we want due to liftJaneStreet: Users and other packages will use ocamlPackages.base etc. instead of ocamlPackages.janeStreet.base and the like. Consequently they also would override the top-level attributes which would mean that other janestreet packages would not pick up on it however. As a consequence however, overriding ocamlPackages.janeStreet.base doesn't work. Since this was never possible, I don't think this is an issue. It is probably a good idea to deprecate that set anyways and printing a warning when it is used via trace. janeStreet_0_9_0 is unchanged as the disticniton between self and super makes sense for it. Below is an example showing how overriding would work from an user's perspective: test-overlay.nix: self: super: { ocamlPackages = super.ocamlPackages.overrideScope (old: _: { base = old.base.overrideAttrs (_: { meta.broken = true; }); }); } nix-repl> (import ./. { overlays = [ (import ./test-overlay.nix) ]; }).ocamlPackages. stdio error: Package ‘ocaml4.10.0-base-0.14.0’ in /home/lukas/src/nix/nixpkgs/pkgs/development/ocaml-modules/janestreet/janePackage_0_14.nix:12 is marked as broken, refusing to evaluate. a) To temporarily allow broken packages, you can use an environment variable for a single invocation of the nix tools. $ export NIXPKGS_ALLOW_BROKEN=1 b) For `nixos-rebuild` you can set { nixpkgs.config.allowBroken = true; } in configuration.nix to override this. c) For `nix-env`, `nix-build`, `nix-shell` or any other Nix command you can add { allowBroken = true; } to ~/.config/nixpkgs/config.nix.
2021-04-11 11:26:10 +01:00
self = self.janeStreet_0_9_0;
super = self // {
janePackage = callPackage ../development/ocaml-modules/janestreet/janePackage.nix {
defaultVersion = "0.9.0";
};
};
inherit (pkgs) stdenv lib openssl;
2018-03-06 14:26:12 +00:00
};
2016-09-19 18:00:42 +01:00
js_build_tools = callPackage ../development/ocaml-modules/janestreet/js-build-tools.nix {};
buildOcamlJane = callPackage ../development/ocaml-modules/janestreet/buildOcamlJane.nix {};
ppx_optcomp =
if lib.versionOlder "4.03" ocaml.version
then janeStreet.ppx_optcomp
else callPackage ../development/ocaml-modules/janestreet/ppx-optcomp.nix {};
2016-09-19 18:00:42 +01:00
ppx_compare =
if lib.versionOlder "4.03" ocaml.version
then janeStreet.ppx_compare
else callPackage ../development/ocaml-modules/janestreet/ppx-compare.nix {};
2016-09-19 18:00:42 +01:00
ppx_here =
if lib.versionOlder "4.03" ocaml.version
then janeStreet.ppx_here
else callPackage ../development/ocaml-modules/janestreet/ppx-here.nix {};
2016-09-19 18:00:42 +01:00
ppx_sexp_conv =
if lib.versionOlder "4.03" ocaml.version
then janeStreet.ppx_sexp_conv
else callPackage ../development/ocaml-modules/janestreet/ppx-sexp-conv.nix {};
2016-09-19 18:00:42 +01:00
ppx_assert =
if lib.versionOlder "4.03" ocaml.version
then janeStreet.ppx_assert
else callPackage ../development/ocaml-modules/janestreet/ppx-assert.nix {};
2016-09-19 18:00:42 +01:00
ppx_inline_test =
if lib.versionOlder "4.03" ocaml.version
then janeStreet.ppx_inline_test
else callPackage ../development/ocaml-modules/janestreet/ppx-inline-test.nix {};
2016-09-19 18:00:42 +01:00
ppx_bench =
if lib.versionOlder "4.03" ocaml.version
then janeStreet.ppx_bench
else callPackage ../development/ocaml-modules/janestreet/ppx-bench.nix {};
2016-09-19 18:00:42 +01:00
ppx_bin_prot =
if lib.versionOlder "4.03" ocaml.version
then janeStreet.ppx_bin_prot
else callPackage ../development/ocaml-modules/janestreet/ppx-bin-prot.nix {};
2016-09-19 18:00:42 +01:00
ppx_custom_printf =
if lib.versionOlder "4.03" ocaml.version
then janeStreet.ppx_custom_printf
else callPackage ../development/ocaml-modules/janestreet/ppx-custom-printf.nix {};
2016-09-19 18:00:42 +01:00
ppx_enumerate =
if lib.versionOlder "4.03" ocaml.version
then janeStreet.ppx_enumerate
else callPackage ../development/ocaml-modules/janestreet/ppx-enumerate.nix {};
2016-09-19 18:00:42 +01:00
ppx_fields_conv =
if lib.versionOlder "4.03" ocaml.version
then janeStreet.ppx_fields_conv
else callPackage ../development/ocaml-modules/janestreet/ppx-fields-conv.nix {};
2016-09-19 18:00:42 +01:00
ppx_let =
if lib.versionOlder "4.03" ocaml.version
then janeStreet.ppx_let
else callPackage ../development/ocaml-modules/janestreet/ppx-let.nix {};
2016-09-19 18:00:42 +01:00
ppx_pipebang =
if lib.versionOlder "4.03" ocaml.version
then janeStreet.ppx_pipebang
else callPackage ../development/ocaml-modules/janestreet/ppx-pipebang.nix {};
2016-09-19 18:00:42 +01:00
ppx_sexp_message =
if lib.versionOlder "4.03" ocaml.version
then janeStreet.ppx_sexp_message
else callPackage ../development/ocaml-modules/janestreet/ppx-sexp-message.nix {};
2016-09-19 18:00:42 +01:00
ppx_sexp_value =
if lib.versionOlder "4.03" ocaml.version
then janeStreet.ppx_sexp_value
else callPackage ../development/ocaml-modules/janestreet/ppx-sexp-value.nix {};
2016-09-19 18:00:42 +01:00
ppx_typerep_conv =
if lib.versionOlder "4.03" ocaml.version
then janeStreet.ppx_typerep_conv
else callPackage ../development/ocaml-modules/janestreet/ppx-typerep-conv.nix {};
2016-09-19 18:00:42 +01:00
ppx_variants_conv =
if lib.versionOlder "4.03" ocaml.version
then janeStreet.ppx_variants_conv
else callPackage ../development/ocaml-modules/janestreet/ppx-variants-conv.nix {};
2016-09-19 18:00:42 +01:00
ppx_expect =
if lib.versionOlder "4.03" ocaml.version
then janeStreet.ppx_expect
else callPackage ../development/ocaml-modules/janestreet/ppx-expect.nix {};
2016-09-19 18:00:42 +01:00
ppx_jane =
if lib.versionOlder "4.03" ocaml.version
then janeStreet.ppx_jane
else callPackage ../development/ocaml-modules/janestreet/ppx-jane.nix {};
2016-09-19 18:00:42 +01:00
# Core sublibs
typerep =
if lib.versionOlder "4.03" ocaml.version
then janeStreet.typerep
else if lib.versionOlder "4.02" ocaml.version
2016-09-19 18:00:42 +01:00
then callPackage ../development/ocaml-modules/janestreet/typerep.nix {}
else typerep_p4;
fieldslib =
if lib.versionOlder "4.03" ocaml.version
then janeStreet.fieldslib
else if lib.versionOlder "4.02" ocaml.version
2016-09-19 18:00:42 +01:00
then callPackage ../development/ocaml-modules/janestreet/fieldslib.nix {}
else fieldslib_p4;
sexplib =
if lib.versionOlder "4.03" ocaml.version
then janeStreet.sexplib
else if lib.versionOlder "4.02" ocaml.version
2016-09-19 18:00:42 +01:00
then callPackage ../development/ocaml-modules/janestreet/sexplib.nix {}
else null;
2016-09-19 18:00:42 +01:00
variantslib =
if lib.versionOlder "4.03" ocaml.version
then janeStreet.variantslib
else if lib.versionOlder "4.02" ocaml.version
2016-09-19 18:00:42 +01:00
then callPackage ../development/ocaml-modules/janestreet/variantslib.nix {}
else variantslib_p4;
bin_prot =
if lib.versionOlder "4.03" ocaml.version
then janeStreet.bin_prot
else if lib.versionOlder "4.02" ocaml.version
2016-09-19 18:00:42 +01:00
then callPackage ../development/ocaml-modules/janestreet/bin_prot.nix {}
else bin_prot_p4;
core_bench =
if lib.versionOlder "4.03" ocaml.version
then janeStreet.core_bench else
callPackage ../development/ocaml-modules/janestreet/core_bench.nix {};
async_rpc_kernel =
if lib.versionOlder "4.03" ocaml.version
then janeStreet.async_rpc_kernel
else callPackage ../development/ocaml-modules/janestreet/async-rpc-kernel.nix {};
2016-09-19 18:00:42 +01:00
# Apps / from all-packages
ocamlnat = callPackage ../development/ocaml-modules/ocamlnat { };
omake_rc1 = callPackage ../development/tools/ocaml/omake/0.9.8.6-rc1.nix { };
google-drive-ocamlfuse = callPackage ../applications/networking/google-drive-ocamlfuse {
# needs Base64 module
ocaml_extlib = ocaml_extlib.override { minimal = false; };
};
2016-09-19 18:00:42 +01:00
2019-03-30 15:29:33 +00:00
hol_light = callPackage ../applications/science/logic/hol_light { };
2016-09-19 18:00:42 +01:00
2019-01-03 22:58:36 +00:00
})).overrideScope' liftJaneStreet;
2016-10-16 19:10:05 +01:00
2019-01-03 22:58:36 +00:00
in let inherit (pkgs) callPackage; in rec
{
2016-10-16 19:10:05 +01:00
2019-01-03 22:58:36 +00:00
ocamlPackages_4_00_1 = mkOcamlPackages (callPackage ../development/compilers/ocaml/4.00.1.nix { });
2016-09-19 18:00:42 +01:00
2019-01-03 22:58:36 +00:00
ocamlPackages_4_01_0 = mkOcamlPackages (callPackage ../development/compilers/ocaml/4.01.0.nix { });
2016-09-19 18:00:42 +01:00
2019-01-03 22:58:36 +00:00
ocamlPackages_4_02 = mkOcamlPackages (callPackage ../development/compilers/ocaml/4.02.nix { });
2016-09-19 18:00:42 +01:00
2019-01-03 22:58:36 +00:00
ocamlPackages_4_03 = mkOcamlPackages (callPackage ../development/compilers/ocaml/4.03.nix { });
2016-09-19 18:00:42 +01:00
2019-01-03 22:58:36 +00:00
ocamlPackages_4_04 = mkOcamlPackages (callPackage ../development/compilers/ocaml/4.04.nix { });
2016-11-09 12:58:34 +00:00
2019-01-03 22:58:36 +00:00
ocamlPackages_4_05 = mkOcamlPackages (callPackage ../development/compilers/ocaml/4.05.nix { });
2017-07-13 18:57:55 +01:00
2019-01-03 22:58:36 +00:00
ocamlPackages_4_06 = mkOcamlPackages (callPackage ../development/compilers/ocaml/4.06.nix { });
2017-11-03 22:48:50 +00:00
2019-01-03 22:58:36 +00:00
ocamlPackages_4_07 = mkOcamlPackages (callPackage ../development/compilers/ocaml/4.07.nix { });
2018-04-18 13:47:27 +01:00
2019-02-11 16:21:46 +00:00
ocamlPackages_4_08 = mkOcamlPackages (callPackage ../development/compilers/ocaml/4.08.nix { });
ocamlPackages_4_09 = mkOcamlPackages (callPackage ../development/compilers/ocaml/4.09.nix { });
ocamlPackages_4_10 = mkOcamlPackages (callPackage ../development/compilers/ocaml/4.10.nix { });
ocamlPackages_4_11 = mkOcamlPackages (callPackage ../development/compilers/ocaml/4.11.nix { });
ocamlPackages_4_12 = mkOcamlPackages (callPackage ../development/compilers/ocaml/4.12.nix { });
ocamlPackages_4_13 = mkOcamlPackages (callPackage ../development/compilers/ocaml/4.13.nix { });
2021-02-24 17:19:29 +00:00
ocamlPackages_latest = ocamlPackages_4_12;
2016-09-19 18:00:42 +01:00
2021-04-20 04:33:41 +01:00
ocamlPackages = ocamlPackages_4_12;
2016-09-19 18:00:42 +01:00
}