summary refs log tree commit diff
path: root/pkgs/development
diff options
context:
space:
mode:
authorts468 <ts468@users.noreply.github.com>2015-09-02 10:03:22 +0200
committerts468 <ts468@users.noreply.github.com>2015-09-02 10:03:22 +0200
commiteec011351631e897a7995c1f19d703fd07040e32 (patch)
treea541fe84c9227bfa42f4148e957918447d563a63 /pkgs/development
parent0f4b9218d2900a346d6f8c2c8077bc1b8c7f84e2 (diff)
parent616aa2bddaa73b168205104cf63ae0fc27613201 (diff)
downloadnixpkgs-eec011351631e897a7995c1f19d703fd07040e32.tar
nixpkgs-eec011351631e897a7995c1f19d703fd07040e32.tar.gz
nixpkgs-eec011351631e897a7995c1f19d703fd07040e32.tar.bz2
nixpkgs-eec011351631e897a7995c1f19d703fd07040e32.tar.lz
nixpkgs-eec011351631e897a7995c1f19d703fd07040e32.tar.xz
nixpkgs-eec011351631e897a7995c1f19d703fd07040e32.tar.zst
nixpkgs-eec011351631e897a7995c1f19d703fd07040e32.zip
Merge pull request #8705 from ts468/upstream.ocaml_renaming
ocaml-modules: fix naming: "_" -> "-"
Diffstat (limited to 'pkgs/development')
-rw-r--r--pkgs/development/ocaml-modules/async-extra/default.nix (renamed from pkgs/development/ocaml-modules/async_extra/default.nix)12
-rw-r--r--pkgs/development/ocaml-modules/async-find/default.nix (renamed from pkgs/development/ocaml-modules/async_find/default.nix)2
-rw-r--r--pkgs/development/ocaml-modules/async-kernel/default.nix (renamed from pkgs/development/ocaml-modules/async_kernel/default.nix)10
-rw-r--r--pkgs/development/ocaml-modules/async-shell/default.nix (renamed from pkgs/development/ocaml-modules/async_shell/default.nix)6
-rw-r--r--pkgs/development/ocaml-modules/async-ssl/default.nix (renamed from pkgs/development/ocaml-modules/async_ssl/default.nix)6
-rw-r--r--pkgs/development/ocaml-modules/async-unix/default.nix (renamed from pkgs/development/ocaml-modules/async_unix/default.nix)14
-rw-r--r--pkgs/development/ocaml-modules/async/default.nix6
-rw-r--r--pkgs/development/ocaml-modules/bin-prot/default.nix (renamed from pkgs/development/ocaml-modules/bin_prot/default.nix)6
-rw-r--r--pkgs/development/ocaml-modules/cohttp/default.nix4
-rw-r--r--pkgs/development/ocaml-modules/comparelib/default.nix4
-rw-r--r--pkgs/development/ocaml-modules/conduit/default.nix4
-rw-r--r--pkgs/development/ocaml-modules/core-extended/default.nix (renamed from pkgs/development/ocaml-modules/core_extended/default.nix)10
-rw-r--r--pkgs/development/ocaml-modules/core-kernel/default.nix (renamed from pkgs/development/ocaml-modules/core_kernel/default.nix)12
-rw-r--r--pkgs/development/ocaml-modules/core/default.nix12
-rw-r--r--pkgs/development/ocaml-modules/custom-printf/default.nix (renamed from pkgs/development/ocaml-modules/custom_printf/default.nix)8
-rw-r--r--pkgs/development/ocaml-modules/enumerate/default.nix4
-rw-r--r--pkgs/development/ocaml-modules/erm-xml/default.nix (renamed from pkgs/development/ocaml-modules/erm_xml/default.nix)2
-rw-r--r--pkgs/development/ocaml-modules/erm-xmpp/default.nix (renamed from pkgs/development/ocaml-modules/erm_xmpp/default.nix)6
-rw-r--r--pkgs/development/ocaml-modules/fieldslib/default.nix4
-rw-r--r--pkgs/development/ocaml-modules/odn/default.nix4
-rw-r--r--pkgs/development/ocaml-modules/pa-bench/default.nix (renamed from pkgs/development/ocaml-modules/pa_bench/default.nix)8
-rw-r--r--pkgs/development/ocaml-modules/pa-ounit/default.nix (renamed from pkgs/development/ocaml-modules/pa_ounit/default.nix)2
-rw-r--r--pkgs/development/ocaml-modules/pa-test/default.nix (renamed from pkgs/development/ocaml-modules/pa_test/default.nix)8
-rw-r--r--pkgs/development/ocaml-modules/re2/default.nix8
-rw-r--r--pkgs/development/ocaml-modules/sexplib/108.08.00.nix4
-rw-r--r--pkgs/development/ocaml-modules/sexplib/111.25.00.nix4
-rw-r--r--pkgs/development/ocaml-modules/sexplib/112.24.01.nix4
-rw-r--r--pkgs/development/ocaml-modules/textutils/default.nix6
-rw-r--r--pkgs/development/ocaml-modules/type-conv/108.08.00.nix (renamed from pkgs/development/ocaml-modules/type_conv/108.08.00.nix)2
-rw-r--r--pkgs/development/ocaml-modules/type-conv/109.60.01.nix (renamed from pkgs/development/ocaml-modules/type_conv/109.60.01.nix)2
-rw-r--r--pkgs/development/ocaml-modules/type-conv/112.01.01.nix (renamed from pkgs/development/ocaml-modules/type_conv/112.01.01.nix)2
-rw-r--r--pkgs/development/ocaml-modules/typerep/default.nix4
-rw-r--r--pkgs/development/ocaml-modules/variantslib/default.nix4
-rw-r--r--pkgs/development/tools/ocaml/oasis/default.nix6
34 files changed, 100 insertions, 100 deletions
diff --git a/pkgs/development/ocaml-modules/async_extra/default.nix b/pkgs/development/ocaml-modules/async-extra/default.nix
index 2d1e1dea69c..567562dcf28 100644
--- a/pkgs/development/ocaml-modules/async_extra/default.nix
+++ b/pkgs/development/ocaml-modules/async-extra/default.nix
@@ -1,9 +1,9 @@
-{stdenv, buildOcaml, fetchurl, async_kernel, async_unix,
- bin_prot, core, custom_printf, fieldslib, herelib, pa_ounit,
- pipebang, pa_test, sexplib}:
+{stdenv, buildOcaml, fetchurl, async-kernel, async-unix,
+ bin-prot, core, custom-printf, fieldslib, herelib, pa-ounit,
+ pipebang, pa-test, sexplib}:
 
 buildOcaml rec {
-  name = "async_extra";
+  name = "async-extra";
   version = "112.24.00";
 
   minimumSupportedOcamlVersion = "4.02";
@@ -13,8 +13,8 @@ buildOcaml rec {
     sha256 = "51f6f67a9ad56fe5dcf09faeeca6ec2fea53a7a975a72bc80504b90841212e28";
   };
 
-  buildInputs = [ pa_test pa_ounit ];
-  propagatedBuildInputs = [ async_kernel async_unix core bin_prot custom_printf
+  buildInputs = [ pa-test pa-ounit ];
+  propagatedBuildInputs = [ async-kernel async-unix core bin-prot custom-printf
                             fieldslib herelib pipebang sexplib ];
 
   meta = with stdenv.lib; {
diff --git a/pkgs/development/ocaml-modules/async_find/default.nix b/pkgs/development/ocaml-modules/async-find/default.nix
index ae10e931ce2..4c12c994f8d 100644
--- a/pkgs/development/ocaml-modules/async_find/default.nix
+++ b/pkgs/development/ocaml-modules/async-find/default.nix
@@ -1,7 +1,7 @@
 {stdenv, buildOcaml, fetchurl, async, core, sexplib}:
 
 buildOcaml rec {
-  name = "async_find";
+  name = "async-find";
   version = "111.28.00";
 
   minimumSupportedOcamlVersion = "4.02";
diff --git a/pkgs/development/ocaml-modules/async_kernel/default.nix b/pkgs/development/ocaml-modules/async-kernel/default.nix
index 8c0d8d7c851..7e5db2e2c3e 100644
--- a/pkgs/development/ocaml-modules/async_kernel/default.nix
+++ b/pkgs/development/ocaml-modules/async-kernel/default.nix
@@ -1,9 +1,9 @@
-{stdenv, buildOcaml, fetchurl, core_kernel,
- bin_prot, fieldslib, pa_ounit, pa_test,
+{stdenv, buildOcaml, fetchurl, core-kernel,
+ bin-prot, fieldslib, pa-ounit, pa-test,
  sexplib, herelib}:
 
 buildOcaml rec {
-  name = "async_kernel";
+  name = "async-kernel";
   version = "112.24.00";
 
   minimumSupportedOcamlVersion = "4.02";
@@ -13,8 +13,8 @@ buildOcaml rec {
     sha256 = "95caf4249b55c5a6b38da56e314845e9ea9a0876eedd4cf0ddcb6c8dd660c6a0";
   };
 
-  buildInputs = [ pa_test pa_ounit ];
-  propagatedBuildInputs = [ core_kernel bin_prot fieldslib herelib sexplib ];
+  buildInputs = [ pa-test pa-ounit ];
+  propagatedBuildInputs = [ core-kernel bin-prot fieldslib herelib sexplib ];
 
   meta = with stdenv.lib; {
     homepage = https://github.com/janestreet/async_kernel;
diff --git a/pkgs/development/ocaml-modules/async_shell/default.nix b/pkgs/development/ocaml-modules/async-shell/default.nix
index 75755833a5f..6f863382bd2 100644
--- a/pkgs/development/ocaml-modules/async_shell/default.nix
+++ b/pkgs/development/ocaml-modules/async-shell/default.nix
@@ -1,7 +1,7 @@
-{stdenv, buildOcaml, fetchurl, async, core, core_extended}:
+{stdenv, buildOcaml, fetchurl, async, core, core-extended}:
 
 buildOcaml rec {
-  name = "async_shell";
+  name = "async-shell";
   version = "109.28.03";
 
   minimumSupportedOcamlVersion = "4.02";
@@ -11,7 +11,7 @@ buildOcaml rec {
     sha256 = "0b4497bea9124c5a665ee58fb0a73c5cbf2f757479df902e6870627196e6c105";
   };
 
-  propagatedBuildInputs = [ async core core_extended ];
+  propagatedBuildInputs = [ async core core-extended ];
 
   meta = with stdenv.lib; {
     homepage = https://github.com/janestreet/async_shell;
diff --git a/pkgs/development/ocaml-modules/async_ssl/default.nix b/pkgs/development/ocaml-modules/async-ssl/default.nix
index 527d56ceaa0..49fd3033320 100644
--- a/pkgs/development/ocaml-modules/async_ssl/default.nix
+++ b/pkgs/development/ocaml-modules/async-ssl/default.nix
@@ -1,5 +1,5 @@
 {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 {
   name = "async_ssl";
@@ -12,8 +12,8 @@ buildOcaml rec {
     sha256 = "1b0bea92142eef11da6bf649bbe229bd4b8d9cc807303d8142406908c0d28c68";
   };
 
-  buildInputs = [ pa_bench pa_test ];
-  propagatedBuildInputs = [ ctypes async comparelib core fieldslib pa_ounit
+  buildInputs = [ pa-bench pa-test ];
+  propagatedBuildInputs = [ ctypes async comparelib core fieldslib pa-ounit
                             herelib pipebang sexplib openssl ];
 
   meta = with stdenv.lib; {
diff --git a/pkgs/development/ocaml-modules/async_unix/default.nix b/pkgs/development/ocaml-modules/async-unix/default.nix
index 81fbd6a9918..b8fe7bee255 100644
--- a/pkgs/development/ocaml-modules/async_unix/default.nix
+++ b/pkgs/development/ocaml-modules/async-unix/default.nix
@@ -1,9 +1,9 @@
-{stdenv, buildOcaml, fetchurl, async_kernel,
- bin_prot, comparelib, core, fieldslib, herelib, pa_ounit,
- pipebang, pa_test, sexplib}:
+{stdenv, buildOcaml, fetchurl, async-kernel,
+ bin-prot, comparelib, core, fieldslib, herelib, pa-ounit,
+ pipebang, pa-test, sexplib}:
 
 buildOcaml rec {
-  name = "async_unix";
+  name = "async-unix";
   version = "112.24.00";
 
   minimumSupportedOcamlVersion = "4.02";
@@ -14,9 +14,9 @@ buildOcaml rec {
   };
 
   hasSharedObjects = true;
-  buildInputs = [ pa_ounit ];
-  propagatedBuildInputs = [ async_kernel core bin_prot comparelib
-                            fieldslib herelib pipebang pa_test sexplib ];
+  buildInputs = [ pa-ounit ];
+  propagatedBuildInputs = [ async-kernel core bin-prot comparelib
+                            fieldslib herelib pipebang pa-test sexplib ];
 
    meta = with stdenv.lib; {
     homepage = https://github.com/janestreet/async_unix;
diff --git a/pkgs/development/ocaml-modules/async/default.nix b/pkgs/development/ocaml-modules/async/default.nix
index 2b84519036c..a813c3f4522 100644
--- a/pkgs/development/ocaml-modules/async/default.nix
+++ b/pkgs/development/ocaml-modules/async/default.nix
@@ -1,5 +1,5 @@
-{stdenv, buildOcaml, fetchurl, async_kernel,
- async_unix, async_extra, pa_ounit}:
+{stdenv, buildOcaml, fetchurl, async-kernel,
+ async-unix, async-extra, pa-ounit}:
 
 buildOcaml rec {
   name = "async";
@@ -12,7 +12,7 @@ buildOcaml rec {
     sha256 = "ecc4ca939ab098e689332921b110dbaacd06d9f8d8bf697023dfff3ca37dc1e9";
   };
 
-  propagatedBuildInputs = [ async_kernel async_unix async_extra pa_ounit ];
+  propagatedBuildInputs = [ async-kernel async-unix async-extra pa-ounit ];
 
   meta = with stdenv.lib; {
     homepage = https://github.com/janestreet/async;
diff --git a/pkgs/development/ocaml-modules/bin_prot/default.nix b/pkgs/development/ocaml-modules/bin-prot/default.nix
index 4a2b9846271..4f8c3181e23 100644
--- a/pkgs/development/ocaml-modules/bin_prot/default.nix
+++ b/pkgs/development/ocaml-modules/bin-prot/default.nix
@@ -1,7 +1,7 @@
-{stdenv, writeText, buildOcaml, fetchurl, type_conv}:
+{stdenv, writeText, buildOcaml, fetchurl, type-conv}:
 
 buildOcaml rec {
-  name = "bin_prot";
+  name = "bin-prot";
   version = "112.24.00";
 
   minimumSupportedOcamlVersion = "4.00";
@@ -11,7 +11,7 @@ buildOcaml rec {
     sha256 = "dc0c978a825c7c123990af3317637c218f61079e6f35dc878260651084f1adb4";
   };
 
-  propagatedBuildInputs = [ type_conv ];
+  propagatedBuildInputs = [ type-conv ];
 
   hasSharedObjects = true;
 
diff --git a/pkgs/development/ocaml-modules/cohttp/default.nix b/pkgs/development/ocaml-modules/cohttp/default.nix
index e219b59de5d..92690d96ffb 100644
--- a/pkgs/development/ocaml-modules/cohttp/default.nix
+++ b/pkgs/development/ocaml-modules/cohttp/default.nix
@@ -1,6 +1,6 @@
 {stdenv, buildOcaml, fetchurl, cmdliner, re, uri, fieldslib, sexplib, conduit,
  stringext, base64, magic-mime, ounit, alcotest, lwt ? null,
- async ? null, async_ssl ? null}:
+ async ? null, async-ssl ? null}:
 
 buildOcaml rec {
   name = "cohttp";
@@ -16,7 +16,7 @@ buildOcaml rec {
   buildInputs = [ alcotest ];
   propagatedBuildInputs = [ cmdliner re uri fieldslib sexplib sexplib
                             conduit stringext base64 magic-mime ounit async
-                            async_ssl lwt ];
+                            async-ssl lwt ];
 
   buildFlags = "PREFIX=$(out)";
 
diff --git a/pkgs/development/ocaml-modules/comparelib/default.nix b/pkgs/development/ocaml-modules/comparelib/default.nix
index 95001215814..a4e12561194 100644
--- a/pkgs/development/ocaml-modules/comparelib/default.nix
+++ b/pkgs/development/ocaml-modules/comparelib/default.nix
@@ -1,4 +1,4 @@
-{stdenv, buildOcaml, fetchurl, type_conv}:
+{stdenv, buildOcaml, fetchurl, type-conv}:
 
 buildOcaml rec {
   name = "comparelib";
@@ -11,7 +11,7 @@ buildOcaml rec {
     sha256 = "1075fb05e0d1e290f71ad0f6163f32b2cb4cebdc77568491c7eb38ba91f5db7e";
   };
 
-  propagatedBuildInputs = [ type_conv ];
+  propagatedBuildInputs = [ type-conv ];
 
   meta = with stdenv.lib; {
     homepage = https://github.com/janestreet/comparelib;
diff --git a/pkgs/development/ocaml-modules/conduit/default.nix b/pkgs/development/ocaml-modules/conduit/default.nix
index dbb83f4c8cf..2ea316462c2 100644
--- a/pkgs/development/ocaml-modules/conduit/default.nix
+++ b/pkgs/development/ocaml-modules/conduit/default.nix
@@ -1,5 +1,5 @@
 {stdenv, buildOcaml, fetchurl, sexplib, stringext, uri, cstruct, ipaddr,
- async ? null, async_ssl ? null, lwt ? null}:
+ async ? null, async-ssl ? null, lwt ? null}:
 
 buildOcaml rec {
   name = "conduit";
@@ -13,7 +13,7 @@ buildOcaml rec {
   propagatedBuildInputs = ([ sexplib stringext uri cstruct ipaddr ]
                             ++ stdenv.lib.optional (lwt != null) lwt
                             ++ 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; {
     homepage = https://github.com/mirage/ocaml-conduit;
diff --git a/pkgs/development/ocaml-modules/core_extended/default.nix b/pkgs/development/ocaml-modules/core-extended/default.nix
index f311aae3d30..aa6741e6520 100644
--- a/pkgs/development/ocaml-modules/core_extended/default.nix
+++ b/pkgs/development/ocaml-modules/core-extended/default.nix
@@ -1,8 +1,8 @@
-{stdenv, buildOcaml, fetchurl, bin_prot, comparelib, core, custom_printf,
- fieldslib, pa_bench, pa_ounit, pipebang, pa_test, textutils, re2, sexplib}:
+{stdenv, buildOcaml, fetchurl, bin-prot, comparelib, core, custom-printf,
+ fieldslib, pa-bench, pa-ounit, pipebang, pa-test, textutils, re2, sexplib}:
 
 buildOcaml rec {
-  name = "core_extended";
+  name = "core-extended";
   version = "112.24.00";
 
   minimumSupportedOcamlVersion = "4.02";
@@ -13,8 +13,8 @@ buildOcaml rec {
   };
 
   hasSharedObjects = true;
-  buildInputs = [ pa_bench pa_test pa_ounit ];
-  propagatedBuildInputs = [bin_prot comparelib core custom_printf fieldslib
+  buildInputs = [ pa-bench pa-test pa-ounit ];
+  propagatedBuildInputs = [bin-prot comparelib core custom-printf fieldslib
                            pipebang textutils re2 sexplib ];
 
   meta = with stdenv.lib; {
diff --git a/pkgs/development/ocaml-modules/core_kernel/default.nix b/pkgs/development/ocaml-modules/core-kernel/default.nix
index 0fed12b195d..ee1a8b7a5bb 100644
--- a/pkgs/development/ocaml-modules/core_kernel/default.nix
+++ b/pkgs/development/ocaml-modules/core-kernel/default.nix
@@ -1,10 +1,10 @@
-{stdenv, buildOcaml, fetchurl, type_conv,
- bin_prot, comparelib, custom_printf, enumerate,
- fieldslib, herelib, pa_bench, pa_test, pa_ounit,
+{stdenv, buildOcaml, fetchurl, type-conv,
+ bin-prot, comparelib, custom-printf, enumerate,
+ fieldslib, herelib, pa-bench, pa-test, pa-ounit,
  pipebang, sexplib, typerep, variantslib}:
 
 buildOcaml rec {
-  name = "core_kernel";
+  name = "core-kernel";
   version = "112.24.00";
 
   minimumSupportedOcamlVersion = "4.02";
@@ -16,8 +16,8 @@ buildOcaml rec {
 
   hasSharedObjects = true;
 
-  buildInputs = [ pa_test pa_ounit ];
-  propagatedBuildInputs = [ type_conv pa_bench bin_prot comparelib custom_printf
+  buildInputs = [ pa-test pa-ounit ];
+  propagatedBuildInputs = [ type-conv pa-bench bin-prot comparelib custom-printf
                             enumerate fieldslib herelib pipebang sexplib
                             typerep variantslib ];
 
diff --git a/pkgs/development/ocaml-modules/core/default.nix b/pkgs/development/ocaml-modules/core/default.nix
index 96fd80087d6..9cc03883932 100644
--- a/pkgs/development/ocaml-modules/core/default.nix
+++ b/pkgs/development/ocaml-modules/core/default.nix
@@ -1,6 +1,6 @@
-{stdenv, buildOcaml, fetchurl, type_conv,
- core_kernel, bin_prot, comparelib, custom_printf, enumerate,
- fieldslib, herelib, pa_bench, pa_test, pa_ounit,
+{stdenv, buildOcaml, fetchurl, type-conv,
+ core-kernel, bin-prot, comparelib, custom-printf, enumerate,
+ fieldslib, herelib, pa-bench, pa-test, pa-ounit,
  pipebang, sexplib, typerep, variantslib}:
 
 buildOcaml rec {
@@ -16,9 +16,9 @@ buildOcaml rec {
 
   hasSharedObjects = true;
 
-  buildInputs = [ pa_bench pa_test pa_ounit ];
-  propagatedBuildInputs = [ type_conv core_kernel bin_prot comparelib
-                            custom_printf enumerate fieldslib herelib
+  buildInputs = [ pa-bench pa-test pa-ounit ];
+  propagatedBuildInputs = [ type-conv core-kernel bin-prot comparelib
+                            custom-printf enumerate fieldslib herelib
                             pipebang sexplib typerep variantslib ];
 
   meta = with stdenv.lib; {
diff --git a/pkgs/development/ocaml-modules/custom_printf/default.nix b/pkgs/development/ocaml-modules/custom-printf/default.nix
index 05a8ecfe616..f435e53314a 100644
--- a/pkgs/development/ocaml-modules/custom_printf/default.nix
+++ b/pkgs/development/ocaml-modules/custom-printf/default.nix
@@ -1,7 +1,7 @@
-{stdenv, buildOcaml, fetchurl, type_conv, sexplib, pa_ounit}:
+{stdenv, buildOcaml, fetchurl, type-conv, sexplib, pa-ounit}:
 
 buildOcaml rec {
-  name = "custom_printf";
+  name = "custom-printf";
   version = "112.24.00";
 
   minimumSupportedOcamlVersion = "4.02";
@@ -11,8 +11,8 @@ buildOcaml rec {
     sha256 = "dad3aface92c53e8fbcc12cc9358c4767cb1cb09857d4819a10ed98eccaca8f9";
   };
 
-  buildInputs = [ pa_ounit ];
-  propagatedBuildInputs = [ type_conv sexplib ];
+  buildInputs = [ pa-ounit ];
+  propagatedBuildInputs = [ type-conv sexplib ];
 
   meta = with stdenv.lib; {
     homepage = https://github.com/janestreet/custom_printf;
diff --git a/pkgs/development/ocaml-modules/enumerate/default.nix b/pkgs/development/ocaml-modules/enumerate/default.nix
index ce20cdd47bb..f0f80eb2ecd 100644
--- a/pkgs/development/ocaml-modules/enumerate/default.nix
+++ b/pkgs/development/ocaml-modules/enumerate/default.nix
@@ -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";
 
@@ -11,7 +11,7 @@ stdenv.mkDerivation {
   };
 
   buildInputs = [ ocaml findlib ];
-  propagatedBuildInputs = [ type_conv camlp4 ];
+  propagatedBuildInputs = [ type-conv camlp4 ];
 
   createFindlibDestdir = true;
 
diff --git a/pkgs/development/ocaml-modules/erm_xml/default.nix b/pkgs/development/ocaml-modules/erm-xml/default.nix
index 0ff2a725ea2..c60ef70ef69 100644
--- a/pkgs/development/ocaml-modules/erm_xml/default.nix
+++ b/pkgs/development/ocaml-modules/erm-xml/default.nix
@@ -3,7 +3,7 @@
 let version = "0.3"; in
 
 stdenv.mkDerivation {
-  name = "ocaml-erm_xml-${version}";
+  name = "ocaml-erm-xml-${version}";
 
   src = fetchzip {
     url = "https://github.com/ermine/xml/archive/v${version}.tar.gz";
diff --git a/pkgs/development/ocaml-modules/erm_xmpp/default.nix b/pkgs/development/ocaml-modules/erm-xmpp/default.nix
index 7508a14738d..35b09051046 100644
--- a/pkgs/development/ocaml-modules/erm_xmpp/default.nix
+++ b/pkgs/development/ocaml-modules/erm-xmpp/default.nix
@@ -1,4 +1,4 @@
-{ stdenv, fetchurl, fetchzip, ocaml, findlib, erm_xml, cryptokit, camlp4 }:
+{ stdenv, fetchurl, fetchzip, ocaml, findlib, erm-xml, cryptokit, camlp4 }:
 
 let
   version = "0.2";
@@ -9,7 +9,7 @@ let
 in
 
 stdenv.mkDerivation {
-  name = "ocaml-erm_xmpp-${version}";
+  name = "ocaml-erm-xmpp-${version}";
 
   src = fetchzip {
     url = "https://github.com/ermine/xmpp/archive/v${version}.tar.gz";
@@ -19,7 +19,7 @@ stdenv.mkDerivation {
   patches = [ disable-tests ];
 
   buildInputs = [ ocaml findlib camlp4 ];
-  propagatedBuildInputs = [ erm_xml cryptokit ];
+  propagatedBuildInputs = [ erm-xml cryptokit ];
 
   createFindlibDestdir = true;
 
diff --git a/pkgs/development/ocaml-modules/fieldslib/default.nix b/pkgs/development/ocaml-modules/fieldslib/default.nix
index 38548790329..cb73f56fbd8 100644
--- a/pkgs/development/ocaml-modules/fieldslib/default.nix
+++ b/pkgs/development/ocaml-modules/fieldslib/default.nix
@@ -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);
 
@@ -11,7 +11,7 @@ stdenv.mkDerivation {
   };
 
   buildInputs = [ ocaml findlib ];
-  propagatedBuildInputs = [ type_conv camlp4 ];
+  propagatedBuildInputs = [ type-conv camlp4 ];
 
   createFindlibDestdir = true;
 
diff --git a/pkgs/development/ocaml-modules/odn/default.nix b/pkgs/development/ocaml-modules/odn/default.nix
index eaeb7e7b22f..c7d4aa52c47 100644
--- a/pkgs/development/ocaml-modules/odn/default.nix
+++ b/pkgs/development/ocaml-modules/odn/default.nix
@@ -1,4 +1,4 @@
-{stdenv, fetchurl, ocaml, findlib, type_conv, ounit, camlp4}:
+{stdenv, fetchurl, ocaml, findlib, type-conv, ounit, camlp4}:
 
 stdenv.mkDerivation {
   name = "ocaml-data-notation-0.0.11";
@@ -8,7 +8,7 @@ stdenv.mkDerivation {
     sha256 = "09a8zdyifpc2nl4hdvg9206142y31cq95ajgij011s1qcg3z93lj";
   };
 
-  buildInputs = [ocaml findlib type_conv ounit camlp4];
+  buildInputs = [ocaml findlib type-conv ounit camlp4];
 
   createFindlibDestdir = true;
 
diff --git a/pkgs/development/ocaml-modules/pa_bench/default.nix b/pkgs/development/ocaml-modules/pa-bench/default.nix
index d8ce0dbc7ea..926a61fff66 100644
--- a/pkgs/development/ocaml-modules/pa_bench/default.nix
+++ b/pkgs/development/ocaml-modules/pa-bench/default.nix
@@ -1,7 +1,7 @@
-{stdenv, buildOcaml, fetchurl, type_conv, pa_ounit}:
+{stdenv, buildOcaml, fetchurl, type-conv, pa-ounit}:
 
 buildOcaml rec {
-  name = "pa_bench";
+  name = "pa-bench";
   version = "112.06.00";
 
   minimumSupportedOcamlVersion = "4.00";
@@ -11,8 +11,8 @@ buildOcaml rec {
     sha256 = "e3401e37f1d3d4acb957fd46a192d0ffcefeb0bedee63bbeb26969af1d540870";
   };
 
-  buildInputs = [ pa_ounit ];
-  propagatedBuildInputs = [ type_conv ];
+  buildInputs = [ pa-ounit ];
+  propagatedBuildInputs = [ type-conv ];
 
   meta = with stdenv.lib; {
     homepage = https://github.com/janestreet/pa_bench;
diff --git a/pkgs/development/ocaml-modules/pa_ounit/default.nix b/pkgs/development/ocaml-modules/pa-ounit/default.nix
index 5970aba1e50..05a38c814a0 100644
--- a/pkgs/development/ocaml-modules/pa_ounit/default.nix
+++ b/pkgs/development/ocaml-modules/pa-ounit/default.nix
@@ -1,7 +1,7 @@
 {stdenv, buildOcaml, fetchurl, ounit}:
 
 buildOcaml rec {
-  name = "pa_ounit";
+  name = "pa-ounit";
   version = "112.24.00";
 
   src = fetchurl {
diff --git a/pkgs/development/ocaml-modules/pa_test/default.nix b/pkgs/development/ocaml-modules/pa-test/default.nix
index faf17e20dc1..81b5854348b 100644
--- a/pkgs/development/ocaml-modules/pa_test/default.nix
+++ b/pkgs/development/ocaml-modules/pa-test/default.nix
@@ -1,7 +1,7 @@
-{stdenv, buildOcaml, fetchurl, type_conv, pa_ounit, sexplib, herelib}:
+{stdenv, buildOcaml, fetchurl, type-conv, pa-ounit, sexplib, herelib}:
 
 buildOcaml rec {
-  name = "pa_test";
+  name = "pa-test";
   version = "112.24.00";
 
   minimumSupportedOcamlVersion = "4.00";
@@ -11,8 +11,8 @@ buildOcaml rec {
     sha256 = "b03d13c2bc9fa9a4b1c507d7108d965202160f83e9781d430d3b53a1993e30d6";
   };
 
-  buildInputs = [ pa_ounit ];
-  propagatedBuildInputs = [ type_conv sexplib herelib ];
+  buildInputs = [ pa-ounit ];
+  propagatedBuildInputs = [ type-conv sexplib herelib ];
 
   meta = with stdenv.lib; {
     homepage = https://github.com/janestreet/pa_test;
diff --git a/pkgs/development/ocaml-modules/re2/default.nix b/pkgs/development/ocaml-modules/re2/default.nix
index e89e28fe1e5..31922d2aab8 100644
--- a/pkgs/development/ocaml-modules/re2/default.nix
+++ b/pkgs/development/ocaml-modules/re2/default.nix
@@ -1,5 +1,5 @@
-{stdenv, buildOcaml, fetchurl, ocaml, core, pa_ounit, pa_test,
- bin_prot, comparelib, sexplib, rsync}:
+{stdenv, buildOcaml, fetchurl, ocaml, core, pa-ounit, pa-test,
+ bin-prot, comparelib, sexplib, rsync}:
 
 buildOcaml rec {
   name = "re2";
@@ -15,8 +15,8 @@ buildOcaml rec {
             then [./Makefile.patch ./myocamlbuild.patch]
             else null;
 
-  buildInputs = [ pa_ounit pa_test rsync ];
-  propagatedBuildInputs = [ core bin_prot comparelib sexplib ];
+  buildInputs = [ pa-ounit pa-test rsync ];
+  propagatedBuildInputs = [ core bin-prot comparelib sexplib ];
 
   hasSharedObjects = true;
 
diff --git a/pkgs/development/ocaml-modules/sexplib/108.08.00.nix b/pkgs/development/ocaml-modules/sexplib/108.08.00.nix
index dd9e89bcef7..0067d68e129 100644
--- a/pkgs/development/ocaml-modules/sexplib/108.08.00.nix
+++ b/pkgs/development/ocaml-modules/sexplib/108.08.00.nix
@@ -1,4 +1,4 @@
-{stdenv, fetchurl, ocaml, findlib, type_conv, camlp4}:
+{stdenv, fetchurl, ocaml, findlib, type-conv, camlp4}:
 
 let
   ocaml_version = (builtins.parseDrvName ocaml.name).version;
@@ -15,7 +15,7 @@ stdenv.mkDerivation {
   };
 
   buildInputs = [ocaml findlib];
-  propagatedBuildInputs = [type_conv camlp4];
+  propagatedBuildInputs = [type-conv camlp4];
 
   createFindlibDestdir = true;
 
diff --git a/pkgs/development/ocaml-modules/sexplib/111.25.00.nix b/pkgs/development/ocaml-modules/sexplib/111.25.00.nix
index 61d46e205fa..0a817728393 100644
--- a/pkgs/development/ocaml-modules/sexplib/111.25.00.nix
+++ b/pkgs/development/ocaml-modules/sexplib/111.25.00.nix
@@ -1,4 +1,4 @@
-{stdenv, fetchurl, ocaml, findlib, type_conv, camlp4}:
+{stdenv, fetchurl, ocaml, findlib, type-conv, camlp4}:
 
 let
   ocaml_version = (builtins.parseDrvName ocaml.name).version;
@@ -15,7 +15,7 @@ stdenv.mkDerivation {
   };
 
   buildInputs = [ocaml findlib];
-  propagatedBuildInputs = [type_conv camlp4];
+  propagatedBuildInputs = [type-conv camlp4];
 
   createFindlibDestdir = true;
 
diff --git a/pkgs/development/ocaml-modules/sexplib/112.24.01.nix b/pkgs/development/ocaml-modules/sexplib/112.24.01.nix
index b63b5af05e8..31ef738b3a2 100644
--- a/pkgs/development/ocaml-modules/sexplib/112.24.01.nix
+++ b/pkgs/development/ocaml-modules/sexplib/112.24.01.nix
@@ -1,4 +1,4 @@
-{stdenv, buildOcaml, fetchurl, type_conv, camlp4}:
+{stdenv, buildOcaml, fetchurl, type-conv, camlp4}:
 
 buildOcaml rec {
   minimumSupportedOcamlVersion = "4.02";
@@ -10,7 +10,7 @@ buildOcaml rec {
     sha256 = "5f776aee295cc51c952aecd4b74b52dd2b850c665cc25b3d69bc42014d3ba073";
   };
 
-  propagatedBuildInputs = [ type_conv camlp4 ];
+  propagatedBuildInputs = [ type-conv camlp4 ];
 
   meta = with stdenv.lib; {
     homepage = https://ocaml.janestreet.com/;
diff --git a/pkgs/development/ocaml-modules/textutils/default.nix b/pkgs/development/ocaml-modules/textutils/default.nix
index 377b94eff8b..07a79519745 100644
--- a/pkgs/development/ocaml-modules/textutils/default.nix
+++ b/pkgs/development/ocaml-modules/textutils/default.nix
@@ -1,4 +1,4 @@
-{stdenv, buildOcaml, fetchurl, core, pa_ounit, pa_test, sexplib}:
+{stdenv, buildOcaml, fetchurl, core, pa-ounit, pa-test, sexplib}:
 
 buildOcaml rec {
   name = "textutils";
@@ -11,8 +11,8 @@ buildOcaml rec {
     sha256 = "605d9fde66dc2d777721c936aa521e17169c143efaf9ff29619a7f273a7d0052";
   };
 
-  buildInputs = [ pa_test ];
-  propagatedBuildInputs = [ core pa_ounit sexplib ];
+  buildInputs = [ pa-test ];
+  propagatedBuildInputs = [ core pa-ounit sexplib ];
 
   meta = with stdenv.lib; {
     homepage = https://github.com/janestreet/textutils;
diff --git a/pkgs/development/ocaml-modules/type_conv/108.08.00.nix b/pkgs/development/ocaml-modules/type-conv/108.08.00.nix
index d3e32105f7d..281ef90d42d 100644
--- a/pkgs/development/ocaml-modules/type_conv/108.08.00.nix
+++ b/pkgs/development/ocaml-modules/type-conv/108.08.00.nix
@@ -7,7 +7,7 @@ in
 assert stdenv.lib.versionOlder "3.12" ocaml_version;
 
 stdenv.mkDerivation {
-  name = "ocaml-type_conv-108.08.00";
+  name = "ocaml-type-conv-108.08.00";
 
   src = fetchurl {
     url = https://ocaml.janestreet.com/ocaml-core/108.08.00/individual/type_conv-108.08.00.tar.gz;
diff --git a/pkgs/development/ocaml-modules/type_conv/109.60.01.nix b/pkgs/development/ocaml-modules/type-conv/109.60.01.nix
index fe42dd5ddcb..91f6b32cb0a 100644
--- a/pkgs/development/ocaml-modules/type_conv/109.60.01.nix
+++ b/pkgs/development/ocaml-modules/type-conv/109.60.01.nix
@@ -7,7 +7,7 @@ in
 assert stdenv.lib.versionOlder "4.00" ocaml_version;
 
 stdenv.mkDerivation {
-  name = "ocaml-type_conv-109.60.01";
+  name = "ocaml-type-conv-109.60.01";
 
   src = fetchurl {
     url = https://github.com/janestreet/type_conv/archive/109.60.01.tar.gz;
diff --git a/pkgs/development/ocaml-modules/type_conv/112.01.01.nix b/pkgs/development/ocaml-modules/type-conv/112.01.01.nix
index e65306d1501..d6e0cea6eaa 100644
--- a/pkgs/development/ocaml-modules/type_conv/112.01.01.nix
+++ b/pkgs/development/ocaml-modules/type-conv/112.01.01.nix
@@ -3,7 +3,7 @@
 buildOcaml rec {
   minimumSupportedOcamlVersion = "4.02";
 
-  name = "type_conv";
+  name = "type-conv";
   version = "112.01.01";
 
   src = fetchurl {
diff --git a/pkgs/development/ocaml-modules/typerep/default.nix b/pkgs/development/ocaml-modules/typerep/default.nix
index 9500579e245..168b61085ed 100644
--- a/pkgs/development/ocaml-modules/typerep/default.nix
+++ b/pkgs/development/ocaml-modules/typerep/default.nix
@@ -1,4 +1,4 @@
-{stdenv, buildOcaml, fetchurl, type_conv}:
+{stdenv, buildOcaml, fetchurl, type-conv}:
 
 buildOcaml rec {
   name = "typerep";
@@ -11,7 +11,7 @@ buildOcaml rec {
     sha256 = "4f1ab611a00aaf774e9774b26b687233e0c70d91f684415a876f094a9969eada";
   };
 
-  propagatedBuildInputs = [ type_conv ];
+  propagatedBuildInputs = [ type-conv ];
 
   meta = with stdenv.lib; {
     homepage = https://github.com/janestreet/typerep;
diff --git a/pkgs/development/ocaml-modules/variantslib/default.nix b/pkgs/development/ocaml-modules/variantslib/default.nix
index cb25b844606..f8e60205e4f 100644
--- a/pkgs/development/ocaml-modules/variantslib/default.nix
+++ b/pkgs/development/ocaml-modules/variantslib/default.nix
@@ -1,4 +1,4 @@
-{stdenv, buildOcaml, fetchurl, type_conv}:
+{stdenv, buildOcaml, fetchurl, type-conv}:
 
 buildOcaml rec {
   name = "variantslib";
@@ -11,7 +11,7 @@ buildOcaml rec {
     sha256 = "a948dcdd4ca54786fe0646386b6e37a9db03bf276c6557ea374d82740bf18055";
   };
 
-  propagatedBuildInputs = [ type_conv ];
+  propagatedBuildInputs = [ type-conv ];
 
   meta = with stdenv.lib; {
     homepage = https://github.com/janestreet/variantslib;
diff --git a/pkgs/development/tools/ocaml/oasis/default.nix b/pkgs/development/tools/ocaml/oasis/default.nix
index e823466f417..da94fed0831 100644
--- a/pkgs/development/tools/ocaml/oasis/default.nix
+++ b/pkgs/development/tools/ocaml/oasis/default.nix
@@ -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}:
 
 stdenv.mkDerivation {
@@ -13,10 +13,10 @@ stdenv.mkDerivation {
 
   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";
   buildPhase     = "ocaml setup.ml -build";