guix_mirror_bot pushed a commit to branch ocaml-team
in repository guix.

commit de8553b1ad3f66a61eb33a4ecf642728bc41d132
Author: Jason Conroy <[email protected]>
AuthorDate: Sun Feb 15 15:27:30 2026 -0500

    gnu: ocaml5: Add js-of-ocaml.
    
    * gnu/packages/ocaml5.scm (js-of-ocaml): New variable.
    
    Change-Id: I72995d84082ac6d1762c0e8875fc05597c99d53b
    Signed-off-by: Julien Lepiller <[email protected]>
---
 gnu/packages/ocaml5.scm | 27 +++++++++++++++++++++++++++
 1 file changed, 27 insertions(+)

diff --git a/gnu/packages/ocaml5.scm b/gnu/packages/ocaml5.scm
index 399cff2864..4746de49fa 100644
--- a/gnu/packages/ocaml5.scm
+++ b/gnu/packages/ocaml5.scm
@@ -3654,6 +3654,33 @@ browsers and Node.js.")
     (synopsis "Compiler from OCaml bytecode to Javascript (compiler core)")
     (license license:lgpl2.1+)))
 
+(define-public js-of-ocaml
+  (package
+    (inherit %js-of-ocaml-base)
+    (name "ocaml5-js-of-ocaml")
+    (arguments
+     `(#:package "js_of_ocaml"
+       #:tests? #f))
+    (propagated-inputs (list js-of-ocaml-compiler
+                             ocaml-ppxlib
+                             ocaml-uchar
+                             ocaml-menhir
+                             ocaml-reactivedata
+                             ocaml-cmdliner
+                             ocaml-lwt
+                             ocaml-sedlex
+                             ocaml-tyxml
+                             ocaml-re
+                             ocaml-uutf
+                             ocaml-graphics
+                             ocaml-yojson))
+    (native-inputs
+     ;; for tests
+     (list node-lts ocaml-ppx-expect ocaml-num))
+    (properties `((upstream-name . "js_of_ocaml")))
+    (home-page "https://ocsigen.org/js_of_ocaml/";)
+    (license license:lgpl2.1+)))
+
 ;;;
 ;;; Avoid adding new packages to the end of this file. To reduce the chances
 ;;; of a merge conflict, place them above by existing packages with similar

Reply via email to