diff options
author | Leo Prikler <leo.prikler@student.tugraz.at> | 2020-01-17 11:20:46 +0100 |
---|---|---|
committer | Ricardo Wurmus <rekado@elephly.net> | 2020-02-03 17:00:18 +0100 |
commit | 5a2ef79db2fc081439be3e0bfcc44b1f2208549f (patch) | |
tree | 0cb83f634ef8cf302cbdd72cb78a58b703922fc1 /gnu/packages/unicode.scm | |
parent | 933bb1acdba5fc216d12f4eb98808e57102d7654 (diff) | |
download | patches-5a2ef79db2fc081439be3e0bfcc44b1f2208549f.tar patches-5a2ef79db2fc081439be3e0bfcc44b1f2208549f.tar.gz |
gnu: Add ucd.
* gnu/packages/unicode.scm (ucd): New variable.
Signed-off-by: Ricardo Wurmus <rekado@elephly.net>
Diffstat (limited to 'gnu/packages/unicode.scm')
-rw-r--r-- | gnu/packages/unicode.scm | 29 |
1 files changed, 29 insertions, 0 deletions
diff --git a/gnu/packages/unicode.scm b/gnu/packages/unicode.scm index b110a868c3..3b34096fe5 100644 --- a/gnu/packages/unicode.scm +++ b/gnu/packages/unicode.scm @@ -23,6 +23,35 @@ #:use-module (guix utils) #:use-module (guix build-system trivial)) +(define-public ucd + (package + (name "ucd") + (version "12.0.0") + (source + (origin + (method url-fetch/zipbomb) + (uri (string-append "https://www.unicode.org/Public/zipped/" version + "/UCD.zip")) + (sha256 + (base32 + "1ighy39cjkmqnv1797wrxjz76mv1fdw7zp5j04q55bkwxsdkvrmh")))) + (build-system trivial-build-system) + (arguments + `(#:modules ((guix build utils)) + #:builder + (let ((out (string-append %output "/share/ucd"))) + (use-modules (guix build utils)) + (mkdir-p out) + (copy-recursively (assoc-ref %build-inputs "source") out) + #t))) + (home-page "https://www.unicode.org") + (synopsis "Unicode Character Database") + (description + "The @dfn{Unicode Character Database} (UCD) consists of a number of data +files listing Unicode character properties and related data. It also includes +test data for conformance to several important Unicode algorithms.") + (license unicode))) + (define (unicode-emoji-file name version hash) (origin (method url-fetch) |