summaryrefslogtreecommitdiff
path: root/gnu/packages/ocaml.scm
diff options
context:
space:
mode:
authorraingloom <raingloom@riseup.net>2023-02-15 23:00:17 +0100
committerChristopher Baines <mail@cbaines.net>2023-02-17 15:44:57 +0000
commit47bc3fc7436d7e84e7f983b8519cf98351a2ca19 (patch)
tree090b7ac8a08bc72696f3846ac650274a64d31aae /gnu/packages/ocaml.scm
parentc91f8f9b7b2160e514d985faf94aeceac8feb25f (diff)
gnu: Add ocaml-textutils.
* gnu/packages/ocaml.scm (ocaml-textutils): New variable. Signed-off-by: Christopher Baines <mail@cbaines.net>
Diffstat (limited to 'gnu/packages/ocaml.scm')
-rw-r--r--gnu/packages/ocaml.scm26
1 files changed, 26 insertions, 0 deletions
diff --git a/gnu/packages/ocaml.scm b/gnu/packages/ocaml.scm
index 890fdfda9c..68ecdcc736 100644
--- a/gnu/packages/ocaml.scm
+++ b/gnu/packages/ocaml.scm
@@ -8462,6 +8462,32 @@ system calls run in.")
javascript.")
(license license:expat)))
+(define-public ocaml-textutils
+ (package
+ (name "ocaml-textutils")
+ (version "0.15.0")
+ (source (origin
+ (method git-fetch)
+ (uri (git-reference
+ (url "https://github.com/janestreet/textutils")
+ (commit (string-append "v" version))))
+ (file-name (git-file-name name version))
+ (sha256
+ (base32
+ "1wass49h645wql9b7nck2iqlkf4648dkxvlvxixr7z80zcnb5rxr"))))
+ (build-system dune-build-system)
+ (propagated-inputs (list ocaml-core
+ ocaml-core-kernel
+ ocaml-core-unix
+ ocaml-ppx-jane
+ ocaml-textutils-kernel
+ ocaml-uutf))
+ (home-page "https://github.com/janestreet/textutils")
+ (synopsis "Text output utilities")
+ (description
+ "Utilities for working with terminal output, such as color printing.")
+ (license license:expat)))
+
(define-public ocaml-timezone
(package
(name "ocaml-timezone")