Subject: [bug#70591] [PATCH v2 07/14] gnu: Add perl-string-util.

From: Julian Flake <[email-masked]>
Date: Fri, 26 Apr 2024 13:42:01 +0200

From: Steve George <[email-masked]>

* gnu/packages/perl.scm (perl-string-util): New variable.

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

diff --git a/gnu/packages/perl.scm b/gnu/packages/perl.scm
index 57a06f836b..362957d5f5 100644
--- a/gnu/packages/perl.scm
+++ b/gnu/packages/perl.scm
@@ -9967,6 +9967,26 @@ (define-public perl-string-print
 a functional interface.")
     (license (package-license perl))))
 
+(define-public perl-string-util
+  (package
+    (name "perl-string-util")
+    (version "1.34")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (string-append
+             "mirror://cpan/authors/id/B/BA/BAKERSCOT/String-Util-" version
+             ".tar.gz"))
+       (sha256
+        (base32 "0sf44mky5kawj9jnf0zpv688wchr5ab5s5gs45jyahakcv6yi71i"))))
+    (build-system perl-build-system)
+    (native-inputs (list perl-module-build-tiny))
+    (home-page "https://metacpan.org/release/String-Util")
+    (synopsis "String processing utility functions")
+    (description "A @code{String::Util} module of small, handy functions for
+processing strings in various ways.")
+    (license license:perl-license)))
+
 (define-public perl-sub-exporter
   (package
     (name "perl-sub-exporter")
-- 
2.41.0