Commit | Line | Data |
---|---|---|
233e7676 | 1 | ;;; GNU Guix --- Functional package management for GNU |
39160232 | 2 | ;;; Copyright © 2012, 2013, 2014 Ludovic Courtès <ludo@gnu.org> |
fdb31626 | 3 | ;;; Copyright © 2015 Mark H Weaver <mhw@netris.org> |
d788fcd3 | 4 | ;;; Copyright © 2016 Jan Nieuwenhuizen <janneke@gnu.org> |
c44899a2 | 5 | ;;; |
233e7676 | 6 | ;;; This file is part of GNU Guix. |
c44899a2 | 7 | ;;; |
233e7676 | 8 | ;;; GNU Guix is free software; you can redistribute it and/or modify it |
c44899a2 LC |
9 | ;;; under the terms of the GNU General Public License as published by |
10 | ;;; the Free Software Foundation; either version 3 of the License, or (at | |
11 | ;;; your option) any later version. | |
12 | ;;; | |
233e7676 | 13 | ;;; GNU Guix is distributed in the hope that it will be useful, but |
c44899a2 LC |
14 | ;;; WITHOUT ANY WARRANTY; without even the implied warranty of |
15 | ;;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | |
16 | ;;; GNU General Public License for more details. | |
17 | ;;; | |
18 | ;;; You should have received a copy of the GNU General Public License | |
233e7676 | 19 | ;;; along with GNU Guix. If not, see <http://www.gnu.org/licenses/>. |
c44899a2 | 20 | |
1ffa7090 | 21 | (define-module (gnu packages libunistring) |
4a44e743 | 22 | #:use-module (guix licenses) |
c44899a2 | 23 | #:use-module (guix packages) |
87f5d366 | 24 | #:use-module (guix download) |
d788fcd3 JN |
25 | #:use-module (guix build-system gnu) |
26 | #:use-module (gnu packages base)) | |
c44899a2 LC |
27 | |
28 | (define-public libunistring | |
29 | (package | |
30 | (name "libunistring") | |
51826574 | 31 | (version "0.9.6") |
c44899a2 | 32 | (source (origin |
87f5d366 | 33 | (method url-fetch) |
c44899a2 | 34 | (uri (string-append |
0db342a5 | 35 | "mirror://gnu/libunistring/libunistring-" |
c44899a2 LC |
36 | version ".tar.gz")) |
37 | (sha256 | |
38 | (base32 | |
51826574 | 39 | "0ixxmgpgh2v8ifm6hbwsjxl023myk3dfnj7wnvmqjivza31fw9cn")))) |
d788fcd3 | 40 | (propagated-inputs (libiconv-if-needed)) |
c44899a2 | 41 | (build-system gnu-build-system) |
39160232 LC |
42 | (arguments |
43 | ;; Work around parallel build issue whereby C files may be compiled before | |
44 | ;; config.h is built: see <http://hydra.gnu.org/build/59381/nixlog/2/raw> and | |
45 | ;; <http://lists.openembedded.org/pipermail/openembedded-core/2012-April/059850.html>. | |
46 | '(#:parallel-build? #f)) | |
f50d2669 | 47 | (synopsis "C library for manipulating Unicode strings") |
c44899a2 | 48 | (description |
79c311b8 LC |
49 | "GNU libunistring is a library providing functions to manipulate |
50 | Unicode strings and for manipulating C strings according to the Unicode | |
51 | standard.") | |
c44899a2 | 52 | (home-page "http://www.gnu.org/software/libunistring/") |
4a44e743 | 53 | (license lgpl3+))) |