[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
02/05: gnu: Add ocaml-either.
From: |
guix-commits |
Subject: |
02/05: gnu: Add ocaml-either. |
Date: |
Fri, 10 Dec 2021 06:52:25 -0500 (EST) |
roptat pushed a commit to branch master
in repository guix.
commit af365f00017cc5350c0184d94c949e37176fc575
Author: Julien Lepiller <julien@lepiller.eu>
AuthorDate: Fri Dec 10 02:21:40 2021 +0100
gnu: Add ocaml-either.
* gnu/packages/ocaml.scm (ocaml-either): New variable.
---
gnu/packages/ocaml.scm | 23 +++++++++++++++++++++++
1 file changed, 23 insertions(+)
diff --git a/gnu/packages/ocaml.scm b/gnu/packages/ocaml.scm
index 891b4ab..7406213 100644
--- a/gnu/packages/ocaml.scm
+++ b/gnu/packages/ocaml.scm
@@ -7476,6 +7476,29 @@ or the list of statically linked libraries with their
versions. It supports
reporting the version from the version control system during development to
get an precise reference of when the executable was built.")))
+(define-public ocaml-either
+ (package
+ (name "ocaml-either")
+ (version "1.0.0")
+ (source
+ (origin
+ (method git-fetch)
+ (uri (git-reference
+ (url "https://github.com/mirage/either")
+ (commit version)))
+ (file-name (git-file-name name version))
+ (sha256
+ (base32 "099p1m24vz5i0043zcfp88krzjsa2qbrphrm4bnx84gif5vgkxwm"))))
+ (build-system dune-build-system)
+ (arguments
+ ;; no tests
+ `(#:tests? #f))
+ (home-page "https://github.com/mirage/either")
+ (synopsis "Compatibility Either module")
+ (description "This library is a compatibility module for the Either module
+defined in OCaml 4.12.0.")
+ (license license:expat)))
+
(define-public ocamlformat
(package
(name "ocamlformat")