[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
03/19: gnu: Add utf8proc-2.6.1.
From: |
guix-commits |
Subject: |
03/19: gnu: Add utf8proc-2.6.1. |
Date: |
Wed, 28 Jul 2021 09:08:19 -0400 (EDT) |
efraim pushed a commit to branch master
in repository guix.
commit 2459cff9ae900cfa5aad402dc7694445278c884b
Author: Jean-Baptiste Volatier <jbv@pm.me>
AuthorDate: Sat Jul 3 17:41:34 2021 +0000
gnu: Add utf8proc-2.6.1.
* gnu/packages/textutils.scm (utf8proc-2.6.1): New variable.
Co-Authored-By: zimoun <zimon.toutoune@gmail.com>.
Signed-off-by: Efraim Flashner <efraim@flashner.co.il>
---
gnu/packages/textutils.scm | 43 +++++++++++++++++++++++++++++++++++++++++++
1 file changed, 43 insertions(+)
diff --git a/gnu/packages/textutils.scm b/gnu/packages/textutils.scm
index c3f4580..bbad8ce 100644
--- a/gnu/packages/textutils.scm
+++ b/gnu/packages/textutils.scm
@@ -20,6 +20,8 @@
;;; Copyright © 2019 Mădălin Ionel Patrașcu
<madalinionel.patrascu@mdc-berlin.de>
;;; Copyright © 2019 Wiktor Żelazny <wzelazny@vurv.cz>
;;; Copyright © 2020 Maxim Cournoyer <maxim.cournoyer@gmail.com>
+;;; Copyright © 2021 Jean-Baptiste Volatier <jbv@pm.me>
+;;; Copyright © 2021 Simon Tournier <zimon.toutoune@gmail.com>
;;;
;;; This file is part of GNU Guix.
;;;
@@ -63,6 +65,7 @@
#:use-module (gnu packages python-build)
#:use-module (gnu packages python-xyz)
#:use-module (gnu packages readline)
+ #:use-module (gnu packages ruby)
#:use-module (gnu packages slang)
#:use-module (gnu packages web))
@@ -201,6 +204,46 @@ normalization, case-folding, and other operations for data
in the UTF-8
encoding, supporting Unicode version 9.0.0.")
(license license:expat)))
+(define-public utf8proc-2.6.1
+ (package
+ (inherit utf8proc)
+ (name "utf8proc")
+ (version "2.6.1")
+ (source
+ (origin
+ (method git-fetch)
+ (uri (git-reference
+ (url "https://github.com/JuliaStrings/utf8proc")
+ (commit (string-append "v" version))))
+ (file-name (git-file-name name version))
+ (sha256
+ (base32 "1zqc6airkzkssbjxanx5v8blfk90180gc9id0dx8ncs54f1ib8w7"))))
+ (arguments
+ (substitute-keyword-arguments (package-arguments utf8proc)
+ ((#:phases phases)
+ `(modify-phases ,phases
+ (replace 'check-data
+ (lambda* (#:key inputs native-inputs #:allow-other-keys)
+ (display native-inputs)
+ (for-each (lambda (i)
+ (copy-file (assoc-ref (or native-inputs inputs) i)
+ (string-append "data/" i)))
+ '("NormalizationTest.txt" "GraphemeBreakTest.txt"
+ "DerivedCoreProperties.txt"))))))))
+ (native-inputs
+ (append
+ (package-native-inputs utf8proc)
+ (let ((UNICODE_VERSION "13.0.0"))
+ `(("DerivedCoreProperties.txt"
+ ,(origin
+ (method url-fetch)
+ (uri (string-append "https://www.unicode.org/Public/"
+ UNICODE_VERSION
"/ucd/DerivedCoreProperties.txt"))
+ (sha256
+ (base32
"0j12x112cd8fpgazkc8izxnhhpia44p1m36ff8yapslxndcmzm55"))))
+ ;; For tests
+ ("ruby" ,ruby)))))))
+
(define-public libconfuse
(package
(name "libconfuse")
- branch master updated (b07c7f0 -> c20c9e1), guix-commits, 2021/07/28
- 01/19: gnu: global: Fix lisp install dir., guix-commits, 2021/07/28
- 02/19: gnu: glibc-for-bootstrap: Update patch., guix-commits, 2021/07/28
- 06/19: gnu: openlibm: Fix cross-compiling., guix-commits, 2021/07/28
- 04/19: gnu: Add pcre2-10.36., guix-commits, 2021/07/28
- 05/19: gnu: openlibm: Update to 0.7.4., guix-commits, 2021/07/28
- 09/19: gnu: julia: Update to 1.6.1., guix-commits, 2021/07/28
- 10/19: gnu: libuv-julia: Clean up package definition., guix-commits, 2021/07/28
- 03/19: gnu: Add utf8proc-2.6.1.,
guix-commits <=
- 07/19: gnu: julia-staticarrays: Update to 1.2.5, guix-commits, 2021/07/28
- 08/19: gnu: Add curl-ssh., guix-commits, 2021/07/28
- 11/19: gnu: llvm-julia: Overide build-type., guix-commits, 2021/07/28
- 12/19: gnu: julia: Skip tests on aarch64-linux., guix-commits, 2021/07/28
- 13/19: gnu: Add julia-preferences., guix-commits, 2021/07/28
- 14/19: gnu: julia-jllwrappers: Add julia-preferences., guix-commits, 2021/07/28
- 15/19: gnu: global: Update to 6.6.7., guix-commits, 2021/07/28
- 17/19: gnu: julia-datavalues: Skip tests., guix-commits, 2021/07/28
- 16/19: gnu: julia-compat: Update to 3.31.0., guix-commits, 2021/07/28
- 18/19: gnu: julia-docstringextensions: Skip tests., guix-commits, 2021/07/28