From 36147cebf678e953527b648f956606c82eabce11 Mon Sep 17 00:00:00 2001 From: Moazzam Moriani <82654582+moazzammoriani@users.noreply.github.com> Date: Mon, 28 Mar 2022 21:47:03 +0500 Subject: [PATCH 1/2] Remove js_of_ocaml --- ocaml-versions/5.0.0+trunk.json | 1 - 1 file changed, 1 deletion(-) diff --git a/ocaml-versions/5.0.0+trunk.json b/ocaml-versions/5.0.0+trunk.json index 577b80ef10..13740228e0 100644 --- a/ocaml-versions/5.0.0+trunk.json +++ b/ocaml-versions/5.0.0+trunk.json @@ -17,7 +17,6 @@ "irmin", "irmin-layers", "irmin-pack", - "js_of_ocaml-compiler", "ppx_derivers", "ppx_deriving", "ppx_deriving_yojson", From 1b196aea385a2b9bbc16704f278ef008ef51e6eb Mon Sep 17 00:00:00 2001 From: Moazzam Moriani Date: Tue, 29 Mar 2022 11:11:59 +0500 Subject: [PATCH 2/2] Add js_of_ocaml-compiler.4.0.0 --- .../js_of_ocaml-compiler.4.0.0/opam | 53 +++++++++++++++++++ 1 file changed, 53 insertions(+) create mode 100644 dependencies/packages/js_of_ocaml-compiler/js_of_ocaml-compiler.4.0.0/opam diff --git a/dependencies/packages/js_of_ocaml-compiler/js_of_ocaml-compiler.4.0.0/opam b/dependencies/packages/js_of_ocaml-compiler/js_of_ocaml-compiler.4.0.0/opam new file mode 100644 index 0000000000..0889acbfdb --- /dev/null +++ b/dependencies/packages/js_of_ocaml-compiler/js_of_ocaml-compiler.4.0.0/opam @@ -0,0 +1,53 @@ +opam-version: "2.0" +synopsis: "Compiler from OCaml bytecode to JavaScript" +description: + "Js_of_ocaml is a compiler from OCaml bytecode to JavaScript. It makes it possible to run pure OCaml programs in JavaScript environment like browsers and Node.js" +maintainer: ["Ocsigen team "] +authors: ["Ocsigen team "] +license: + "GPL-2.0-or-later AND LGPL-2.1-or-later WITH OCaml-LGPL-linking-exception" +homepage: "https://ocsigen.org/js_of_ocaml/latest/manual/overview" +doc: "https://ocsigen.org/js_of_ocaml/latest/manual/overview" +bug-reports: "https://github.com/ocsigen/js_of_ocaml/issues" +depends: [ + "dune" {>= "2.9"} + "ocaml" {>= "4.04" & < "5.01.0"} + "num" {with-test} + "ppx_expect" {>= "v0.14.2" & with-test} + "ppxlib" {>= "0.15.0"} + "re" {with-test} + "cmdliner" {>= "1.1.0"} + "menhir" + "menhirLib" + "menhirSdk" + "yojson" + "odoc" {with-doc} +]depopts: ["ocamlfind"] +conflicts: [ + "ocamlfind" {< "1.5.1"} + "js_of_ocaml" {< "3.0"} + "base-domains" +] +dev-repo: "git+https://github.com/ocsigen/js_of_ocaml.git" +build: [ + ["dune" "subst"] {dev} + [ + "dune" + "build" + "-p" + name + "-j" + jobs + "--promote-install-files=false" + "@install" + "@doc" {with-doc} + ] + ["dune" "install" "-p" name "--create-install-files" name] +] +url { + src: + "git+https://github.com/patricoferris/js_of_ocaml#fd1c3c1e5d5e0021a17be60a2fc60f80dfe783d6" + checksum: [ + ] +} +x-commit-hash: "6fb1d008061b6c028c375b240882bb735d54a5bc"