ocamlPackages.js_of_ocaml*: 3.7.0 -> 3.8.0
ocamlPackages.js_of_ocaml*: use buildDunePackage to fix installation ocamlPackages.js_of_ocaml*: fix style for editorconfig Closes #106343
This commit is contained in:
@@ -1,21 +1,19 @@
|
||||
{ stdenv, fetchFromGitHub, ocaml, findlib, dune, js_of_ocaml-compiler
|
||||
{ buildDunePackage, fetchFromGitHub, js_of_ocaml-compiler
|
||||
, camlp4, ocsigen_deriving
|
||||
}:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
version = "3.2.1";
|
||||
pname = "js_of_ocaml-camlp4";
|
||||
buildDunePackage rec {
|
||||
version = "3.2.1";
|
||||
pname = "js_of_ocaml-camlp4";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "ocsigen";
|
||||
repo = "js_of_ocaml";
|
||||
rev = version;
|
||||
sha256 = "1v2hfq0ra9j07yz6pj6m03hrvgys4vmx0gclchv94yywpb2wc7ik";
|
||||
};
|
||||
src = fetchFromGitHub {
|
||||
owner = "ocsigen";
|
||||
repo = "js_of_ocaml";
|
||||
rev = version;
|
||||
sha256 = "1v2hfq0ra9j07yz6pj6m03hrvgys4vmx0gclchv94yywpb2wc7ik";
|
||||
};
|
||||
|
||||
inherit (js_of_ocaml-compiler) installPhase meta;
|
||||
inherit (js_of_ocaml-compiler) meta;
|
||||
|
||||
buildInputs = [ ocaml findlib dune camlp4 ocsigen_deriving ];
|
||||
|
||||
buildPhase = "dune build -p js_of_ocaml-camlp4";
|
||||
buildInputs = [ camlp4 ocsigen_deriving ];
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user