reason: 3.0.4 -> 3.3.2 (#44593)
This commit is contained in:
parent
8f36a3185f
commit
23fd014bf1
@ -3,13 +3,13 @@
|
|||||||
|
|
||||||
buildOcaml rec {
|
buildOcaml rec {
|
||||||
name = "reason";
|
name = "reason";
|
||||||
version = "3.0.4";
|
version = "3.3.2";
|
||||||
|
|
||||||
src = fetchFromGitHub {
|
src = fetchFromGitHub {
|
||||||
owner = "facebook";
|
owner = "facebook";
|
||||||
repo = "reason";
|
repo = "reason";
|
||||||
rev = version;
|
rev = "68a4124c772ee25c4729b005c8643851b1e17b92";
|
||||||
sha256 = "15qhx85him5rr4j0ygj3jh3qv9ijrn82ibr9scbn0qrnn43kj047";
|
sha256 = "01v17m94ds98qk727mwpyx0a362zdf9s8x1fh8gp9jd9v3n6bc2d";
|
||||||
};
|
};
|
||||||
|
|
||||||
propagatedBuildInputs = [ menhir merlin_extend ppx_tools_versioned ];
|
propagatedBuildInputs = [ menhir merlin_extend ppx_tools_versioned ];
|
||||||
@ -20,13 +20,11 @@ buildOcaml rec {
|
|||||||
|
|
||||||
createFindlibDestdir = true;
|
createFindlibDestdir = true;
|
||||||
|
|
||||||
postPatch = ''
|
|
||||||
substituteInPlace src/reasonbuild/myocamlbuild.ml \
|
|
||||||
--replace "refmt --print binary" "$out/bin/refmt --print binary"
|
|
||||||
'';
|
|
||||||
|
|
||||||
installPhase = ''
|
installPhase = ''
|
||||||
${jbuilder.installPhase}
|
for p in reason rtop
|
||||||
|
do
|
||||||
|
${jbuilder.installPhase} $p.install
|
||||||
|
done
|
||||||
|
|
||||||
wrapProgram $out/bin/rtop \
|
wrapProgram $out/bin/rtop \
|
||||||
--prefix PATH : "${utop}/bin" \
|
--prefix PATH : "${utop}/bin" \
|
||||||
@ -36,7 +34,7 @@ buildOcaml rec {
|
|||||||
meta = with stdenv.lib; {
|
meta = with stdenv.lib; {
|
||||||
homepage = https://reasonml.github.io/;
|
homepage = https://reasonml.github.io/;
|
||||||
description = "Facebook's friendly syntax to OCaml";
|
description = "Facebook's friendly syntax to OCaml";
|
||||||
license = licenses.bsd3;
|
license = licenses.mit;
|
||||||
maintainers = [ maintainers.volth ];
|
maintainers = [ maintainers.volth ];
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user