gnu: libdrm: Update to 2.4.92.
[jackhill/guix/guix.git] / gnu / packages / libunistring.scm
CommitLineData
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>
652cad85 4;;; Copyright © 2016, 2018 Efraim Flashner <efraim@flashner.co.il>
d788fcd3 5;;; Copyright © 2016 Jan Nieuwenhuizen <janneke@gnu.org>
b100e0e8 6;;; Copyright © 2017 Mathieu Othacehe <m.othacehe@gmail.com>
acc2dab7 7;;; Copyright © 2017 Eric Bavier <bavier@member.fsf.org>
c44899a2 8;;;
233e7676 9;;; This file is part of GNU Guix.
c44899a2 10;;;
233e7676 11;;; GNU Guix is free software; you can redistribute it and/or modify it
c44899a2
LC
12;;; under the terms of the GNU General Public License as published by
13;;; the Free Software Foundation; either version 3 of the License, or (at
14;;; your option) any later version.
15;;;
233e7676 16;;; GNU Guix is distributed in the hope that it will be useful, but
c44899a2
LC
17;;; WITHOUT ANY WARRANTY; without even the implied warranty of
18;;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
19;;; GNU General Public License for more details.
20;;;
21;;; You should have received a copy of the GNU General Public License
233e7676 22;;; along with GNU Guix. If not, see <http://www.gnu.org/licenses/>.
c44899a2 23
1ffa7090 24(define-module (gnu packages libunistring)
4a44e743 25 #:use-module (guix licenses)
c44899a2 26 #:use-module (guix packages)
87f5d366 27 #:use-module (guix download)
d788fcd3 28 #:use-module (guix build-system gnu)
b100e0e8 29 #:use-module (gnu packages)
d788fcd3 30 #:use-module (gnu packages base))
c44899a2
LC
31
32(define-public libunistring
33 (package
34 (name "libunistring")
652cad85 35 (version "0.9.9")
c44899a2 36 (source (origin
87f5d366 37 (method url-fetch)
c44899a2 38 (uri (string-append
0db342a5 39 "mirror://gnu/libunistring/libunistring-"
d54c0bfd 40 version ".tar.xz"))
c44899a2
LC
41 (sha256
42 (base32
652cad85 43 "0cx8v6862w7vvacbkcvg49kfx731ckdgaybmzw1zav71zkn97nd4"))
acc2dab7
EB
44 (modules '((guix build utils)))
45 (snippet
46 '(begin
47 ;; The gnulib test-lock test is prone to writer starvation
48 ;; with our glibc@2.25, which prefers readers, so disable it.
49 ;; The gnulib commit b20e8afb0b2 should fix this once
50 ;; incorporated here.
51 (substitute* "tests/Makefile.in"
52 (("test-lock\\$\\(EXEEXT\\) ") ""))
53 #t))))
d788fcd3 54 (propagated-inputs (libiconv-if-needed))
c44899a2 55 (build-system gnu-build-system)
39160232
LC
56 (arguments
57 ;; Work around parallel build issue whereby C files may be compiled before
58 ;; config.h is built: see <http://hydra.gnu.org/build/59381/nixlog/2/raw> and
59 ;; <http://lists.openembedded.org/pipermail/openembedded-core/2012-April/059850.html>.
60 '(#:parallel-build? #f))
f50d2669 61 (synopsis "C library for manipulating Unicode strings")
c44899a2 62 (description
79c311b8
LC
63 "GNU libunistring is a library providing functions to manipulate
64Unicode strings and for manipulating C strings according to the Unicode
65standard.")
d54c0bfd
EF
66 (home-page "https://www.gnu.org/software/libunistring/")
67 (license (list lgpl3+ gpl2))))