ocamlPackages.ocp-build: remove spurious dependency to camlp4

Change attribute name from “ocpBuild” to “ocp-build”.
This commit is contained in:
Vincent Laporte
2018-06-26 20:14:57 +00:00
parent 06db050abd
commit fd018bdadd
6 changed files with 15 additions and 16 deletions
@@ -1,11 +1,10 @@
{ stdenv, fetchFromGitHub, ocaml, findlib, ncurses, buildOcaml }:
{ stdenv, fetchFromGitHub, ocaml, findlib, ncurses }:
let
version = "1.99.19-beta";
in
buildOcaml {
stdenv.mkDerivation rec {
name = "ocp-build";
inherit version;
name = "ocaml${ocaml.version}-ocp-build-${version}";
src = fetchFromGitHub {
owner = "OCamlPro";
@@ -14,7 +13,7 @@ buildOcaml {
sha256 = "162k5l0cxyqanxlml5v8mqapdq5qbqc9m4b8wdjq7mf523b3h2zj";
};
buildInputs = [ ocaml ];
buildInputs = [ ocaml findlib ];
propagatedBuildInputs = [ ncurses ];
preInstall = "mkdir -p $out/bin";
preConfigure = ''