[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[bug#49150] [PATCH 6/9] gnu: Add ocaml-uuseg.
From: |
Xinglu Chen |
Subject: |
[bug#49150] [PATCH 6/9] gnu: Add ocaml-uuseg. |
Date: |
Mon, 21 Jun 2021 12:01:59 +0200 |
* gnu/packages/ocaml.scm (ocaml-uuseg): New variable.
---
gnu/packages/ocaml.scm | 39 +++++++++++++++++++++++++++++++++++++++
1 file changed, 39 insertions(+)
diff --git a/gnu/packages/ocaml.scm b/gnu/packages/ocaml.scm
index 8df397fd2e..c2e1039146 100644
--- a/gnu/packages/ocaml.scm
+++ b/gnu/packages/ocaml.scm
@@ -7022,6 +7022,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")
--
2.32.0
- [bug#49150] [PATCH 0/9] Add ocamlformat and dependencies, Xinglu Chen, 2021/06/21
- [bug#49150] [PATCH 1/9] gnu: ocaml-bisect-ppx: Update to 2.6.1., Xinglu Chen, 2021/06/21
- [bug#49150] [PATCH 3/9] gnu: Add ocaml-menhir-sdk., Xinglu Chen, 2021/06/21
- [bug#49150] [PATCH 2/9] gnu: Add ocaml-menhir-lib., Xinglu Chen, 2021/06/21
- [bug#49150] [PATCH 7/9] gnu: Add ocaml-fix., Xinglu Chen, 2021/06/21
- [bug#49150] [PATCH 9/9] gnu: Add ocamlformat., Xinglu Chen, 2021/06/21
- [bug#49150] [PATCH 4/9] gnu: Add ocaml-uucd., Xinglu Chen, 2021/06/21
- [bug#49150] [PATCH 5/9] gnu: Add ocaml-uucp., Xinglu Chen, 2021/06/21
- [bug#49150] [PATCH 6/9] gnu: Add ocaml-uuseg.,
Xinglu Chen <=
- [bug#49150] [PATCH 8/9] gnu: Add ocaml-dune-build-info., Xinglu Chen, 2021/06/21