Subject: [PATCH v2 26/37] gnu: Add perl-text-reform.

From: Felix Lechner <[email-masked]>
Date: Tue, 16 Jan 2024 14:13:04 -0800

* gnu/packages/perl.scm (perl-text-reform): New variable.

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

diff --git a/gnu/packages/perl.scm b/gnu/packages/perl.scm
index 1074288dfe..1e1b5f82bf 100644
--- a/gnu/packages/perl.scm
+++ b/gnu/packages/perl.scm
@@ -11221,6 +11221,29 @@ (define-public perl-text-patch
 by the standard @code{diff} utility.")
     (license license:gpl2+)))
 
+(define-public perl-text-reform
+  (package
+    (name "perl-text-reform")
+    (version "1.20")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (string-append "mirror://cpan/authors/id/C/CH/CHORNY/Text-Reform-"
+                           version ".tar.gz"))
+       (sha256
+        (base32 "0qdfnhfn8frnkbpkkw64fhnnxsbb6mmb6dr30c0p1jdaq7c2syd8"))))
+    (build-system perl-build-system)
+    (native-inputs (list perl-module-build))
+    (home-page "https://metacpan.org/release/Text-Reform")
+    (synopsis "Manual text wrapping and reformatting")
+    (description "The routines in this module take a series of format (or
+picture) strings followed by replacement values.  They interpolate those
+values into the picture strings, and return the results.  The effects are
+similar to Perl's built-in formatting mechanism, although the field
+specifications are simpler and some of the formatting behaviour is more
+sophisticated.")
+    (license license:perl-license)))
+
 (define-public perl-text-roman
   (package
     (name "perl-text-roman")
-- 
2.41.0