Subject: [PATCH 43/55] gnu: Add perl-text-xslate.

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

* gnu/packages/perl.scm (perl-text-xslate): New variable.
---
 gnu/packages/perl.scm | 26 ++++++++++++++++++++++++++
 1 file changed, 26 insertions(+)

diff --git a/gnu/packages/perl.scm b/gnu/packages/perl.scm
index df416f802c..0a142a6e05 100644
--- a/gnu/packages/perl.scm
+++ b/gnu/packages/perl.scm
@@ -13157,6 +13157,32 @@ (define-public perl-text-wrapi18n
 words (like Chinese and Japanese) is supported.")
     (license (package-license perl))))
 
+(define-public perl-text-xslate
+  (package
+    (name "perl-text-xslate")
+    (version "3.5.9")
+    (source (origin
+              (method url-fetch)
+              (uri (string-append
+                    "mirror://cpan/authors/id/S/SK/SKAJI/Text-Xslate-v" version
+                    ".tar.gz"))
+              (sha256
+               (base32
+                "103lhyqqv53x9rqsnxcba3pc4qkbwnjsw3gpyd7rjm0aw65mrj20"))))
+    (build-system perl-build-system)
+    (native-inputs (list perl-file-copy-recursive
+                         perl-module-build
+                         perl-module-build-xsutil
+                         perl-test-requires))
+    (propagated-inputs (list perl-data-messagepack perl-mouse))
+    (home-page "https://metacpan.org/release/Text-Xslate")
+    (synopsis "Scalable template engine for Perl5")
+    (description
+     "Xslate is a template engine, tuned for persistent applications, safe as
+an HTML generator, and with rich features.  The core design principle is that
+template logic does not have access outside the template without permission.")
+    (license (package-license perl))))
+
 (define-public perl-regexp-pattern
   (package
     (name "perl-regexp-pattern")
-- 
2.39.2