js_of_ocaml: 3.6.0 → 3.7.0
This commit is contained in:
parent
e30218d8a6
commit
774db64cc6
2 changed files with 4 additions and 5 deletions
|
@ -1,18 +1,19 @@
|
||||||
{ lib, fetchurl, buildDunePackage
|
{ lib, fetchurl, buildDunePackage
|
||||||
, ocaml, findlib, cmdliner, dune_2, cppo, yojson, ocaml-migrate-parsetree
|
, ocaml, findlib, cmdliner, dune_2, cppo, yojson, ocaml-migrate-parsetree
|
||||||
|
, menhir
|
||||||
}:
|
}:
|
||||||
|
|
||||||
buildDunePackage rec {
|
buildDunePackage rec {
|
||||||
pname = "js_of_ocaml-compiler";
|
pname = "js_of_ocaml-compiler";
|
||||||
version = "3.6.0";
|
version = "3.7.0";
|
||||||
useDune2 = true;
|
useDune2 = true;
|
||||||
|
|
||||||
src = fetchurl {
|
src = fetchurl {
|
||||||
url = "https://github.com/ocsigen/js_of_ocaml/releases/download/${version}/js_of_ocaml-${version}.tbz";
|
url = "https://github.com/ocsigen/js_of_ocaml/releases/download/${version}/js_of_ocaml-${version}.tbz";
|
||||||
sha256 = "51eaa89c83ef3168ef270bf7997cbc35a747936d3f51aa6fac58fb0323b4cbb0";
|
sha256 = "0rw6cfkl3zlyav8q2w7grxxqjmg35mz5rgvmkiqb58nl4gmgzx6w";
|
||||||
};
|
};
|
||||||
|
|
||||||
nativeBuildInputs = [ ocaml findlib dune_2 cppo ];
|
nativeBuildInputs = [ ocaml findlib dune_2 cppo menhir ];
|
||||||
buildInputs = [ cmdliner ];
|
buildInputs = [ cmdliner ];
|
||||||
|
|
||||||
configurePlatforms = [];
|
configurePlatforms = [];
|
||||||
|
|
|
@ -10,8 +10,6 @@ stdenv.mkDerivation {
|
||||||
buildInputs = [ findlib ocaml-migrate-parsetree ppx_tools_versioned ];
|
buildInputs = [ findlib ocaml-migrate-parsetree ppx_tools_versioned ];
|
||||||
nativeBuildInputs = [ ocaml findlib dune_2 ];
|
nativeBuildInputs = [ ocaml findlib dune_2 ];
|
||||||
|
|
||||||
postPatch = "patchShebangs lib/generate_stubs.sh";
|
|
||||||
|
|
||||||
propagatedBuildInputs = [ js_of_ocaml-compiler uchar ];
|
propagatedBuildInputs = [ js_of_ocaml-compiler uchar ];
|
||||||
|
|
||||||
buildPhase = "dune build -p js_of_ocaml";
|
buildPhase = "dune build -p js_of_ocaml";
|
||||||
|
|
Loading…
Reference in a new issue