git.iko.soy/typeable/nixpkgs
on master help sign in
Merge pull request #16025 from vbgl/utop-1.19

utop: 1.17 -> 1.19.2

commit30f2dd5f551bb745e7040017613db27cfdf19d3b authorobadz <obadz-git@obadz.com> dateWed 8 Jun 2016, 01:07 (10 years ago) parent55ac62c64674d2
2 files changed+11−10
pkgs/development/ocaml-modules/lambda-term/default.nix+5−5 pkgs/development/tools/ocaml/utop/default.nix+6−5
pkgs/development/ocaml-modules/lambda-term/default.nix+5−5
@@ -1,19 +1,19 @@
1−{ stdenv, fetchurl, libev, ocaml, findlib, ocaml_lwt, ocaml_react, zed, camlp4 }:
1+{ stdenv, fetchurl, libev, ocaml, findlib, ocaml_lwt, ocaml_react, zed }:
22
33assert stdenv.lib.versionAtLeast (stdenv.lib.getVersion ocaml) "4.01";
44
55stdenv.mkDerivation rec {
6− version = "1.8";
6+ version = "1.10";
77 name = "lambda-term-${version}";
88
99 src = fetchurl {
10− url = https://github.com/diml/lambda-term/archive/1.8.tar.gz;
11− sha256 = "0hy11x48q5bbh9czjp0w756cyxzr2c6qcnfm5n9f0i1l4qljwpgc";
10+ url = "https://github.com/diml/lambda-term/archive/${version}.tar.gz";
11+ sha256 = "1kwpsqds51xmy3z3ddkam92hkl7arlzy9awhzsq62ysxcl91fb8m";
1212 };
1313
1414 buildInputs = [ libev ocaml findlib ocaml_react ];
1515
16− propagatedBuildInputs = [ camlp4 zed ocaml_lwt ];
16+ propagatedBuildInputs = [ zed ocaml_lwt ];
1717
1818 createFindlibDestdir = true;
1919
pkgs/development/tools/ocaml/utop/default.nix+6−5
@@ -1,23 +1,24 @@
11{stdenv, fetchurl, ocaml, findlib, lambdaTerm, ocaml_lwt, makeWrapper,
2− ocaml_react, camomile, zed, cppo, camlp4
2+ ocaml_react, camomile, zed, cppo, camlp4, ppx_tools
33}:
44
55stdenv.mkDerivation rec {
6− version = "1.17";
6+ version = "1.19.2";
77 name = "utop-${version}";
88
99 src = fetchurl {
1010 url = "https://github.com/diml/utop/archive/${version}.tar.gz";
11− sha256 = "0l9lz2nypl2ls3kqzmp738m02yvscabhsfpj70ckp0p98pimnnfd";
11+ sha256 = "0hxybkqmrh0sz1yyyrgzdmxp46gda4vk22pv07s0qpfg2dpv56jh";
1212 };
1313
14− buildInputs = [ ocaml findlib makeWrapper cppo camlp4 ];
14+ buildInputs = [ ocaml findlib makeWrapper cppo camlp4 ppx_tools ];
1515
1616 propagatedBuildInputs = [ lambdaTerm ocaml_lwt ];
1717
1818 createFindlibDestdir = true;
1919
20− configureFlags = "--enable-camlp4";
20+ configureFlags = [ "--enable-camlp4" ]
21+ ++ stdenv.lib.optional (ppx_tools != null) "--enable-interact";
2122
2223 buildPhase = ''
2324 make