Subject: [bug#63894] [PATCH 35/55] gnu: Add perl-text-brew.

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

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

diff --git a/gnu/packages/perl.scm b/gnu/packages/perl.scm
index 4ac46172db..324832d2c1 100644
--- a/gnu/packages/perl.scm
+++ b/gnu/packages/perl.scm
@@ -11120,6 +11120,27 @@ (define-public perl-text-balanced
 text sequences from strings.")
     (license (package-license perl))))
 
+(define-public perl-text-brew
+  (package
+    (name "perl-text-brew")
+    (version "0.02")
+    (source (origin
+              (method url-fetch)
+              (uri (string-append
+                    "mirror://cpan/authors/id/K/KC/KCIVEY/Text-Brew-" version
+                    ".tar.gz"))
+              (sha256
+               (base32
+                "0k7nxglbx5pxl693zrj1fsi094sf1a3vqsrn73inzz7r3j28a6xa"))))
+    (build-system perl-build-system)
+    (home-page "https://metacpan.org/release/Text-Brew")
+    (synopsis "An implementation of the Brew edit distance")
+    (description
+     "This module implements the Brew edit distance that is very close to the
+dynamic programming technique used for the Wagner-Fischer (and so for the
+Levenshtein) edit distance.")
+    (license (package-license perl))))
+
 (define-public perl-text-charwidth
   (package
     (name "perl-text-charwidth")
-- 
2.39.2