diff options
author | Vladyslav M <dywedir@pm.me> | 2018-08-07 12:58:21 +0300 |
---|---|---|
committer | xeji <36407913+xeji@users.noreply.github.com> | 2018-08-07 11:58:21 +0200 |
commit | 23fd014bf1d41e9f064c49a9ca93c1f5f7112252 (patch) | |
tree | d3083f9b5c67cb02854f24267b0dcee17934de30 /pkgs/development/compilers/reason | |
parent | 8f36a3185fccbc8833424ca9a625c0c81d5e1444 (diff) | |
download | nixlib-23fd014bf1d41e9f064c49a9ca93c1f5f7112252.tar nixlib-23fd014bf1d41e9f064c49a9ca93c1f5f7112252.tar.gz nixlib-23fd014bf1d41e9f064c49a9ca93c1f5f7112252.tar.bz2 nixlib-23fd014bf1d41e9f064c49a9ca93c1f5f7112252.tar.lz nixlib-23fd014bf1d41e9f064c49a9ca93c1f5f7112252.tar.xz nixlib-23fd014bf1d41e9f064c49a9ca93c1f5f7112252.tar.zst nixlib-23fd014bf1d41e9f064c49a9ca93c1f5f7112252.zip |
reason: 3.0.4 -> 3.3.2 (#44593)
Diffstat (limited to 'pkgs/development/compilers/reason')
-rw-r--r-- | pkgs/development/compilers/reason/default.nix | 18 |
1 files changed, 8 insertions, 10 deletions
diff --git a/pkgs/development/compilers/reason/default.nix b/pkgs/development/compilers/reason/default.nix index 649f4bc4582b..763b4ab0dbeb 100644 --- a/pkgs/development/compilers/reason/default.nix +++ b/pkgs/development/compilers/reason/default.nix @@ -3,13 +3,13 @@ buildOcaml rec { name = "reason"; - version = "3.0.4"; + version = "3.3.2"; src = fetchFromGitHub { owner = "facebook"; repo = "reason"; - rev = version; - sha256 = "15qhx85him5rr4j0ygj3jh3qv9ijrn82ibr9scbn0qrnn43kj047"; + rev = "68a4124c772ee25c4729b005c8643851b1e17b92"; + sha256 = "01v17m94ds98qk727mwpyx0a362zdf9s8x1fh8gp9jd9v3n6bc2d"; }; propagatedBuildInputs = [ menhir merlin_extend ppx_tools_versioned ]; @@ -20,13 +20,11 @@ buildOcaml rec { createFindlibDestdir = true; - postPatch = '' - substituteInPlace src/reasonbuild/myocamlbuild.ml \ - --replace "refmt --print binary" "$out/bin/refmt --print binary" - ''; - installPhase = '' - ${jbuilder.installPhase} + for p in reason rtop + do + ${jbuilder.installPhase} $p.install + done wrapProgram $out/bin/rtop \ --prefix PATH : "${utop}/bin" \ @@ -36,7 +34,7 @@ buildOcaml rec { meta = with stdenv.lib; { homepage = https://reasonml.github.io/; description = "Facebook's friendly syntax to OCaml"; - license = licenses.bsd3; + license = licenses.mit; maintainers = [ maintainers.volth ]; }; } |