[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
04/07: gnu: Add ocaml-uuseg.
From: |
guix-commits |
Subject: |
04/07: gnu: Add ocaml-uuseg. |
Date: |
Sun, 8 Aug 2021 16:44:00 -0400 (EDT) |
roptat pushed a commit to branch master
in repository guix.
commit 2787bcbd1bbfc01516d28914edf1697aa3740237
Author: Xinglu Chen <public@yoctocell.xyz>
AuthorDate: Mon Jun 21 12:01:59 2021 +0200
gnu: Add ocaml-uuseg.
* gnu/packages/ocaml.scm (ocaml-uuseg): New variable.
Signed-off-by: Julien Lepiller <julien@lepiller.eu>
---
gnu/packages/ocaml.scm | 39 +++++++++++++++++++++++++++++++++++++++
1 file changed, 39 insertions(+)
diff --git a/gnu/packages/ocaml.scm b/gnu/packages/ocaml.scm
index cf56c0c..2e879eb 100644
--- a/gnu/packages/ocaml.scm
+++ b/gnu/packages/ocaml.scm
@@ -7023,6 +7023,45 @@ representations can be extracted.")
selection of character properties of the Unicode character database.")
(license license:isc)))
+(define-public ocaml-uuseg
+ (package
+ (name "ocaml-uuseg")
+ (version "13.0.0")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (string-append "https://erratique.ch/software/uuseg/releases/"
+ "uuseg-" version ".tbz"))
+ (sha256
+ (base32
+ "1a635j8ra6p27g1ivfln3387lhwqmf6vq4r6bn7b6n1qsqyi1rls"))))
+ (build-system ocaml-build-system)
+ (arguments
+ '(#:build-flags '("build" "--tests" "true")
+ #:phases
+ (modify-phases %standard-phases
+ (delete 'configure))))
+ (propagated-inputs
+ `(("ocaml-uucp" ,ocaml-uucp)
+ ("ocaml-uutf" ,ocaml-uutf)
+ ("ocaml-cmdliner" ,ocaml-cmdliner)))
+ (native-inputs
+ `(("opam" ,opam)
+ ("ocaml-findlib" ,ocaml-findlib)
+ ("ocamlbuild" ,ocamlbuild)
+ ("ocaml-topkg" ,ocaml-topkg)))
+ (home-page "https://erratique.ch/software/uuseg")
+ (synopsis "Unicode text segmentation for OCaml")
+ (description "Uuseg is an OCaml library for segmenting Unicode text. It
+implements the locale independent Unicode text segmentation algorithms to
+detect grapheme cluster, word and sentence boundaries and the Unicode line
+breaking algorithm to detect line break opportunities.
+
+The library is independent from any IO mechanism or Unicode text data
+structure and it can process text without a complete in-memory
+representation.")
+ (license license:isc)))
+
(define-public ocaml-bigstringaf
(package
(name "ocaml-bigstringaf")
- branch master updated (e81cf4e -> e83fe81), guix-commits, 2021/08/08
- 01/07: gnu: ocaml-bisect-ppx: Update to 2.6.1., guix-commits, 2021/08/08
- 03/07: gnu: Add ocaml-uucp., guix-commits, 2021/08/08
- 06/07: gnu: Add ocaml-dune-build-info., guix-commits, 2021/08/08
- 07/07: gnu: Add ocamlformat., guix-commits, 2021/08/08
- 02/07: gnu: Add ocaml-uucd., guix-commits, 2021/08/08
- 04/07: gnu: Add ocaml-uuseg.,
guix-commits <=
- 05/07: gnu: Add ocaml-fix., guix-commits, 2021/08/08