Commit | Line | Data |
---|---|---|
233e7676 LC |
1 | ;;; GNU Guix --- Functional package management for GNU |
2 | ;;; Copyright © 2012 Ludovic Courtès <ludo@gnu.org> | |
c44899a2 | 3 | ;;; |
233e7676 | 4 | ;;; This file is part of GNU Guix. |
c44899a2 | 5 | ;;; |
233e7676 | 6 | ;;; GNU Guix is free software; you can redistribute it and/or modify it |
c44899a2 LC |
7 | ;;; under the terms of the GNU General Public License as published by |
8 | ;;; the Free Software Foundation; either version 3 of the License, or (at | |
9 | ;;; your option) any later version. | |
10 | ;;; | |
233e7676 | 11 | ;;; GNU Guix is distributed in the hope that it will be useful, but |
c44899a2 LC |
12 | ;;; WITHOUT ANY WARRANTY; without even the implied warranty of |
13 | ;;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | |
14 | ;;; GNU General Public License for more details. | |
15 | ;;; | |
16 | ;;; You should have received a copy of the GNU General Public License | |
233e7676 | 17 | ;;; along with GNU Guix. If not, see <http://www.gnu.org/licenses/>. |
c44899a2 LC |
18 | |
19 | (define-module (distro packages libunistring) | |
4a44e743 | 20 | #:use-module (guix licenses) |
c44899a2 | 21 | #:use-module (guix packages) |
87f5d366 | 22 | #:use-module (guix download) |
c44899a2 LC |
23 | #:use-module (guix utils) |
24 | #:use-module (guix build-system gnu)) | |
25 | ||
26 | (define-public libunistring | |
27 | (package | |
28 | (name "libunistring") | |
29 | (version "0.9.3") | |
30 | (source (origin | |
87f5d366 | 31 | (method url-fetch) |
c44899a2 | 32 | (uri (string-append |
0db342a5 | 33 | "mirror://gnu/libunistring/libunistring-" |
c44899a2 LC |
34 | version ".tar.gz")) |
35 | (sha256 | |
36 | (base32 | |
37 | "18q620269xzpw39dwvr9zpilnl2dkw5z5kz3mxaadnpv4k3kw3b1")))) | |
38 | (propagated-inputs '()) ; FIXME: add libiconv when !glibc | |
39 | (build-system gnu-build-system) | |
40 | (synopsis "GNU Libunistring, a Unicode string library") | |
41 | (description | |
42 | "This library provides functions for manipulating Unicode strings and for | |
43 | manipulating C strings according to the Unicode standard. | |
44 | ||
45 | GNU libunistring is for you if your application involves non-trivial text | |
46 | processing, such as upper/lower case conversions, line breaking, operations | |
47 | on words, or more advanced analysis of text. Text provided by the user can, | |
48 | in general, contain characters of all kinds of scripts. The text processing | |
49 | functions provided by this library handle all scripts and all languages. | |
50 | ||
51 | libunistring is for you if your application already uses the ISO C / POSIX | |
52 | <ctype.h>, <wctype.h> functions and the text it operates on is provided by | |
53 | the user and can be in any language. | |
54 | ||
55 | libunistring is also for you if your application uses Unicode strings as | |
56 | internal in-memory representation.") | |
57 | (home-page "http://www.gnu.org/software/libunistring/") | |
4a44e743 | 58 | (license lgpl3+))) |