utop: 1.17 -> 1.19.2
This commit is contained in:
parent
354e589275
commit
64674d24c3
@ -1,23 +1,24 @@
|
|||||||
{stdenv, fetchurl, ocaml, findlib, lambdaTerm, ocaml_lwt, makeWrapper,
|
{stdenv, fetchurl, ocaml, findlib, lambdaTerm, ocaml_lwt, makeWrapper,
|
||||||
ocaml_react, camomile, zed, cppo, camlp4
|
ocaml_react, camomile, zed, cppo, camlp4, ppx_tools
|
||||||
}:
|
}:
|
||||||
|
|
||||||
stdenv.mkDerivation rec {
|
stdenv.mkDerivation rec {
|
||||||
version = "1.17";
|
version = "1.19.2";
|
||||||
name = "utop-${version}";
|
name = "utop-${version}";
|
||||||
|
|
||||||
src = fetchurl {
|
src = fetchurl {
|
||||||
url = "https://github.com/diml/utop/archive/${version}.tar.gz";
|
url = "https://github.com/diml/utop/archive/${version}.tar.gz";
|
||||||
sha256 = "0l9lz2nypl2ls3kqzmp738m02yvscabhsfpj70ckp0p98pimnnfd";
|
sha256 = "0hxybkqmrh0sz1yyyrgzdmxp46gda4vk22pv07s0qpfg2dpv56jh";
|
||||||
};
|
};
|
||||||
|
|
||||||
buildInputs = [ ocaml findlib makeWrapper cppo camlp4 ];
|
buildInputs = [ ocaml findlib makeWrapper cppo camlp4 ppx_tools ];
|
||||||
|
|
||||||
propagatedBuildInputs = [ lambdaTerm ocaml_lwt ];
|
propagatedBuildInputs = [ lambdaTerm ocaml_lwt ];
|
||||||
|
|
||||||
createFindlibDestdir = true;
|
createFindlibDestdir = true;
|
||||||
|
|
||||||
configureFlags = "--enable-camlp4";
|
configureFlags = [ "--enable-camlp4" ]
|
||||||
|
++ stdenv.lib.optional (ppx_tools != null) "--enable-interact";
|
||||||
|
|
||||||
buildPhase = ''
|
buildPhase = ''
|
||||||
make
|
make
|
||||||
|
Loading…
x
Reference in New Issue
Block a user