From c4e9f2c3eb8593dcb193eb2d7bb7a4dd8d5766d1 Mon Sep 17 00:00:00 2001 From: Patrick Norton Date: Sun, 9 Nov 2025 15:08:07 -0500 Subject: [PATCH] gnu: Add perl-digest-jhash. * gnu/packages/perl.scm (perl-digest-jhash): New variable. Change-Id: I2d43ede680aa791fbaee9494ad2dafe88bcc58aa Signed-off-by: Liliana Marie Prikler --- gnu/packages/perl.scm | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) diff --git a/gnu/packages/perl.scm b/gnu/packages/perl.scm index b9e6a1b4f4..e9041b718d 100644 --- a/gnu/packages/perl.scm +++ b/gnu/packages/perl.scm @@ -4816,6 +4816,28 @@ variables when computing the count.") module, to keep track of the number of tests in a test file.") (license license:x11))) +(define-public perl-digest-jhash + (package + (name "perl-digest-jhash") + (version "0.10") + (source + (origin + (method url-fetch) + (uri (string-append + "mirror://cpan/authors/id/S/SH/SHLOMIF/Digest-JHash-" version + ".tar.gz")) + (sha256 + (base32 "0qq07gp9dcq9hkyvn37r1id5kiyh51vlvm9w4s84000shq5cyin7")))) + (build-system perl-build-system) + (home-page "https://metacpan.org/release/Digest-JHash") + (synopsis "Perl extension for 32 bit Jenkins Hashing Algorithm") + (description + "The Digest::JHash module allows you to use the fast JHash hashing algorithm +developed by Bob Jenkins from within Perl programs. The algorithm takes as +input a message of arbitrary length and produces as output a 32-bit \"message +digest\" of the input in the form of an unsigned long integer.") + (license license:artistic2.0))) + (define-public perl-eval-closure (package (name "perl-eval-closure")