Subject: [bug#63894] [PATCH 21/55] gnu: Add perl-exporter-declare.

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

* gnu/packages/perl.scm (perl-exporter-declare): New variable.
---
 gnu/packages/perl.scm | 28 ++++++++++++++++++++++++++++
 1 file changed, 28 insertions(+)

diff --git a/gnu/packages/perl.scm b/gnu/packages/perl.scm
index f4423b0958..e02a42954d 100644
--- a/gnu/packages/perl.scm
+++ b/gnu/packages/perl.scm
@@ -4593,6 +4593,34 @@ (define-public perl-exporter
 common case.")
     (license (package-license perl))))
 
+(define-public perl-exporter-declare
+  (package
+    (name "perl-exporter-declare")
+    (version "0.114")
+    (source (origin
+              (method url-fetch)
+              (uri (string-append
+                    "mirror://cpan/authors/id/E/EX/EXODIST/Exporter-Declare-"
+                    version ".tar.gz"))
+              (sha256
+               (base32
+                "1r6ly42g5x8highwng13y5c3lndqjfnd8666wjknnvvglxn0vmsb"))))
+    (build-system perl-build-system)
+    (native-inputs (list perl-fennec-lite
+                         perl-module-build
+                         perl-test-exception))
+    (propagated-inputs (list perl-aliased
+                             perl-meta-builder))
+    (home-page "https://metacpan.org/release/Exporter-Declare")
+    (synopsis "Meta-driven exporting tool")
+    (description
+     "@code{Exporter::Declare} is a meta-driven exporting tool.  It tries to
+adopt all the good features of other exporting tools, while replacing bad
+interfaces. @code{Exporter::Declare} also provides hooks that allow you to add
+options and arguments for import.  @code{Exporter::Declare}'s meta-driven
+system allows for top-notch introspection.")
+    (license license:perl-license)))
+
 (define-public perl-exporter-lite
   (package
     (name "perl-exporter-lite")
-- 
2.39.2