[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
13/20: gnu: Add ocaml-uunf.
From: |
guix-commits |
Subject: |
13/20: gnu: Add ocaml-uunf. |
Date: |
Sun, 6 Jun 2021 11:17:51 -0400 (EDT) |
roptat pushed a commit to branch master
in repository guix.
commit ec31363e22c1b04528c17cd8210f469a732da3f2
Author: pukkamustard <pukkamustard@posteo.net>
AuthorDate: Tue Jun 1 20:22:56 2021 +0000
gnu: Add ocaml-uunf.
* gnu/packages/ocaml.scm (ocaml-uunf): New variable.
Signed-off-by: Julien Lepiller <julien@lepiller.eu>
---
gnu/packages/ocaml.scm | 45 +++++++++++++++++++++++++++++++++++++++++++++
1 file changed, 45 insertions(+)
diff --git a/gnu/packages/ocaml.scm b/gnu/packages/ocaml.scm
index 9e9f1b6..a7558d7 100644
--- a/gnu/packages/ocaml.scm
+++ b/gnu/packages/ocaml.scm
@@ -2707,6 +2707,51 @@ Functions are also provided to fold over the characters
of UTF encoded OCaml
string values and to directly encode characters in OCaml Buffer.t values.")
(license license:isc)))
+(define-public ocaml-uunf
+ (package
+ (name "ocaml-uunf")
+ (version "13.0.0")
+ (source
+ (origin
+ (method url-fetch)
+ (uri "https://erratique.ch/software/uunf/releases/uunf-13.0.0.tbz")
+ (sha256
+ (base32
+ "1qci04nkp24kdls1z4s8kz5dzgky4nwd5r8345nwdrgwmxhw7ksm"))))
+ (build-system ocaml-build-system)
+ (arguments
+ `(#:build-flags (list "build" "--tests" "true")
+ #:phases
+ (modify-phases %standard-phases
+ (delete 'configure)
+ (add-before 'check 'check-data
+ (lambda* (#:key inputs #:allow-other-keys)
+ (copy-file (assoc-ref inputs "NormalizationTest.txt")
+ "test/NormalizationTest.txt")
+ #t)))))
+ (native-inputs
+ `(("ocamlbuild" ,ocamlbuild)
+ ("opam" ,opam)
+ ("topkg" ,ocaml-topkg)
+ ;; Test data is otherwise downloaded wit curl
+ ("NormalizationTest.txt"
+ ,(origin
+ (method url-fetch)
+ (uri (string-append "https://www.unicode.org/Public/"
+ version
+ "/ucd/NormalizationTest.txt"))
+ (sha256
+ (base32
"07g0ya4f6zfzvpp24ccxkb2yq568kh83gls85rjl950nv5fya3nn"))))))
+ (propagated-inputs `(("ocaml-uutf" ,ocaml-uutf)))
+ (home-page "https://erratique.ch/software/uunf")
+ (synopsis "Unicode text normalization for OCaml")
+ (description
+ "Uunf is an OCaml library for normalizing Unicode text. It supports all
+Unicode normalization forms. 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-jsonm
(package
(name "ocaml-jsonm")
- 01/20: gnu: ocaml-integers: Update to 0.4.0., (continued)
- 01/20: gnu: ocaml-integers: Update to 0.4.0., guix-commits, 2021/06/06
- 03/20: gnu: ocaml-ctypes: Make ocaml-integers a propagated input., guix-commits, 2021/06/06
- 05/20: gnu: ocaml-lwt: Update to 5.4.0., guix-commits, 2021/06/06
- 08/20: gnu: Add ocaml-stdio., guix-commits, 2021/06/06
- 09/20: gnu: Add ocaml-compiler-libs., guix-commits, 2021/06/06
- 10/20: gnu: ocaml-migrate-parsetree: Update to 2.1.0., guix-commits, 2021/06/06
- 04/20: gnu: ocaml-lwt: Make libev a propagated input., guix-commits, 2021/06/06
- 06/20: gnu: ocaml4.07-gen: Update to 0.5.3., guix-commits, 2021/06/06
- 07/20: gnu: Add ocaml-gen., guix-commits, 2021/06/06
- 11/20: gnu: Add ocaml-ppxlib., guix-commits, 2021/06/06
- 13/20: gnu: Add ocaml-uunf.,
guix-commits <=
- 14/20: gnu: Add ocaml-ppx-sexp-conv., guix-commits, 2021/06/06
- 17/20: gnu: Add ocaml-syntax-shims., guix-commits, 2021/06/06
- 18/20: gnu: Add ocaml-ppx-compare., guix-commits, 2021/06/06
- 20/20: gnu: Add ocaml-ppx-cold., guix-commits, 2021/06/06
- 12/20: gnu: Add ocaml-sedlex., guix-commits, 2021/06/06
- 15/20: gnu: Add ocaml-bigstringaf., guix-commits, 2021/06/06
- 16/20: gnu: Add ocaml-ppx-let., guix-commits, 2021/06/06
- 19/20: gnu: Add ocaml-ppx-here., guix-commits, 2021/06/06