reason: 3.0.4 -> 3.3.2 (#44593)

wip/yesman
Vladyslav M 6 years ago committed by xeji
parent 8f36a3185f
commit 23fd014bf1
  1. 18
      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 ];
};
}

Loading…
Cancel
Save