[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
12/14: gnu: utf8proc: Factor out UNICODE_VERSION.
From: |
guix-commits |
Subject: |
12/14: gnu: utf8proc: Factor out UNICODE_VERSION. |
Date: |
Sat, 16 May 2020 08:31:12 -0400 (EDT) |
nckx pushed a commit to branch master
in repository guix.
commit 63f2de031c7ddbfb0697cccc8f916bd29eaa85de
Author: Tobias Geerinckx-Rice <address@hidden>
AuthorDate: Sat May 16 01:57:24 2020 +0200
gnu: utf8proc: Factor out UNICODE_VERSION.
* gnu/packages/textutils.scm (utf8proc)[native-inputs]: Use a single
UNICODE_VERSION.
---
gnu/packages/textutils.scm | 37 ++++++++++++++++++++-----------------
1 file changed, 20 insertions(+), 17 deletions(-)
diff --git a/gnu/packages/textutils.scm b/gnu/packages/textutils.scm
index c2184de..54267bf 100644
--- a/gnu/packages/textutils.scm
+++ b/gnu/packages/textutils.scm
@@ -151,24 +151,27 @@ libenca and several charset conversion libraries and
tools.")
(sha256
(base32 "1i42hqwc8znqii9brangwkxk5cyc2lk95ip405fg88zr7z2ncr34"))))
(build-system gnu-build-system)
- (native-inputs ;test data that is otherwise downloaded with curl
- `(("NormalizationTest.txt"
- ,(origin
- (method url-fetch)
- (uri (string-append "https://www.unicode.org/Public/12.1.0/ucd/"
- "NormalizationTest.txt"))
- (sha256
- (base32 "0hb97k9xv1lr847hwz0719ksqy39s47xw6k01dgs1368jdibvawc"))))
- ("GraphemeBreakTest.txt"
- ,(origin
- (method url-fetch)
- (uri (string-append "https://www.unicode.org/Public/12.1.0/ucd/"
- "auxiliary/GraphemeBreakTest.txt"))
- (sha256
- (base32 "0qc90ppmrwfn3y9cdn8jcjrn7qpdf0fhxkwh945yp4rvh37mbgcm"))))
+ (native-inputs
+ (let ((UNICODE_VERSION "12.1.0")) ; defined in data/Makefile
+ ;; Test data that is otherwise downloaded with curl.
+ `(("NormalizationTest.txt"
+ ,(origin
+ (method url-fetch)
+ (uri (string-append "https://www.unicode.org/Public/"
+ UNICODE_VERSION "/ucd/NormalizationTest.txt"))
+ (sha256
+ (base32
"0hb97k9xv1lr847hwz0719ksqy39s47xw6k01dgs1368jdibvawc"))))
+ ("GraphemeBreakTest.txt"
+ ,(origin
+ (method url-fetch)
+ (uri (string-append "https://www.unicode.org/Public/"
+ UNICODE_VERSION
+ "/ucd/auxiliary/GraphemeBreakTest.txt"))
+ (sha256
+ (base32
"0qc90ppmrwfn3y9cdn8jcjrn7qpdf0fhxkwh945yp4rvh37mbgcm"))))
- ;; For tests.
- ("perl" ,perl)))
+ ;; For tests.
+ ("perl" ,perl))))
(arguments
'(#:make-flags (list "CC=gcc"
(string-append "prefix=" (assoc-ref %outputs "out")))
- branch master updated (dcaa156 -> 13356b2), guix-commits, 2020/05/16
- 01/14: gnu: fulcrum: Update to 1.1.1., guix-commits, 2020/05/16
- 03/14: gnu: wine-staging-patchset-data: Update to 5.8., guix-commits, 2020/05/16
- 02/14: gnu: flowee: Update to 2020.03.3., guix-commits, 2020/05/16
- 05/14: gnu: lchat: Update to 0.0.0-4.e3b64e6., guix-commits, 2020/05/16
- 06/14: gnu: Don't use NAME in (gnu packages suckless) URIs., guix-commits, 2020/05/16
- 09/14: gnu: libutf: Use GIT- helpers., guix-commits, 2020/05/16
- 08/14: gnu: fortify-headers: Update to 1.1., guix-commits, 2020/05/16
- 12/14: gnu: utf8proc: Factor out UNICODE_VERSION.,
guix-commits <=
- 11/14: gnu: Order (gnu packase suckless) module imports., guix-commits, 2020/05/16
- 10/14: gnu: Support cross-gccs in (gnu packages suckless)., guix-commits, 2020/05/16
- 13/14: gnu: utf8proc: Update to 2.5.0., guix-commits, 2020/05/16
- 04/14: gnu: zsh-autosuggestions: Update to 0.6.4., guix-commits, 2020/05/16
- 07/14: gnu: st: Update to 0.8.3., guix-commits, 2020/05/16
- 14/14: gnu: console-setup: Update to 1.195., guix-commits, 2020/05/16