mirror of
https://codeberg.org/guix/guix.git
synced 2025-10-02 02:15:12 +00:00
gnu: utf8proc: Factor out UNICODE_VERSION.
* gnu/packages/textutils.scm (utf8proc)[native-inputs]: Use a single UNICODE_VERSION.
This commit is contained in:
parent
b273158bb4
commit
63f2de031c
1 changed files with 20 additions and 17 deletions
|
@ -151,24 +151,27 @@ libenca and several charset conversion libraries and tools.")
|
||||||
(sha256
|
(sha256
|
||||||
(base32 "1i42hqwc8znqii9brangwkxk5cyc2lk95ip405fg88zr7z2ncr34"))))
|
(base32 "1i42hqwc8znqii9brangwkxk5cyc2lk95ip405fg88zr7z2ncr34"))))
|
||||||
(build-system gnu-build-system)
|
(build-system gnu-build-system)
|
||||||
(native-inputs ;test data that is otherwise downloaded with curl
|
(native-inputs
|
||||||
`(("NormalizationTest.txt"
|
(let ((UNICODE_VERSION "12.1.0")) ; defined in data/Makefile
|
||||||
,(origin
|
;; Test data that is otherwise downloaded with curl.
|
||||||
(method url-fetch)
|
`(("NormalizationTest.txt"
|
||||||
(uri (string-append "https://www.unicode.org/Public/12.1.0/ucd/"
|
,(origin
|
||||||
"NormalizationTest.txt"))
|
(method url-fetch)
|
||||||
(sha256
|
(uri (string-append "https://www.unicode.org/Public/"
|
||||||
(base32 "0hb97k9xv1lr847hwz0719ksqy39s47xw6k01dgs1368jdibvawc"))))
|
UNICODE_VERSION "/ucd/NormalizationTest.txt"))
|
||||||
("GraphemeBreakTest.txt"
|
(sha256
|
||||||
,(origin
|
(base32 "0hb97k9xv1lr847hwz0719ksqy39s47xw6k01dgs1368jdibvawc"))))
|
||||||
(method url-fetch)
|
("GraphemeBreakTest.txt"
|
||||||
(uri (string-append "https://www.unicode.org/Public/12.1.0/ucd/"
|
,(origin
|
||||||
"auxiliary/GraphemeBreakTest.txt"))
|
(method url-fetch)
|
||||||
(sha256
|
(uri (string-append "https://www.unicode.org/Public/"
|
||||||
(base32 "0qc90ppmrwfn3y9cdn8jcjrn7qpdf0fhxkwh945yp4rvh37mbgcm"))))
|
UNICODE_VERSION
|
||||||
|
"/ucd/auxiliary/GraphemeBreakTest.txt"))
|
||||||
|
(sha256
|
||||||
|
(base32 "0qc90ppmrwfn3y9cdn8jcjrn7qpdf0fhxkwh945yp4rvh37mbgcm"))))
|
||||||
|
|
||||||
;; For tests.
|
;; For tests.
|
||||||
("perl" ,perl)))
|
("perl" ,perl))))
|
||||||
(arguments
|
(arguments
|
||||||
'(#:make-flags (list "CC=gcc"
|
'(#:make-flags (list "CC=gcc"
|
||||||
(string-append "prefix=" (assoc-ref %outputs "out")))
|
(string-append "prefix=" (assoc-ref %outputs "out")))
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue