Subject: [PATCH 53/55] gnu: Add perl-net-libidn.

From: Antero Mejr <[email-masked]>
Date: Sun, 4 Jun 2023 17:42:47 +0000

* gnu/packages/perl-web.scm (perl-net-libidn): New variable.
---
 gnu/packages/perl-web.scm | 22 ++++++++++++++++++++++
 1 file changed, 22 insertions(+)

diff --git a/gnu/packages/perl-web.scm b/gnu/packages/perl-web.scm
index bcc951d34a..1054b04fe6 100644
--- a/gnu/packages/perl-web.scm
+++ b/gnu/packages/perl-web.scm
@@ -394,3 +394,25 @@ (define-public perl-mail-dmarc
 the 2013 DMARC draft, intending to implement every MUST and every SHOULD.")
     (license license:perl-license)))
 
+(define-public perl-net-libidn
+  (package
+    (name "perl-net-libidn")
+    (version "0.12")
+    (source (origin
+              (method url-fetch)
+              (uri (string-append
+                    "mirror://cpan/authors/id/T/TH/THOR/Net-LibIDN-" version
+                    ".tar.gz"))
+              (sha256
+               (base32
+                "05xvpn9z7dpv62a5wgjx1n9kxblkqsgl9kb3vk3nx1mk8aacr2ig"))))
+    (build-system perl-build-system)
+    (inputs (list libidn))
+    (home-page "https://metacpan.org/release/Net-LibIDN")
+    (synopsis "Perl bindings for GNU Libidn")
+    (description
+     "The package provides bindings for GNU Libidn, a C library for handling
+Internationalized Domain Names according to IDNA (RFC 3490), in a way very
+much inspired by Turbo Fredriksson's PHP-IDN.")
+    (license (list license:gpl1+ license:clarified-artistic))))
+
-- 
2.39.2