Subject: [bug#64486] [PATCH 16/22] gnu: Add perl-hash-defhash.

From: Bruno Victal <[email-masked]>
Date: Thu, 6 Jul 2023 07:42:47 +0100

* gnu/packages/perl.scm (perl-hash-defhash): New variable.
---
 gnu/packages/perl.scm | 22 ++++++++++++++++++++++
 1 file changed, 22 insertions(+)

diff --git a/gnu/packages/perl.scm b/gnu/packages/perl.scm
index f4ecf6169c..ac93a4392f 100644
--- a/gnu/packages/perl.scm
+++ b/gnu/packages/perl.scm
@@ -5520,6 +5520,28 @@ (define-public perl-guard
 which are tied to the scope exit.")
     (license (package-license perl))))
 
+(define-public perl-hash-defhash
+  (package
+    (name "perl-hash-defhash")
+    (version "0.072")
+    (source (origin
+              (method url-fetch)
+              (uri (string-append
+                    "mirror://cpan/authors/id/P/PE/PERLANCAR/Hash-DefHash-"
+                    version ".tar.gz"))
+              (sha256
+               (base32
+                "1kmislv2lwj66n97jqi3wvzgc4s0icz4krp239ni128awqd2k061"))))
+    (build-system perl-build-system)
+    (native-inputs (list perl-test-exception))
+    (propagated-inputs
+     (list perl-regexp-pattern-defhash perl-string-trim-more))
+    (home-page "https://metacpan.org/release/Hash-DefHash")
+    (synopsis "Manipulate defhash")
+    ;; FIXME: What does this package do?
+    (description "Lorem Ipsum...")
+    (license (package-license perl))))
+
 (define-public perl-hash-fieldhash
   (package
     (name "perl-hash-fieldhash")
-- 
2.40.1