Subject: [bug#70591] [PATCH v2 10/14] gnu: Add perl-digest-perl-md5.

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

From: Steve George <[email-masked]>

* gnu/packages/perl.scm (perl-digest-perl-md5): New variable.

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

diff --git a/gnu/packages/perl.scm b/gnu/packages/perl.scm
index a72c3af765..9f1a9fdfcc 100644
--- a/gnu/packages/perl.scm
+++ b/gnu/packages/perl.scm
@@ -4094,6 +4094,26 @@ (define-public perl-digest-md5
 128-bit \"fingerprint\" or \"message digest\" of the input.")
     (license (package-license perl))))
 
+(define-public perl-digest-perl-md5
+  (package
+    (name "perl-digest-perl-md5")
+    (version "1.9")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (string-append
+             "mirror://cpan/authors/id/D/DE/DELTA/Digest-Perl-MD5-" version
+             ".tar.gz"))
+       (sha256
+        (base32 "1cfrxkzazxdg4prdfcfd9b33bvyav1xim2vxj07gni8gf6hwn03i"))))
+    (build-system perl-build-system)
+    (home-page "https://metacpan.org/release/Digest-Perl-MD5")
+    (synopsis "Perl Implementation of Rivest's MD5 algorithm")
+    (description "This @code{Digest::Perl::MD5} has the same interface as the
+much faster @code{Digest::MD5}, but it's a pure Perl implementation of MD5.
+Because of this it is slow but it works without C code.")
+    (license license:perl-license)))
+
 (define-public perl-digest-sha
   (package
     (name "perl-digest-sha")
-- 
2.41.0