| 1 | |
| 2 | |
| 3 | |
| 4 | |
| 5 | |
| 6 | |
| 7 | |
| 8 | |
| 9 | |
| 10 | |
| 11 | |
| 12 | |
| 13 | |
| 14 | |
| 15 | |
| 16 | |
| 17 | |
| 18 | |
| 19 | |
| 20 | |
| 21 | |
| 22 | |
| 23 | |
| 24 |
|
| 25 | (define-module (gnu packages libidn)
|
| 26 | #:use-module (gnu packages)
|
| 27 | #:use-module (gnu packages compression)
|
| 28 | #:use-module (gnu packages libunistring)
|
| 29 | #:use-module (guix licenses)
|
| 30 | #:use-module (guix packages)
|
| 31 | #:use-module (guix download)
|
| 32 | #:use-module (guix build-system gnu))
|
| 33 |
|
| 34 | (define-public libidn
|
| 35 | (package
|
| 36 | (name "libidn")
|
| 37 | (version "1.43")
|
| 38 | (source (origin
|
| 39 | (method url-fetch)
|
| 40 | (uri (string-append "mirror://gnu/libidn/libidn-" version
|
| 41 | ".tar.gz"))
|
| 42 | (sha256
|
| 43 | (base32
|
| 44 | "0r6ih8s48flnjqsfyi566gdhq4s1wykg6f76s0wja6q45p0n5imx"))))
|
| 45 | (build-system gnu-build-system)
|
| 46 | |
| 47 | (arguments
|
| 48 | `(#:configure-flags '("--disable-static")))
|
| 49 | (synopsis "Internationalized string processing library")
|
| 50 | (description
|
| 51 | "libidn is a library implementing of the Stringprep, Punycode and IDNA
|
| 52 | specifications. These are used to encode and decode internationalized domain
|
| 53 | names according to the IDNA2003 specifications. It includes native C, C# and
|
| 54 | Java libraries.")
|
| 55 | |
| 56 | |
| 57 | (license (list gpl2+ gpl3+ lgpl3+ fdl1.3+))
|
| 58 | (home-page "https://www.gnu.org/software/libidn/")))
|
| 59 |
|
| 60 | (define-public libidn2
|
| 61 | (package
|
| 62 | (name "libidn2")
|
| 63 | (version "2.3.8")
|
| 64 | (source (origin
|
| 65 | (method url-fetch)
|
| 66 | (uri (string-append "mirror://gnu/libidn/" name "-" version
|
| 67 | ".tar.gz"))
|
| 68 | (sha256
|
| 69 | (base32
|
| 70 | "0ykqq39yacg9vvf2alyl5sskbfr531dmzwrgyzhj25hpyqdr2mzm"))))
|
| 71 | (inputs
|
| 72 | (list libunistring))
|
| 73 | (build-system gnu-build-system)
|
| 74 | (arguments
|
| 75 | `(#:configure-flags '("--disable-static")))
|
| 76 | (synopsis "Internationalized domain name library for IDNA2008")
|
| 77 | (description "Libidn2 is an internationalized domain library implementing
|
| 78 | the IDNA2008 specifications. Libidn2 is believed to be a complete IDNA2008
|
| 79 | implementation, but has yet to be as extensively used as the original Libidn
|
| 80 | library.")
|
| 81 | (home-page "https://www.gnu.org/software/libidn/#libidn2")
|
| 82 | (properties '((ftp-directory . "/gnu/libidn")))
|
| 83 | |
| 84 | |
| 85 | (license (list gpl2+ gpl3+ lgpl3+))))
|