diff options
author | Florent Becker <florent.becker@ens-lyon.org> | 2014-06-07 21:33:04 +0200 |
---|---|---|
committer | Michael Raskin <7c6f434c@mail.ru> | 2014-08-30 19:37:15 +0400 |
commit | 337a3b821278b41952a4970f84ec740e4c00346b (patch) | |
tree | 73de141385c70b56ec407b3d10056846e6d09cde /pkgs/development/ocaml-modules | |
parent | 59b1bd0607e74e20d6cc495bf0ffca16d2c32ab6 (diff) | |
download | nixlib-337a3b821278b41952a4970f84ec740e4c00346b.tar nixlib-337a3b821278b41952a4970f84ec740e4c00346b.tar.gz nixlib-337a3b821278b41952a4970f84ec740e4c00346b.tar.bz2 nixlib-337a3b821278b41952a4970f84ec740e4c00346b.tar.lz nixlib-337a3b821278b41952a4970f84ec740e4c00346b.tar.xz nixlib-337a3b821278b41952a4970f84ec740e4c00346b.tar.zst nixlib-337a3b821278b41952a4970f84ec740e4c00346b.zip |
Update ocaml-react to 1.1.0
Diffstat (limited to 'pkgs/development/ocaml-modules')
-rw-r--r-- | pkgs/development/ocaml-modules/react/default.nix | 15 |
1 files changed, 10 insertions, 5 deletions
diff --git a/pkgs/development/ocaml-modules/react/default.nix b/pkgs/development/ocaml-modules/react/default.nix index 6b0e694d54a0..dfc8dcd1439c 100644 --- a/pkgs/development/ocaml-modules/react/default.nix +++ b/pkgs/development/ocaml-modules/react/default.nix @@ -1,11 +1,11 @@ {stdenv, fetchurl, ocaml, findlib, opam}: stdenv.mkDerivation { - name = "ocaml-react-1.0.1"; + name = "ocaml-react-1.1.0"; src = fetchurl { - url = "http://erratique.ch/software/react/releases/react-1.0.1.tbz"; - sha256 = "007c9kzl0i6xvxnqj9jny4hgm28v9a1i079q53vl5hfb5f7h1mda"; + url = http://erratique.ch/software/react/releases/react-1.1.0.tbz; + sha256 = "1gymn8hy7ga0l9qymmb1jcnnkqvy7l2zr87xavzqz0dfi9ci8dm7"; }; unpackCmd = "tar xjf $src"; @@ -15,8 +15,13 @@ stdenv.mkDerivation { configurePhase = "ocaml pkg/git.ml"; buildPhase = "ocaml pkg/build.ml native=true native-dynlink=true"; - installPhase = '' + + installPhase = + let ocamlVersion = (builtins.parseDrvName (ocaml.name)).version; + in + '' opam-installer --script --prefix=$out react.install > install.sh + sed -i s!lib/react!lib/ocaml/${ocamlVersion}/site-lib/react! install.sh sh install.sh ''; @@ -25,6 +30,6 @@ stdenv.mkDerivation { description = "Applicative events and signals for OCaml"; license = licenses.bsd3; platforms = ocaml.meta.platforms; - maintainers = with maintainers; [ z77z vbmithr ]; + maintainers = with maintainers; [ z77z vbmithr gal_bolle]; }; } |