Merge branch 'master' into core-updates
[jackhill/guix/guix.git] / gnu / packages / libidn.scm
CommitLineData
233e7676
LC
1;;; GNU Guix --- Functional package management for GNU
2;;; Copyright © 2012 Andreas Enge <andreas@enge.fr>
2ee8edc4 3;;;
233e7676 4;;; This file is part of GNU Guix.
2ee8edc4 5;;;
233e7676 6;;; GNU Guix is free software; you can redistribute it and/or modify it
2ee8edc4
AE
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
2ee8edc4
AE
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/>.
2ee8edc4 18
1ffa7090 19(define-module (gnu packages libidn)
59a43334 20 #:use-module (gnu packages)
2ee8edc4
AE
21 #:use-module (guix licenses)
22 #:use-module (guix packages)
23 #:use-module (guix download)
24 #:use-module (guix build-system gnu))
25
26(define-public libidn
27 (package
28 (name "libidn")
d4781e8c 29 (version "1.28")
2ee8edc4
AE
30 (source (origin
31 (method url-fetch)
32 (uri (string-append "mirror://gnu/libidn/libidn-" version
33 ".tar.gz"))
34 (sha256 (base32
d4781e8c 35 "1yxbfdiwr3l91m79sksn6v5mgpl4lfj8i82zgryckas9hjb7ldfx"))))
2ee8edc4
AE
36 (build-system gnu-build-system)
37;; FIXME: No Java and C# libraries are currently built.
f50d2669 38 (synopsis "Internationalized string processing library")
2ee8edc4 39 (description
79c311b8
LC
40 "libidn is a library implementing of the Stringprep, Punycode and IDNA
41specifications. These are used to encode and decode internationalized domain
42names. It includes native C, C# and Java libraries.")
2ee8edc4
AE
43 (license lgpl2.1+)
44 (home-page "http://www.gnu.org/software/libidn/")))