GNU bug report logs - #67963
[PATCH 0/4] Add Perl modules for debbugs.gnu.org

Previous Next

Package: guix-patches;

Reported by: Felix Lechner <felix.lechner <at> lease-up.com>

Date: Fri, 22 Dec 2023 04:15:01 UTC

Severity: normal

Tags: patch

Done: Nicolas Goaziou <mail <at> nicolasgoaziou.fr>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: Felix Lechner <felix.lechner <at> lease-up.com>
To: 67963 <at> debbugs.gnu.org
Cc: Felix Lechner <felix.lechner <at> lease-up.com>
Subject: [bug#67963] [PATCH v2 07/37] gnu: Add perl-class-hash.
Date: Tue, 16 Jan 2024 14:12:45 -0800
* gnu/packages/perl.scm (perl-class-hash): New variable.

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

diff --git a/gnu/packages/perl.scm b/gnu/packages/perl.scm
index 3f21c7e495..6314924868 100644
--- a/gnu/packages/perl.scm
+++ b/gnu/packages/perl.scm
@@ -1617,6 +1617,27 @@ (define-public perl-class-factory-util
     (description "This module exports methods useful for factory classes.")
     (license (package-license perl))))
 
+(define-public perl-class-hash
+  (package
+    (name "perl-class-hash")
+    (version "1.01")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (string-append
+             "mirror://cpan/authors/id/H/HA/HANENKAMP/Class-Hash/Class-Hash-"
+             version ".tar.gz"))
+       (sha256
+        (base32 "1kcg00ks6vica496m6dqwb1c9gkb6igndkrxr4a7ff7391yg3ywz"))))
+    (build-system perl-build-system)
+    (home-page "https://metacpan.org/release/Class-Hash")
+    (synopsis "Perl extension for hashes that look like classes")
+    (description "This component provides a method-based interface to a hash.
+Occasionally, it's more convenient to have named methods to access a hash
+than hash keys.  This module generalizes that behavior.  It tries to work
+the tied hash interface inside-out.")
+    (license license:perl-license)))
+
 (define-public perl-class-inspector
   (package
     (name "perl-class-inspector")
-- 
2.41.0





This bug report was last modified 75 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.