Merge pull request #8705 from ts468/upstream.ocaml_renaming

ocaml-modules: fix naming: "_" -> "-"
This commit is contained in:
ts468 2015-09-02 10:03:22 +02:00
commit eec0113516
36 changed files with 156 additions and 130 deletions

View file

@ -1,9 +1,9 @@
{stdenv, buildOcaml, fetchurl, async_kernel, async_unix, {stdenv, buildOcaml, fetchurl, async-kernel, async-unix,
bin_prot, core, custom_printf, fieldslib, herelib, pa_ounit, bin-prot, core, custom-printf, fieldslib, herelib, pa-ounit,
pipebang, pa_test, sexplib}: pipebang, pa-test, sexplib}:
buildOcaml rec { buildOcaml rec {
name = "async_extra"; name = "async-extra";
version = "112.24.00"; version = "112.24.00";
minimumSupportedOcamlVersion = "4.02"; minimumSupportedOcamlVersion = "4.02";
@ -13,8 +13,8 @@ buildOcaml rec {
sha256 = "51f6f67a9ad56fe5dcf09faeeca6ec2fea53a7a975a72bc80504b90841212e28"; sha256 = "51f6f67a9ad56fe5dcf09faeeca6ec2fea53a7a975a72bc80504b90841212e28";
}; };
buildInputs = [ pa_test pa_ounit ]; buildInputs = [ pa-test pa-ounit ];
propagatedBuildInputs = [ async_kernel async_unix core bin_prot custom_printf propagatedBuildInputs = [ async-kernel async-unix core bin-prot custom-printf
fieldslib herelib pipebang sexplib ]; fieldslib herelib pipebang sexplib ];
meta = with stdenv.lib; { meta = with stdenv.lib; {

View file

@ -1,7 +1,7 @@
{stdenv, buildOcaml, fetchurl, async, core, sexplib}: {stdenv, buildOcaml, fetchurl, async, core, sexplib}:
buildOcaml rec { buildOcaml rec {
name = "async_find"; name = "async-find";
version = "111.28.00"; version = "111.28.00";
minimumSupportedOcamlVersion = "4.02"; minimumSupportedOcamlVersion = "4.02";

View file

@ -1,9 +1,9 @@
{stdenv, buildOcaml, fetchurl, core_kernel, {stdenv, buildOcaml, fetchurl, core-kernel,
bin_prot, fieldslib, pa_ounit, pa_test, bin-prot, fieldslib, pa-ounit, pa-test,
sexplib, herelib}: sexplib, herelib}:
buildOcaml rec { buildOcaml rec {
name = "async_kernel"; name = "async-kernel";
version = "112.24.00"; version = "112.24.00";
minimumSupportedOcamlVersion = "4.02"; minimumSupportedOcamlVersion = "4.02";
@ -13,8 +13,8 @@ buildOcaml rec {
sha256 = "95caf4249b55c5a6b38da56e314845e9ea9a0876eedd4cf0ddcb6c8dd660c6a0"; sha256 = "95caf4249b55c5a6b38da56e314845e9ea9a0876eedd4cf0ddcb6c8dd660c6a0";
}; };
buildInputs = [ pa_test pa_ounit ]; buildInputs = [ pa-test pa-ounit ];
propagatedBuildInputs = [ core_kernel bin_prot fieldslib herelib sexplib ]; propagatedBuildInputs = [ core-kernel bin-prot fieldslib herelib sexplib ];
meta = with stdenv.lib; { meta = with stdenv.lib; {
homepage = https://github.com/janestreet/async_kernel; homepage = https://github.com/janestreet/async_kernel;

View file

@ -1,7 +1,7 @@
{stdenv, buildOcaml, fetchurl, async, core, core_extended}: {stdenv, buildOcaml, fetchurl, async, core, core-extended}:
buildOcaml rec { buildOcaml rec {
name = "async_shell"; name = "async-shell";
version = "109.28.03"; version = "109.28.03";
minimumSupportedOcamlVersion = "4.02"; minimumSupportedOcamlVersion = "4.02";
@ -11,7 +11,7 @@ buildOcaml rec {
sha256 = "0b4497bea9124c5a665ee58fb0a73c5cbf2f757479df902e6870627196e6c105"; sha256 = "0b4497bea9124c5a665ee58fb0a73c5cbf2f757479df902e6870627196e6c105";
}; };
propagatedBuildInputs = [ async core core_extended ]; propagatedBuildInputs = [ async core core-extended ];
meta = with stdenv.lib; { meta = with stdenv.lib; {
homepage = https://github.com/janestreet/async_shell; homepage = https://github.com/janestreet/async_shell;

View file

@ -1,5 +1,5 @@
{stdenv, buildOcaml, fetchurl, async, comparelib, core, ctypes, openssl, {stdenv, buildOcaml, fetchurl, async, comparelib, core, ctypes, openssl,
fieldslib, herelib, pa_bench, pa_ounit, pipebang, pa_test, sexplib}: fieldslib, herelib, pa-bench, pa-ounit, pipebang, pa-test, sexplib}:
buildOcaml rec { buildOcaml rec {
name = "async_ssl"; name = "async_ssl";
@ -12,8 +12,8 @@ buildOcaml rec {
sha256 = "1b0bea92142eef11da6bf649bbe229bd4b8d9cc807303d8142406908c0d28c68"; sha256 = "1b0bea92142eef11da6bf649bbe229bd4b8d9cc807303d8142406908c0d28c68";
}; };
buildInputs = [ pa_bench pa_test ]; buildInputs = [ pa-bench pa-test ];
propagatedBuildInputs = [ ctypes async comparelib core fieldslib pa_ounit propagatedBuildInputs = [ ctypes async comparelib core fieldslib pa-ounit
herelib pipebang sexplib openssl ]; herelib pipebang sexplib openssl ];
meta = with stdenv.lib; { meta = with stdenv.lib; {

View file

@ -1,9 +1,9 @@
{stdenv, buildOcaml, fetchurl, async_kernel, {stdenv, buildOcaml, fetchurl, async-kernel,
bin_prot, comparelib, core, fieldslib, herelib, pa_ounit, bin-prot, comparelib, core, fieldslib, herelib, pa-ounit,
pipebang, pa_test, sexplib}: pipebang, pa-test, sexplib}:
buildOcaml rec { buildOcaml rec {
name = "async_unix"; name = "async-unix";
version = "112.24.00"; version = "112.24.00";
minimumSupportedOcamlVersion = "4.02"; minimumSupportedOcamlVersion = "4.02";
@ -14,9 +14,9 @@ buildOcaml rec {
}; };
hasSharedObjects = true; hasSharedObjects = true;
buildInputs = [ pa_ounit ]; buildInputs = [ pa-ounit ];
propagatedBuildInputs = [ async_kernel core bin_prot comparelib propagatedBuildInputs = [ async-kernel core bin-prot comparelib
fieldslib herelib pipebang pa_test sexplib ]; fieldslib herelib pipebang pa-test sexplib ];
meta = with stdenv.lib; { meta = with stdenv.lib; {
homepage = https://github.com/janestreet/async_unix; homepage = https://github.com/janestreet/async_unix;

View file

@ -1,5 +1,5 @@
{stdenv, buildOcaml, fetchurl, async_kernel, {stdenv, buildOcaml, fetchurl, async-kernel,
async_unix, async_extra, pa_ounit}: async-unix, async-extra, pa-ounit}:
buildOcaml rec { buildOcaml rec {
name = "async"; name = "async";
@ -12,7 +12,7 @@ buildOcaml rec {
sha256 = "ecc4ca939ab098e689332921b110dbaacd06d9f8d8bf697023dfff3ca37dc1e9"; sha256 = "ecc4ca939ab098e689332921b110dbaacd06d9f8d8bf697023dfff3ca37dc1e9";
}; };
propagatedBuildInputs = [ async_kernel async_unix async_extra pa_ounit ]; propagatedBuildInputs = [ async-kernel async-unix async-extra pa-ounit ];
meta = with stdenv.lib; { meta = with stdenv.lib; {
homepage = https://github.com/janestreet/async; homepage = https://github.com/janestreet/async;

View file

@ -1,7 +1,7 @@
{stdenv, writeText, buildOcaml, fetchurl, type_conv}: {stdenv, writeText, buildOcaml, fetchurl, type-conv}:
buildOcaml rec { buildOcaml rec {
name = "bin_prot"; name = "bin-prot";
version = "112.24.00"; version = "112.24.00";
minimumSupportedOcamlVersion = "4.00"; minimumSupportedOcamlVersion = "4.00";
@ -11,7 +11,7 @@ buildOcaml rec {
sha256 = "dc0c978a825c7c123990af3317637c218f61079e6f35dc878260651084f1adb4"; sha256 = "dc0c978a825c7c123990af3317637c218f61079e6f35dc878260651084f1adb4";
}; };
propagatedBuildInputs = [ type_conv ]; propagatedBuildInputs = [ type-conv ];
hasSharedObjects = true; hasSharedObjects = true;

View file

@ -1,6 +1,6 @@
{stdenv, buildOcaml, fetchurl, cmdliner, re, uri, fieldslib, sexplib, conduit, {stdenv, buildOcaml, fetchurl, cmdliner, re, uri, fieldslib, sexplib, conduit,
stringext, base64, magic-mime, ounit, alcotest, lwt ? null, stringext, base64, magic-mime, ounit, alcotest, lwt ? null,
async ? null, async_ssl ? null}: async ? null, async-ssl ? null}:
buildOcaml rec { buildOcaml rec {
name = "cohttp"; name = "cohttp";
@ -16,7 +16,7 @@ buildOcaml rec {
buildInputs = [ alcotest ]; buildInputs = [ alcotest ];
propagatedBuildInputs = [ cmdliner re uri fieldslib sexplib sexplib propagatedBuildInputs = [ cmdliner re uri fieldslib sexplib sexplib
conduit stringext base64 magic-mime ounit async conduit stringext base64 magic-mime ounit async
async_ssl lwt ]; async-ssl lwt ];
buildFlags = "PREFIX=$(out)"; buildFlags = "PREFIX=$(out)";

View file

@ -1,4 +1,4 @@
{stdenv, buildOcaml, fetchurl, type_conv}: {stdenv, buildOcaml, fetchurl, type-conv}:
buildOcaml rec { buildOcaml rec {
name = "comparelib"; name = "comparelib";
@ -11,7 +11,7 @@ buildOcaml rec {
sha256 = "1075fb05e0d1e290f71ad0f6163f32b2cb4cebdc77568491c7eb38ba91f5db7e"; sha256 = "1075fb05e0d1e290f71ad0f6163f32b2cb4cebdc77568491c7eb38ba91f5db7e";
}; };
propagatedBuildInputs = [ type_conv ]; propagatedBuildInputs = [ type-conv ];
meta = with stdenv.lib; { meta = with stdenv.lib; {
homepage = https://github.com/janestreet/comparelib; homepage = https://github.com/janestreet/comparelib;

View file

@ -1,5 +1,5 @@
{stdenv, buildOcaml, fetchurl, sexplib, stringext, uri, cstruct, ipaddr, {stdenv, buildOcaml, fetchurl, sexplib, stringext, uri, cstruct, ipaddr,
async ? null, async_ssl ? null, lwt ? null}: async ? null, async-ssl ? null, lwt ? null}:
buildOcaml rec { buildOcaml rec {
name = "conduit"; name = "conduit";
@ -13,7 +13,7 @@ buildOcaml rec {
propagatedBuildInputs = ([ sexplib stringext uri cstruct ipaddr ] propagatedBuildInputs = ([ sexplib stringext uri cstruct ipaddr ]
++ stdenv.lib.optional (lwt != null) lwt ++ stdenv.lib.optional (lwt != null) lwt
++ stdenv.lib.optional (async != null) async ++ stdenv.lib.optional (async != null) async
++ stdenv.lib.optional (async_ssl != null) async_ssl); ++ stdenv.lib.optional (async-ssl != null) async-ssl);
meta = with stdenv.lib; { meta = with stdenv.lib; {
homepage = https://github.com/mirage/ocaml-conduit; homepage = https://github.com/mirage/ocaml-conduit;

View file

@ -1,8 +1,8 @@
{stdenv, buildOcaml, fetchurl, bin_prot, comparelib, core, custom_printf, {stdenv, buildOcaml, fetchurl, bin-prot, comparelib, core, custom-printf,
fieldslib, pa_bench, pa_ounit, pipebang, pa_test, textutils, re2, sexplib}: fieldslib, pa-bench, pa-ounit, pipebang, pa-test, textutils, re2, sexplib}:
buildOcaml rec { buildOcaml rec {
name = "core_extended"; name = "core-extended";
version = "112.24.00"; version = "112.24.00";
minimumSupportedOcamlVersion = "4.02"; minimumSupportedOcamlVersion = "4.02";
@ -13,8 +13,8 @@ buildOcaml rec {
}; };
hasSharedObjects = true; hasSharedObjects = true;
buildInputs = [ pa_bench pa_test pa_ounit ]; buildInputs = [ pa-bench pa-test pa-ounit ];
propagatedBuildInputs = [bin_prot comparelib core custom_printf fieldslib propagatedBuildInputs = [bin-prot comparelib core custom-printf fieldslib
pipebang textutils re2 sexplib ]; pipebang textutils re2 sexplib ];
meta = with stdenv.lib; { meta = with stdenv.lib; {

View file

@ -1,10 +1,10 @@
{stdenv, buildOcaml, fetchurl, type_conv, {stdenv, buildOcaml, fetchurl, type-conv,
bin_prot, comparelib, custom_printf, enumerate, bin-prot, comparelib, custom-printf, enumerate,
fieldslib, herelib, pa_bench, pa_test, pa_ounit, fieldslib, herelib, pa-bench, pa-test, pa-ounit,
pipebang, sexplib, typerep, variantslib}: pipebang, sexplib, typerep, variantslib}:
buildOcaml rec { buildOcaml rec {
name = "core_kernel"; name = "core-kernel";
version = "112.24.00"; version = "112.24.00";
minimumSupportedOcamlVersion = "4.02"; minimumSupportedOcamlVersion = "4.02";
@ -16,8 +16,8 @@ buildOcaml rec {
hasSharedObjects = true; hasSharedObjects = true;
buildInputs = [ pa_test pa_ounit ]; buildInputs = [ pa-test pa-ounit ];
propagatedBuildInputs = [ type_conv pa_bench bin_prot comparelib custom_printf propagatedBuildInputs = [ type-conv pa-bench bin-prot comparelib custom-printf
enumerate fieldslib herelib pipebang sexplib enumerate fieldslib herelib pipebang sexplib
typerep variantslib ]; typerep variantslib ];

View file

@ -1,6 +1,6 @@
{stdenv, buildOcaml, fetchurl, type_conv, {stdenv, buildOcaml, fetchurl, type-conv,
core_kernel, bin_prot, comparelib, custom_printf, enumerate, core-kernel, bin-prot, comparelib, custom-printf, enumerate,
fieldslib, herelib, pa_bench, pa_test, pa_ounit, fieldslib, herelib, pa-bench, pa-test, pa-ounit,
pipebang, sexplib, typerep, variantslib}: pipebang, sexplib, typerep, variantslib}:
buildOcaml rec { buildOcaml rec {
@ -16,9 +16,9 @@ buildOcaml rec {
hasSharedObjects = true; hasSharedObjects = true;
buildInputs = [ pa_bench pa_test pa_ounit ]; buildInputs = [ pa-bench pa-test pa-ounit ];
propagatedBuildInputs = [ type_conv core_kernel bin_prot comparelib propagatedBuildInputs = [ type-conv core-kernel bin-prot comparelib
custom_printf enumerate fieldslib herelib custom-printf enumerate fieldslib herelib
pipebang sexplib typerep variantslib ]; pipebang sexplib typerep variantslib ];
meta = with stdenv.lib; { meta = with stdenv.lib; {

View file

@ -1,7 +1,7 @@
{stdenv, buildOcaml, fetchurl, type_conv, sexplib, pa_ounit}: {stdenv, buildOcaml, fetchurl, type-conv, sexplib, pa-ounit}:
buildOcaml rec { buildOcaml rec {
name = "custom_printf"; name = "custom-printf";
version = "112.24.00"; version = "112.24.00";
minimumSupportedOcamlVersion = "4.02"; minimumSupportedOcamlVersion = "4.02";
@ -11,8 +11,8 @@ buildOcaml rec {
sha256 = "dad3aface92c53e8fbcc12cc9358c4767cb1cb09857d4819a10ed98eccaca8f9"; sha256 = "dad3aface92c53e8fbcc12cc9358c4767cb1cb09857d4819a10ed98eccaca8f9";
}; };
buildInputs = [ pa_ounit ]; buildInputs = [ pa-ounit ];
propagatedBuildInputs = [ type_conv sexplib ]; propagatedBuildInputs = [ type-conv sexplib ];
meta = with stdenv.lib; { meta = with stdenv.lib; {
homepage = https://github.com/janestreet/custom_printf; homepage = https://github.com/janestreet/custom_printf;

View file

@ -1,4 +1,4 @@
{ stdenv, fetchurl, ocaml, findlib, type_conv, camlp4 }: { stdenv, fetchurl, ocaml, findlib, type-conv, camlp4 }:
assert stdenv.lib.versionAtLeast (stdenv.lib.getVersion ocaml) "4.00"; assert stdenv.lib.versionAtLeast (stdenv.lib.getVersion ocaml) "4.00";
@ -11,7 +11,7 @@ stdenv.mkDerivation {
}; };
buildInputs = [ ocaml findlib ]; buildInputs = [ ocaml findlib ];
propagatedBuildInputs = [ type_conv camlp4 ]; propagatedBuildInputs = [ type-conv camlp4 ];
createFindlibDestdir = true; createFindlibDestdir = true;

View file

@ -3,7 +3,7 @@
let version = "0.3"; in let version = "0.3"; in
stdenv.mkDerivation { stdenv.mkDerivation {
name = "ocaml-erm_xml-${version}"; name = "ocaml-erm-xml-${version}";
src = fetchzip { src = fetchzip {
url = "https://github.com/ermine/xml/archive/v${version}.tar.gz"; url = "https://github.com/ermine/xml/archive/v${version}.tar.gz";

View file

@ -1,4 +1,4 @@
{ stdenv, fetchurl, fetchzip, ocaml, findlib, erm_xml, cryptokit, camlp4 }: { stdenv, fetchurl, fetchzip, ocaml, findlib, erm-xml, cryptokit, camlp4 }:
let let
version = "0.2"; version = "0.2";
@ -9,7 +9,7 @@ let
in in
stdenv.mkDerivation { stdenv.mkDerivation {
name = "ocaml-erm_xmpp-${version}"; name = "ocaml-erm-xmpp-${version}";
src = fetchzip { src = fetchzip {
url = "https://github.com/ermine/xmpp/archive/v${version}.tar.gz"; url = "https://github.com/ermine/xmpp/archive/v${version}.tar.gz";
@ -19,7 +19,7 @@ stdenv.mkDerivation {
patches = [ disable-tests ]; patches = [ disable-tests ];
buildInputs = [ ocaml findlib camlp4 ]; buildInputs = [ ocaml findlib camlp4 ];
propagatedBuildInputs = [ erm_xml cryptokit ]; propagatedBuildInputs = [ erm-xml cryptokit ];
createFindlibDestdir = true; createFindlibDestdir = true;

View file

@ -1,4 +1,4 @@
{ stdenv, fetchurl, ocaml, findlib, type_conv, camlp4 }: { stdenv, fetchurl, ocaml, findlib, type-conv, camlp4 }:
assert stdenv.lib.versionOlder "4.00" (stdenv.lib.getVersion ocaml); assert stdenv.lib.versionOlder "4.00" (stdenv.lib.getVersion ocaml);
@ -11,7 +11,7 @@ stdenv.mkDerivation {
}; };
buildInputs = [ ocaml findlib ]; buildInputs = [ ocaml findlib ];
propagatedBuildInputs = [ type_conv camlp4 ]; propagatedBuildInputs = [ type-conv camlp4 ];
createFindlibDestdir = true; createFindlibDestdir = true;

View file

@ -1,4 +1,4 @@
{stdenv, fetchurl, ocaml, findlib, type_conv, ounit, camlp4}: {stdenv, fetchurl, ocaml, findlib, type-conv, ounit, camlp4}:
stdenv.mkDerivation { stdenv.mkDerivation {
name = "ocaml-data-notation-0.0.11"; name = "ocaml-data-notation-0.0.11";
@ -8,7 +8,7 @@ stdenv.mkDerivation {
sha256 = "09a8zdyifpc2nl4hdvg9206142y31cq95ajgij011s1qcg3z93lj"; sha256 = "09a8zdyifpc2nl4hdvg9206142y31cq95ajgij011s1qcg3z93lj";
}; };
buildInputs = [ocaml findlib type_conv ounit camlp4]; buildInputs = [ocaml findlib type-conv ounit camlp4];
createFindlibDestdir = true; createFindlibDestdir = true;

View file

@ -1,7 +1,7 @@
{stdenv, buildOcaml, fetchurl, type_conv, pa_ounit}: {stdenv, buildOcaml, fetchurl, type-conv, pa-ounit}:
buildOcaml rec { buildOcaml rec {
name = "pa_bench"; name = "pa-bench";
version = "112.06.00"; version = "112.06.00";
minimumSupportedOcamlVersion = "4.00"; minimumSupportedOcamlVersion = "4.00";
@ -11,8 +11,8 @@ buildOcaml rec {
sha256 = "e3401e37f1d3d4acb957fd46a192d0ffcefeb0bedee63bbeb26969af1d540870"; sha256 = "e3401e37f1d3d4acb957fd46a192d0ffcefeb0bedee63bbeb26969af1d540870";
}; };
buildInputs = [ pa_ounit ]; buildInputs = [ pa-ounit ];
propagatedBuildInputs = [ type_conv ]; propagatedBuildInputs = [ type-conv ];
meta = with stdenv.lib; { meta = with stdenv.lib; {
homepage = https://github.com/janestreet/pa_bench; homepage = https://github.com/janestreet/pa_bench;

View file

@ -1,7 +1,7 @@
{stdenv, buildOcaml, fetchurl, ounit}: {stdenv, buildOcaml, fetchurl, ounit}:
buildOcaml rec { buildOcaml rec {
name = "pa_ounit"; name = "pa-ounit";
version = "112.24.00"; version = "112.24.00";
src = fetchurl { src = fetchurl {

View file

@ -1,7 +1,7 @@
{stdenv, buildOcaml, fetchurl, type_conv, pa_ounit, sexplib, herelib}: {stdenv, buildOcaml, fetchurl, type-conv, pa-ounit, sexplib, herelib}:
buildOcaml rec { buildOcaml rec {
name = "pa_test"; name = "pa-test";
version = "112.24.00"; version = "112.24.00";
minimumSupportedOcamlVersion = "4.00"; minimumSupportedOcamlVersion = "4.00";
@ -11,8 +11,8 @@ buildOcaml rec {
sha256 = "b03d13c2bc9fa9a4b1c507d7108d965202160f83e9781d430d3b53a1993e30d6"; sha256 = "b03d13c2bc9fa9a4b1c507d7108d965202160f83e9781d430d3b53a1993e30d6";
}; };
buildInputs = [ pa_ounit ]; buildInputs = [ pa-ounit ];
propagatedBuildInputs = [ type_conv sexplib herelib ]; propagatedBuildInputs = [ type-conv sexplib herelib ];
meta = with stdenv.lib; { meta = with stdenv.lib; {
homepage = https://github.com/janestreet/pa_test; homepage = https://github.com/janestreet/pa_test;

View file

@ -1,5 +1,5 @@
{stdenv, buildOcaml, fetchurl, ocaml, core, pa_ounit, pa_test, {stdenv, buildOcaml, fetchurl, ocaml, core, pa-ounit, pa-test,
bin_prot, comparelib, sexplib, rsync}: bin-prot, comparelib, sexplib, rsync}:
buildOcaml rec { buildOcaml rec {
name = "re2"; name = "re2";
@ -15,8 +15,8 @@ buildOcaml rec {
then [./Makefile.patch ./myocamlbuild.patch] then [./Makefile.patch ./myocamlbuild.patch]
else null; else null;
buildInputs = [ pa_ounit pa_test rsync ]; buildInputs = [ pa-ounit pa-test rsync ];
propagatedBuildInputs = [ core bin_prot comparelib sexplib ]; propagatedBuildInputs = [ core bin-prot comparelib sexplib ];
hasSharedObjects = true; hasSharedObjects = true;

View file

@ -1,4 +1,4 @@
{stdenv, fetchurl, ocaml, findlib, type_conv, camlp4}: {stdenv, fetchurl, ocaml, findlib, type-conv, camlp4}:
let let
ocaml_version = (builtins.parseDrvName ocaml.name).version; ocaml_version = (builtins.parseDrvName ocaml.name).version;
@ -15,7 +15,7 @@ stdenv.mkDerivation {
}; };
buildInputs = [ocaml findlib]; buildInputs = [ocaml findlib];
propagatedBuildInputs = [type_conv camlp4]; propagatedBuildInputs = [type-conv camlp4];
createFindlibDestdir = true; createFindlibDestdir = true;

View file

@ -1,4 +1,4 @@
{stdenv, fetchurl, ocaml, findlib, type_conv, camlp4}: {stdenv, fetchurl, ocaml, findlib, type-conv, camlp4}:
let let
ocaml_version = (builtins.parseDrvName ocaml.name).version; ocaml_version = (builtins.parseDrvName ocaml.name).version;
@ -15,7 +15,7 @@ stdenv.mkDerivation {
}; };
buildInputs = [ocaml findlib]; buildInputs = [ocaml findlib];
propagatedBuildInputs = [type_conv camlp4]; propagatedBuildInputs = [type-conv camlp4];
createFindlibDestdir = true; createFindlibDestdir = true;

View file

@ -1,4 +1,4 @@
{stdenv, buildOcaml, fetchurl, type_conv, camlp4}: {stdenv, buildOcaml, fetchurl, type-conv, camlp4}:
buildOcaml rec { buildOcaml rec {
minimumSupportedOcamlVersion = "4.02"; minimumSupportedOcamlVersion = "4.02";
@ -10,7 +10,7 @@ buildOcaml rec {
sha256 = "5f776aee295cc51c952aecd4b74b52dd2b850c665cc25b3d69bc42014d3ba073"; sha256 = "5f776aee295cc51c952aecd4b74b52dd2b850c665cc25b3d69bc42014d3ba073";
}; };
propagatedBuildInputs = [ type_conv camlp4 ]; propagatedBuildInputs = [ type-conv camlp4 ];
meta = with stdenv.lib; { meta = with stdenv.lib; {
homepage = https://ocaml.janestreet.com/; homepage = https://ocaml.janestreet.com/;

View file

@ -1,4 +1,4 @@
{stdenv, buildOcaml, fetchurl, core, pa_ounit, pa_test, sexplib}: {stdenv, buildOcaml, fetchurl, core, pa-ounit, pa-test, sexplib}:
buildOcaml rec { buildOcaml rec {
name = "textutils"; name = "textutils";
@ -11,8 +11,8 @@ buildOcaml rec {
sha256 = "605d9fde66dc2d777721c936aa521e17169c143efaf9ff29619a7f273a7d0052"; sha256 = "605d9fde66dc2d777721c936aa521e17169c143efaf9ff29619a7f273a7d0052";
}; };
buildInputs = [ pa_test ]; buildInputs = [ pa-test ];
propagatedBuildInputs = [ core pa_ounit sexplib ]; propagatedBuildInputs = [ core pa-ounit sexplib ];
meta = with stdenv.lib; { meta = with stdenv.lib; {
homepage = https://github.com/janestreet/textutils; homepage = https://github.com/janestreet/textutils;

View file

@ -7,7 +7,7 @@ in
assert stdenv.lib.versionOlder "3.12" ocaml_version; assert stdenv.lib.versionOlder "3.12" ocaml_version;
stdenv.mkDerivation { stdenv.mkDerivation {
name = "ocaml-type_conv-108.08.00"; name = "ocaml-type-conv-108.08.00";
src = fetchurl { src = fetchurl {
url = https://ocaml.janestreet.com/ocaml-core/108.08.00/individual/type_conv-108.08.00.tar.gz; url = https://ocaml.janestreet.com/ocaml-core/108.08.00/individual/type_conv-108.08.00.tar.gz;

View file

@ -7,7 +7,7 @@ in
assert stdenv.lib.versionOlder "4.00" ocaml_version; assert stdenv.lib.versionOlder "4.00" ocaml_version;
stdenv.mkDerivation { stdenv.mkDerivation {
name = "ocaml-type_conv-109.60.01"; name = "ocaml-type-conv-109.60.01";
src = fetchurl { src = fetchurl {
url = https://github.com/janestreet/type_conv/archive/109.60.01.tar.gz; url = https://github.com/janestreet/type_conv/archive/109.60.01.tar.gz;

View file

@ -3,7 +3,7 @@
buildOcaml rec { buildOcaml rec {
minimumSupportedOcamlVersion = "4.02"; minimumSupportedOcamlVersion = "4.02";
name = "type_conv"; name = "type-conv";
version = "112.01.01"; version = "112.01.01";
src = fetchurl { src = fetchurl {

View file

@ -1,4 +1,4 @@
{stdenv, buildOcaml, fetchurl, type_conv}: {stdenv, buildOcaml, fetchurl, type-conv}:
buildOcaml rec { buildOcaml rec {
name = "typerep"; name = "typerep";
@ -11,7 +11,7 @@ buildOcaml rec {
sha256 = "4f1ab611a00aaf774e9774b26b687233e0c70d91f684415a876f094a9969eada"; sha256 = "4f1ab611a00aaf774e9774b26b687233e0c70d91f684415a876f094a9969eada";
}; };
propagatedBuildInputs = [ type_conv ]; propagatedBuildInputs = [ type-conv ];
meta = with stdenv.lib; { meta = with stdenv.lib; {
homepage = https://github.com/janestreet/typerep; homepage = https://github.com/janestreet/typerep;

View file

@ -1,4 +1,4 @@
{stdenv, buildOcaml, fetchurl, type_conv}: {stdenv, buildOcaml, fetchurl, type-conv}:
buildOcaml rec { buildOcaml rec {
name = "variantslib"; name = "variantslib";
@ -11,7 +11,7 @@ buildOcaml rec {
sha256 = "a948dcdd4ca54786fe0646386b6e37a9db03bf276c6557ea374d82740bf18055"; sha256 = "a948dcdd4ca54786fe0646386b6e37a9db03bf276c6557ea374d82740bf18055";
}; };
propagatedBuildInputs = [ type_conv ]; propagatedBuildInputs = [ type-conv ];
meta = with stdenv.lib; { meta = with stdenv.lib; {
homepage = https://github.com/janestreet/variantslib; homepage = https://github.com/janestreet/variantslib;

View file

@ -1,4 +1,4 @@
{stdenv, fetchurl, ocaml, findlib, ocaml_data_notation, type_conv, camlp4, {stdenv, fetchurl, ocaml, findlib, ocaml-data-notation, type-conv, camlp4,
ocamlmod, ocamlify, ounit, expect}: ocamlmod, ocamlify, ounit, expect}:
stdenv.mkDerivation { stdenv.mkDerivation {
@ -13,10 +13,10 @@ stdenv.mkDerivation {
buildInputs = buildInputs =
[ [
ocaml findlib type_conv ocamlmod ocamlify ounit camlp4 ocaml findlib type-conv ocamlmod ocamlify ounit camlp4
]; ];
propagatedBuildInputs = [ ocaml_data_notation ]; propagatedBuildInputs = [ ocaml-data-notation ];
configurePhase = "ocaml setup.ml -configure --prefix $out"; configurePhase = "ocaml setup.ml -configure --prefix $out";
buildPhase = "ocaml setup.ml -build"; buildPhase = "ocaml setup.ml -build";

View file

@ -2,7 +2,7 @@
{ stdenv, fetchurl, ncurses, mesa, freeglut, libzip, { stdenv, fetchurl, ncurses, mesa, freeglut, libzip,
ocaml, findlib, camomile, ocaml, findlib, camomile,
dypgen, ocaml_sqlite3, camlzip, dypgen, ocaml_sqlite3, camlzip,
lablgtk, camlimages, ocaml_cairo, lablgtk, camlimages, ocaml-cairo,
lablgl, ocamlnet, cryptokit, lablgl, ocamlnet, cryptokit,
ocaml_pcre }: ocaml_pcre }:
@ -21,13 +21,13 @@ stdenv.mkDerivation {
createFindlibDestdir = true; createFindlibDestdir = true;
buildInputs = [ ocaml findlib dypgen camomile ocaml_sqlite3 camlzip buildInputs = [ ocaml findlib dypgen camomile ocaml_sqlite3 camlzip
lablgtk camlimages ocaml_cairo lablgtk camlimages ocaml-cairo
lablgl ocamlnet cryptokit lablgl ocamlnet cryptokit
ocaml_pcre ncurses mesa freeglut libzip ]; ocaml_pcre ncurses mesa freeglut libzip ];
propagatedbuildInputs = [ camomile propagatedbuildInputs = [ camomile
dypgen ocaml_sqlite3 camlzip dypgen ocaml_sqlite3 camlzip
lablgtk camlimages ocaml_cairo lablgtk camlimages ocaml-cairo
lablgl ocamlnet cryptokit lablgl ocamlnet cryptokit
ocaml_pcre ncurses mesa freeglut libzip ]; ocaml_pcre ncurses mesa freeglut libzip ];

View file

@ -4310,17 +4310,17 @@ let
asn1-combinators = callPackage ../development/ocaml-modules/asn1-combinators { }; asn1-combinators = callPackage ../development/ocaml-modules/asn1-combinators { };
async_extra = callPackage ../development/ocaml-modules/async_extra { }; async-extra = callPackage ../development/ocaml-modules/async-extra { };
async_find = callPackage ../development/ocaml-modules/async_find { }; async-find = callPackage ../development/ocaml-modules/async-find { };
async_kernel = callPackage ../development/ocaml-modules/async_kernel { }; async-kernel = callPackage ../development/ocaml-modules/async-kernel { };
async_shell = callPackage ../development/ocaml-modules/async_shell { }; async-shell = callPackage ../development/ocaml-modules/async-shell { };
async_ssl = callPackage ../development/ocaml-modules/async_ssl { }; async-ssl = callPackage ../development/ocaml-modules/async-ssl { };
async_unix = callPackage ../development/ocaml-modules/async_unix { }; async-unix = callPackage ../development/ocaml-modules/async-unix { };
async = async =
if lib.versionOlder "4.02" ocaml_version if lib.versionOlder "4.02" ocaml_version
@ -4396,11 +4396,11 @@ let
biniou = callPackage ../development/ocaml-modules/biniou { }; biniou = callPackage ../development/ocaml-modules/biniou { };
bin_prot = callPackage ../development/ocaml-modules/bin_prot { }; bin-prot = callPackage ../development/ocaml-modules/bin-prot { };
ocaml_cairo = callPackage ../development/ocaml-modules/ocaml-cairo { }; ocaml-cairo = callPackage ../development/ocaml-modules/ocaml-cairo { };
ocaml_cairo2 = callPackage ../development/ocaml-modules/ocaml-cairo2 { }; ocaml-cairo2 = callPackage ../development/ocaml-modules/ocaml-cairo2 { };
cil = callPackage ../development/ocaml-modules/cil { }; cil = callPackage ../development/ocaml-modules/cil { };
@ -4424,7 +4424,7 @@ let
csv = callPackage ../development/ocaml-modules/csv { }; csv = callPackage ../development/ocaml-modules/csv { };
custom_printf = callPackage ../development/ocaml-modules/custom_printf { }; custom-printf = callPackage ../development/ocaml-modules/custom-printf { };
ctypes = callPackage ../development/ocaml-modules/ctypes { }; ctypes = callPackage ../development/ocaml-modules/ctypes { };
@ -4440,9 +4440,9 @@ let
enumerate = callPackage ../development/ocaml-modules/enumerate { }; enumerate = callPackage ../development/ocaml-modules/enumerate { };
erm_xml = callPackage ../development/ocaml-modules/erm_xml { }; erm-xml = callPackage ../development/ocaml-modules/erm-xml { };
erm_xmpp = callPackage ../development/ocaml-modules/erm_xmpp { }; erm-xmpp = callPackage ../development/ocaml-modules/erm-xmpp { };
ezjsonm = callPackage ../development/ocaml-modules/ezjsonm { ezjsonm = callPackage ../development/ocaml-modules/ezjsonm {
lwt = ocaml_lwt; lwt = ocaml_lwt;
@ -4535,15 +4535,15 @@ let
comparelib = callPackage ../development/ocaml-modules/comparelib { }; comparelib = callPackage ../development/ocaml-modules/comparelib { };
core_extended = callPackage ../development/ocaml-modules/core_extended { }; core-extended = callPackage ../development/ocaml-modules/core-extended { };
core_kernel = callPackage ../development/ocaml-modules/core_kernel { }; core-kernel = callPackage ../development/ocaml-modules/core-kernel { };
core = callPackage ../development/ocaml-modules/core { }; core = callPackage ../development/ocaml-modules/core { };
ocaml_cryptgps = callPackage ../development/ocaml-modules/cryptgps { }; ocaml-cryptgps = callPackage ../development/ocaml-modules/cryptgps { };
ocaml_data_notation = callPackage ../development/ocaml-modules/odn { }; ocaml-data-notation = callPackage ../development/ocaml-modules/odn { };
ocaml_expat = callPackage ../development/ocaml-modules/expat { }; ocaml_expat = callPackage ../development/ocaml-modules/expat { };
@ -4617,16 +4617,16 @@ let
textutils = callPackage ../development/ocaml-modules/textutils { }; textutils = callPackage ../development/ocaml-modules/textutils { };
type_conv_108_08_00 = callPackage ../development/ocaml-modules/type_conv/108.08.00.nix { }; 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-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-112_01_01 = callPackage ../development/ocaml-modules/type-conv/112.01.01.nix { };
type_conv = type-conv =
if lib.versionOlder "4.02" ocaml_version if lib.versionOlder "4.02" ocaml_version
then type_conv_112_01_01 then type-conv-112_01_01
else if lib.versionOlder "4.00" ocaml_version else if lib.versionOlder "4.00" ocaml_version
then type_conv_109_60_01 then type-conv-109_60_01
else if lib.versionOlder "3.12" ocaml_version else if lib.versionOlder "3.12" ocaml_version
then type_conv_108_08_00 then type-conv-108_08_00
else null; else null;
sexplib_108_08_00 = callPackage ../development/ocaml-modules/sexplib/108.08.00.nix { }; sexplib_108_08_00 = callPackage ../development/ocaml-modules/sexplib/108.08.00.nix { };
@ -4649,11 +4649,11 @@ let
ocurl = callPackage ../development/ocaml-modules/ocurl { }; ocurl = callPackage ../development/ocaml-modules/ocurl { };
pa_ounit = callPackage ../development/ocaml-modules/pa_ounit { }; pa-ounit = callPackage ../development/ocaml-modules/pa-ounit { };
pa_bench = callPackage ../development/ocaml-modules/pa_bench { }; pa-bench = callPackage ../development/ocaml-modules/pa-bench { };
pa_test = callPackage ../development/ocaml-modules/pa_test { }; pa-test = callPackage ../development/ocaml-modules/pa-test { };
pipebang = callPackage ../development/ocaml-modules/pipebang { }; pipebang = callPackage ../development/ocaml-modules/pipebang { };
@ -4714,6 +4714,32 @@ let
oasis = ocaml_oasis; oasis = ocaml_oasis;
}; };
# Attributes for backward compatibility.
async_extra = async-extra; # added 2015-07-21
async_find = async-find; # added 2015-07-21
async_kernel = async-kernel; # added 2015-07-21
async_shell = async-shell; # added 2015-07-21
async_ssl = async-ssl; # added 2015-07-21
async_unix = async-unix; # added 2015-07-21
bin_prot = bin-prot; # added 2015-07-21
core_extended = core-extended; # added 2015-07-21
core_kernel = core-kernel; # added 2015-07-21
custom_printf = custom-printf; # added 2015-07-21
erm_xml = erm-xml; # added 2015-07-21
erm_xmpp = erm-xmpp; # added 2015-07-21
ocaml_cairo = ocaml-cairo; # added 2015-07-21
ocaml_cairo2 = ocaml-cairo2; # added 2015-07-21
ocaml_cryptgps = ocaml-cryptgps; # added 2015-07-21
ocaml_data_notation = ocaml-data-notation; # added 2015-07-21
pa_bench = pa-bench; # added 2015-07-21
pa_ounit = pa-ounit; # added 2015-07-21
pa_test = pa-test; # added 2015-07-21
type_conv_108_08_00 = type-conv-108_08_00; # added 2015-07-21
type_conv_109_60_01 = type-conv-109_60_01; # added 2015-07-21
type_conv_112_01_01 = type-conv-112_01_01; # added 2015-07-21
type_conv = type-conv; # added 2015-07-21
}; };
ocamlPackages = recurseIntoAttrs ocamlPackages_4_01_0; ocamlPackages = recurseIntoAttrs ocamlPackages_4_01_0;
@ -15255,7 +15281,7 @@ let
buildInputs = [ stdenv ncurses mesa freeglut libzip gcc buildInputs = [ stdenv ncurses mesa freeglut libzip gcc
pack.ocaml pack.findlib pack.camomile pack.ocaml pack.findlib pack.camomile
pack.dypgen pack.ocaml_sqlite3 pack.camlzip pack.dypgen pack.ocaml_sqlite3 pack.camlzip
pack.lablgtk pack.camlimages pack.ocaml_cairo pack.lablgtk pack.camlimages pack.ocaml-cairo
pack.lablgl pack.ocamlnet pack.cryptokit pack.lablgl pack.ocamlnet pack.cryptokit
pack.ocaml_pcre pack.patoline pack.ocaml_pcre pack.patoline
]; ];