guix_mirror_bot pushed a commit to branch ocaml-team
in repository guix.
commit 919b58cccc04c9f63c738e5de35cc63901167927
Author: Jason Conroy <[email protected]>
AuthorDate: Wed Feb 4 10:30:36 2026 -0500
gnu: ocaml5: Add ocaml-patch.
* gnu/packages/ocaml5.scm (ocaml-patch): New variable.
Change-Id: Ic00ffb44c59d1bb23c96b48e3f8db2fec4eb0dc2
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 14e842c738..dcd439836b 100644
--- a/gnu/packages/ocaml5.scm
+++ b/gnu/packages/ocaml5.scm
@@ -2410,6 +2410,33 @@ interface as the MD5 digest included in the OCaml
standard library. It
currently provides SHA1, SHA256 and SHA512 hash functions.")
(license license:isc)))
+(define-public ocaml-patch
+ (package
+ (name "ocaml5-patch")
+ (version "v3.0.0")
+ (build-system dune-build-system)
+ (source
+ (origin
+ (method git-fetch)
+ (uri (git-reference
+ (url "https://github.com/hannesm/patch")
+ (commit version)))
+ (file-name (git-file-name name version))
+ (sha256
+ (base32 "0fpxkc84g98ar321dl1fzr4cqbz990acj03n80pwg9y62x9mx2aq"))))
+ (arguments
+ `(#:tests? #f))
+ (home-page "https://github.com/hannesm/patch")
+ (synopsis "Applies unified diffs in pure OCaml")
+ (description
+ "Applies unified diffs in pure OCaml.
+
+The loosely specified diff file format is widely used for transmitting
+differences of line-based information. The motivating example is opam, which
+is able to validate updates being cryptographically signed (e.g. conex) by
+providing a unified diff.")
+ (license license:isc)))
+
;;;
;;; 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