guix_mirror_bot pushed a commit to branch ocaml-team
in repository guix.
commit 161404ce45e8ac8baeb4f92f4df427ea9384d71b
Author: Jason Conroy <[email protected]>
AuthorDate: Thu Feb 12 10:24:05 2026 -0500
gnu: ocaml5: Add ocaml-syntax-shims.
* gnu/packages/ocaml5.scm (ocaml-syntax-shims): New variable.
Change-Id: Ia84a0322b8270c02a3c24a03266a0ad29d8500ba
Signed-off-by: Julien Lepiller <[email protected]>
---
gnu/packages/ocaml5.scm | 22 ++++++++++++++++++++++
1 file changed, 22 insertions(+)
diff --git a/gnu/packages/ocaml5.scm b/gnu/packages/ocaml5.scm
index f3e3bedde3..a4dc7e03cc 100644
--- a/gnu/packages/ocaml5.scm
+++ b/gnu/packages/ocaml5.scm
@@ -2875,6 +2875,28 @@ breaks, while respecting the constraints imposed by the
structure of the
document and by the text width.")
(license license:lgpl2.0)))
+(define-public ocaml-syntax-shims
+ (package
+ (name "ocaml5-syntax-shims")
+ (version "1.0.0")
+ (home-page "https://github.com/ocaml-ppx/ocaml-syntax-shims")
+ (source
+ (origin
+ (method git-fetch)
+ (uri (git-reference
+ (url home-page)
+ (commit version)))
+ (file-name (git-file-name name version))
+ (sha256
+ (base32 "0l1i8z95qgb0lxlrv3yb5nkp391hqsiyi4r91p12k3xmggqixagf"))))
+ (build-system dune-build-system)
+ (properties `((upstream-name . "ocaml-syntax-shims")))
+ (synopsis "Backport of new OCaml syntax to older compilers")
+ (description
+ "This package backports new language features such as @code{let+} to older
+OCaml compilers.")
+ (license license:expat)))
+
;;;
;;; 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