mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-12-29 14:57:28 +03:00
js_of_ocaml: 3.6.0 → 3.7.0
This commit is contained in:
parent
e30218d8a6
commit
774db64cc6
@ -1,18 +1,19 @@
|
||||
{ lib, fetchurl, buildDunePackage
|
||||
, ocaml, findlib, cmdliner, dune_2, cppo, yojson, ocaml-migrate-parsetree
|
||||
, menhir
|
||||
}:
|
||||
|
||||
buildDunePackage rec {
|
||||
pname = "js_of_ocaml-compiler";
|
||||
version = "3.6.0";
|
||||
version = "3.7.0";
|
||||
useDune2 = true;
|
||||
|
||||
src = fetchurl {
|
||||
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 ];
|
||||
|
||||
configurePlatforms = [];
|
||||
|
@ -10,8 +10,6 @@ stdenv.mkDerivation {
|
||||
buildInputs = [ findlib ocaml-migrate-parsetree ppx_tools_versioned ];
|
||||
nativeBuildInputs = [ ocaml findlib dune_2 ];
|
||||
|
||||
postPatch = "patchShebangs lib/generate_stubs.sh";
|
||||
|
||||
propagatedBuildInputs = [ js_of_ocaml-compiler uchar ];
|
||||
|
||||
buildPhase = "dune build -p js_of_ocaml";
|
||||
|
Loading…
Reference in New Issue
Block a user