diff options
author | Vincent Laporte <Vincent.Laporte@gmail.com> | 2017-07-02 12:22:53 +0000 |
---|---|---|
committer | Vincent Laporte <Vincent.Laporte@gmail.com> | 2017-07-02 12:56:56 +0000 |
commit | 8ad273d4f06004f31c2dc7e5eff87a9343376c47 (patch) | |
tree | efb042dd1bc90b154f62234ed790ff6521aed9cc /pkgs/development/ocaml-modules/lambda-term | |
parent | ca15a36d0ec2b8a3597efd5bc1a1694f9aa2ce7d (diff) | |
download | nixlib-8ad273d4f06004f31c2dc7e5eff87a9343376c47.tar nixlib-8ad273d4f06004f31c2dc7e5eff87a9343376c47.tar.gz nixlib-8ad273d4f06004f31c2dc7e5eff87a9343376c47.tar.bz2 nixlib-8ad273d4f06004f31c2dc7e5eff87a9343376c47.tar.lz nixlib-8ad273d4f06004f31c2dc7e5eff87a9343376c47.tar.xz nixlib-8ad273d4f06004f31c2dc7e5eff87a9343376c47.tar.zst nixlib-8ad273d4f06004f31c2dc7e5eff87a9343376c47.zip |
ocamlPackages.lambda-term: 1.10 -> 1.11
Diffstat (limited to 'pkgs/development/ocaml-modules/lambda-term')
-rw-r--r-- | pkgs/development/ocaml-modules/lambda-term/default.nix | 17 |
1 files changed, 10 insertions, 7 deletions
diff --git a/pkgs/development/ocaml-modules/lambda-term/default.nix b/pkgs/development/ocaml-modules/lambda-term/default.nix index 86e4ebccbae6..86d03896ab16 100644 --- a/pkgs/development/ocaml-modules/lambda-term/default.nix +++ b/pkgs/development/ocaml-modules/lambda-term/default.nix @@ -1,21 +1,24 @@ -{ stdenv, buildOcaml, fetchurl, libev, ocaml, findlib, ocamlbuild, ocaml_lwt, ocaml_react, zed }: +{ stdenv, buildOcaml, fetchurl, libev, ocaml, findlib, jbuilder, opam, zed, lwt_react }: -assert stdenv.lib.versionAtLeast (stdenv.lib.getVersion ocaml) "4.01"; +assert stdenv.lib.versionAtLeast ocaml.version "4.02"; buildOcaml rec { - version = "1.10"; + version = "1.11"; name = "lambda-term"; src = fetchurl { url = "https://github.com/diml/lambda-term/archive/${version}.tar.gz"; - sha256 = "1kwpsqds51xmy3z3ddkam92hkl7arlzy9awhzsq62ysxcl91fb8m"; + sha256 = "10lx1jqgmmfwwlv64di4a8nia9l53v7179z70n9fx6aq5l7r8nba"; }; - buildInputs = [ libev ocaml findlib ocamlbuild ocaml_react ]; + buildInputs = [ libev ocaml findlib jbuilder opam ]; - propagatedBuildInputs = [ zed ocaml_lwt ]; + propagatedBuildInputs = [ zed lwt_react ]; - createFindlibDestdir = true; + installPhase = '' + ${jbuilder.installPhase} + mv $out/lib/ocaml/${ocaml.version}/site-lib/{stubslibs,lambda-term}/dlllambda_term_stubs.so + ''; hasSharedObjects = true; |