guix_mirror_bot pushed a commit to branch ocaml-team
in repository guix.
commit db7645a094741e64bedee22235436723e58ea6e4
Author: Jason Conroy <[email protected]>
AuthorDate: Thu Jan 15 12:49:51 2026 -0500
gnu: ocaml5: Add ocaml-cinaps.
* gnu/packages/ocaml5.scm (ocaml-cinaps): New variable.
Change-Id: I44524bfa65a69b8fe35869c587515bd00e9c1b3e
Signed-off-by: Julien Lepiller <[email protected]>
---
gnu/packages/ocaml5.scm | 28 ++++++++++++++++++++++++++++
1 file changed, 28 insertions(+)
diff --git a/gnu/packages/ocaml5.scm b/gnu/packages/ocaml5.scm
index d98021d629..84ab034ff7 100644
--- a/gnu/packages/ocaml5.scm
+++ b/gnu/packages/ocaml5.scm
@@ -1432,6 +1432,34 @@ convenient for libraries that need a few embedded files
(such as a web server)
and do not want to deal with all the trouble of file configuration.")
(license license:isc)))
+(define-public ocaml-cinaps
+ ;; This commit removes an unused dependency on ocaml-ppx-jane. It avoids a
+ ;; dependency cycle between ocaml-ppx-jane and ocaml-ppxlib.
+ (let ((commit "d974bb2db3ab1ab14e81f989b5bdb609462bff47")
+ (revision "0"))
+ (package
+ (name "ocaml5-cinaps")
+ (version (git-version "0.15.1" revision commit))
+ (home-page "https://github.com/ocaml-ppx/cinaps")
+ (source
+ (origin
+ (method git-fetch)
+ (uri (git-reference
+ (url home-page)
+ (commit commit)))
+ (file-name (git-file-name name version))
+ (sha256
+ (base32 "00kb04vqlnk1pynqjhna5qhn8790ab17baxf4na5py1l1h1js8qx"))))
+ (build-system dune-build-system)
+ (propagated-inputs (list ocaml-re))
+ (synopsis "Trivial metaprogramming tool for OCaml")
+ (description
+ "Cinaps is a trivial Metaprogramming tool using the OCaml toplevel. It
is based
+on the same idea as expectation tests. The user writes some OCaml code inside
+special comments and cinaps makes sure that what follows is what is printed by
+the OCaml code.")
+ (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