about summary refs log tree commit diff
path: root/pkgs/development/tools/ocaml/ocp-indent
diff options
context:
space:
mode:
authorVincent Laporte <Vincent.Laporte@gmail.com>2018-06-26 05:19:44 +0000
committerVincent Laporte <Vincent.Laporte@gmail.com>2018-06-26 20:14:57 +0000
commitfd018bdaddf87c3bcccdf84f9698447695aed35d (patch)
treeef9152494f760e71fee7873e79403d4aa693dde0 /pkgs/development/tools/ocaml/ocp-indent
parent06db050abd9985cbac0f2a96ffa91a5789482af7 (diff)
downloadnixlib-fd018bdaddf87c3bcccdf84f9698447695aed35d.tar
nixlib-fd018bdaddf87c3bcccdf84f9698447695aed35d.tar.gz
nixlib-fd018bdaddf87c3bcccdf84f9698447695aed35d.tar.bz2
nixlib-fd018bdaddf87c3bcccdf84f9698447695aed35d.tar.lz
nixlib-fd018bdaddf87c3bcccdf84f9698447695aed35d.tar.xz
nixlib-fd018bdaddf87c3bcccdf84f9698447695aed35d.tar.zst
nixlib-fd018bdaddf87c3bcccdf84f9698447695aed35d.zip
ocamlPackages.ocp-build: remove spurious dependency to camlp4
Change attribute name from “ocpBuild” to “ocp-build”.
Diffstat (limited to 'pkgs/development/tools/ocaml/ocp-indent')
-rw-r--r--pkgs/development/tools/ocaml/ocp-indent/1.5.2.nix6
-rw-r--r--pkgs/development/tools/ocaml/ocp-indent/default.nix6
2 files changed, 6 insertions, 6 deletions
diff --git a/pkgs/development/tools/ocaml/ocp-indent/1.5.2.nix b/pkgs/development/tools/ocaml/ocp-indent/1.5.2.nix
index 3951be18de3a..693ad70402f6 100644
--- a/pkgs/development/tools/ocaml/ocp-indent/1.5.2.nix
+++ b/pkgs/development/tools/ocaml/ocp-indent/1.5.2.nix
@@ -1,9 +1,9 @@
-{ stdenv, fetchzip, ocaml, findlib, ocpBuild, cmdliner }:
+{ stdenv, fetchzip, ocaml, findlib, ocp-build, cmdliner }:
 
 let inherit (stdenv.lib) getVersion versionAtLeast; in
 
 assert versionAtLeast (getVersion ocaml) "3.12.1";
-assert versionAtLeast (getVersion ocpBuild) "1.99.6-beta";
+assert versionAtLeast (getVersion ocp-build) "1.99.6-beta";
 assert versionAtLeast "0.9.8" (getVersion cmdliner);
 
 stdenv.mkDerivation {
@@ -15,7 +15,7 @@ stdenv.mkDerivation {
     sha256 = "0ynv2yhm7akpvqp72pdabhddwr352s1k85q8m1khsvspgg1mkiqz";
   };
 
-  nativeBuildInputs = [ ocpBuild ];
+  nativeBuildInputs = [ ocp-build ];
 
   buildInputs = [ ocaml findlib cmdliner ];
 
diff --git a/pkgs/development/tools/ocaml/ocp-indent/default.nix b/pkgs/development/tools/ocaml/ocp-indent/default.nix
index f30c0f278f78..43898d250d91 100644
--- a/pkgs/development/tools/ocaml/ocp-indent/default.nix
+++ b/pkgs/development/tools/ocaml/ocp-indent/default.nix
@@ -1,10 +1,10 @@
-{ stdenv, fetchzip, ocaml, findlib, jbuilder, ocpBuild, cmdliner }:
+{ stdenv, fetchzip, ocaml, findlib, jbuilder, ocp-build, cmdliner }:
 
 let inherit (stdenv.lib) getVersion versionAtLeast; in
 
 assert versionAtLeast (getVersion ocaml) "3.12.1";
 assert versionAtLeast (getVersion cmdliner) "1.0.0";
-assert versionAtLeast (getVersion ocpBuild) "1.99.6-beta";
+assert versionAtLeast (getVersion ocp-build) "1.99.6-beta";
 
 stdenv.mkDerivation rec {
 
@@ -16,7 +16,7 @@ stdenv.mkDerivation rec {
     sha256 = "0rcaa11mjqka032g94wgw9llqpflyk3ywr3lr6jyxbh1rjvnipnw";
   };
 
-  nativeBuildInputs = [ ocpBuild ];
+  nativeBuildInputs = [ ocp-build ];
   buildInputs = [ ocaml findlib cmdliner ];
 
   inherit (jbuilder) installPhase;