Commit | Line | Data |
---|---|---|
233e7676 | 1 | ;;; GNU Guix --- Functional package management for GNU |
39160232 | 2 | ;;; Copyright © 2012, 2013, 2014 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 | 18 | |
1ffa7090 | 19 | (define-module (gnu 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 build-system gnu)) |
24 | ||
25 | (define-public libunistring | |
26 | (package | |
27 | (name "libunistring") | |
28 | (version "0.9.3") | |
29 | (source (origin | |
87f5d366 | 30 | (method url-fetch) |
c44899a2 | 31 | (uri (string-append |
0db342a5 | 32 | "mirror://gnu/libunistring/libunistring-" |
c44899a2 LC |
33 | version ".tar.gz")) |
34 | (sha256 | |
35 | (base32 | |
36 | "18q620269xzpw39dwvr9zpilnl2dkw5z5kz3mxaadnpv4k3kw3b1")))) | |
37 | (propagated-inputs '()) ; FIXME: add libiconv when !glibc | |
38 | (build-system gnu-build-system) | |
39160232 LC |
39 | (arguments |
40 | ;; Work around parallel build issue whereby C files may be compiled before | |
41 | ;; config.h is built: see <http://hydra.gnu.org/build/59381/nixlog/2/raw> and | |
42 | ;; <http://lists.openembedded.org/pipermail/openembedded-core/2012-April/059850.html>. | |
43 | '(#:parallel-build? #f)) | |
f50d2669 | 44 | (synopsis "C library for manipulating Unicode strings") |
c44899a2 | 45 | (description |
79c311b8 LC |
46 | "GNU libunistring is a library providing functions to manipulate |
47 | Unicode strings and for manipulating C strings according to the Unicode | |
48 | standard.") | |
c44899a2 | 49 | (home-page "http://www.gnu.org/software/libunistring/") |
4a44e743 | 50 | (license lgpl3+))) |