Subject: [bug#64486] [PATCH 03/22] gnu: Add perl-feature-compat-class.

From: Bruno Victal <[email-masked]>
Date: Thu, 6 Jul 2023 07:42:34 +0100

* gnu/packages/perl.scm (perl-feature-compat-class): New variable.
---
 gnu/packages/perl.scm | 22 ++++++++++++++++++++++
 1 file changed, 22 insertions(+)

diff --git a/gnu/packages/perl.scm b/gnu/packages/perl.scm
index fc904c0b3a..147aed7492 100644
--- a/gnu/packages/perl.scm
+++ b/gnu/packages/perl.scm
@@ -4760,6 +4760,28 @@ (define-public perl-extutils-xspp
 interface XS for C++; it is a thin layer over plain XS.")
     (license (package-license perl))))
 
+(define-public perl-feature-compat-class
+  (package
+    (name "perl-feature-compat-class")
+    (version "0.06")
+    (source (origin
+              (method url-fetch)
+              (uri (string-append
+                    "mirror://cpan/authors/id/P/PE/PEVANS/Feature-Compat-Class-"
+                    version ".tar.gz"))
+              (sha256
+               (base32
+                "1hsyjza638pmmasyk6qjw9mbzjpm3cfjdrs09ww0ylarjk1z7s7q"))))
+    (build-system perl-build-system)
+    (native-inputs (list perl-module-build))
+    (propagated-inputs (list perl-object-pad))
+    (home-page "https://metacpan.org/release/Feature-Compat-Class")
+    (synopsis "Forward-compatible @code{class} syntax in Perl")
+    (description "This module provides the @code{class} keyword and related
+others (@code{method}, @code{field} and @code{ADJUST}) in a forward-compatible
+way.")
+    (license (package-license perl))))
+
 (define-public perl-file-changenotify
   (package
     (name "perl-file-changenotify")
-- 
2.40.1