Subject: [PATCH 07/12] gnu: Add perl-lexical-persistence.

From: Wilko Meyer <[email-masked]>
Date: Mon, 18 Dec 2023 18:03:07 +0100

* gnu/packages/perl.scm (perl-lexical-persistence): New variable.

Change-Id: I064c78ea87b91b8c7d68518eb0d80fa5e0b0824b
---
 gnu/packages/perl.scm | 20 ++++++++++++++++++++
 1 file changed, 20 insertions(+)

diff --git a/gnu/packages/perl.scm b/gnu/packages/perl.scm
index 2847cd8188..8858a101f6 100644
--- a/gnu/packages/perl.scm
+++ b/gnu/packages/perl.scm
@@ -6196,6 +6196,26 @@ (define-public perl-json-xs
 versa.")
     (license (package-license perl))))
 
+(define-public perl-lexical-persistence
+  (package
+    (name "perl-lexical-persistence")
+    (version "1.023")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (string-append
+             "mirror://cpan/authors/id/R/RC/RCAPUTO/Lexical-Persistence-"
+             version ".tar.gz"))
+       (sha256
+        (base32 "0i39wf55wzvz1iisl66csxdrz9m3wzcl4w4zxafcm19qfi5gmlll"))))
+    (build-system perl-build-system)
+    (propagated-inputs (list perl-devel-lexalias perl-padwalker))
+    (home-page "https://metacpan.org/release/Lexical-Persistence")
+    (synopsis "Persistent lexical variable values for arbitrary calls.")
+    (description "@code{Lexical::Persistence} introduces persistent lexical
+variable values for arbitrary calls.")
+    (license license:perl-license)))
+
 (define-public perl-lexical-sealrequirehints
   (package
     (name "perl-lexical-sealrequirehints")
-- 
2.41.0