diff options
author | Ludovic Courtès <ludo@gnu.org> | 2012-07-11 17:25:12 +0200 |
---|---|---|
committer | Ludovic Courtès <ludo@gnu.org> | 2012-07-11 17:25:12 +0200 |
commit | fd33c82c43faafb3a3489e52dd8a6b651d952ac9 (patch) | |
tree | c914d8b37abdf62c5639708fe379f896ca2d6bf8 /distro | |
parent | 454fe58b49cdc636bd81c44fdc566f898c0262a2 (diff) | |
download | guix-fd33c82c43faafb3a3489e52dd8a6b651d952ac9.tar guix-fd33c82c43faafb3a3489e52dd8a6b651d952ac9.tar.gz |
distro: Add GNU libunistring.
* distro/base.scm (libunistring): New variable.
(guile-2.0): Use it.
Diffstat (limited to 'distro')
-rw-r--r-- | distro/base.scm | 36 |
1 files changed, 35 insertions, 1 deletions
diff --git a/distro/base.scm b/distro/base.scm index 695e308bef..7b5a2f8b98 100644 --- a/distro/base.scm +++ b/distro/base.scm @@ -223,6 +223,40 @@ details.") (license "GPLv3+") (home-page "http://www.gnu.org/software/libtool/"))) +(define-public libunistring + (package + (name "libunistring") + (version "0.9.3") + (source (origin + (method http-fetch) + (uri (string-append + "http://ftp.gnu.org/gnu/libunistring/libunistring-" + version ".tar.gz")) + (sha256 + (base32 + "18q620269xzpw39dwvr9zpilnl2dkw5z5kz3mxaadnpv4k3kw3b1")))) + (propagated-inputs '()) ; FIXME: add libiconv when !glibc + (build-system gnu-build-system) + (description "GNU Libunistring, a Unicode string library") + (long-description + "This library provides functions for manipulating Unicode strings and for +manipulating C strings according to the Unicode standard. + +GNU libunistring is for you if your application involves non-trivial text +processing, such as upper/lower case conversions, line breaking, operations +on words, or more advanced analysis of text. Text provided by the user can, +in general, contain characters of all kinds of scripts. The text processing +functions provided by this library handle all scripts and all languages. + +libunistring is for you if your application already uses the ISO C / POSIX +<ctype.h>, <wctype.h> functions and the text it operates on is provided by +the user and can be in any language. + +libunistring is also for you if your application uses Unicode strings as +internal in-memory representation.") + (home-page "http://www.gnu.org/software/libunistring/") + (license "LGPLv3+"))) + (define-public guile-1.8 (package (name "guile") @@ -296,7 +330,7 @@ extensible. It supports many SRFIs.") ;; reads `-lltdl -lunistring', adding them here will add the needed ;; `-L' flags. As for why the `.la' file lacks the `-L' flags, see ;; <http://thread.gmane.org/gmane.comp.lib.gnulib.bugs/18903>. - ("libunistring" ,(nixpkgs-derivation "libunistring")) + ("libunistring" ,libunistring) ("libtool" ,libtool) ;; The headers and/or `guile-2.0.pc' refer to these packages, so they |