diff options
| author | Antero Mejr <antero@mailbox.org> | 2023-06-04 17:42:34 +0000 |
|---|---|---|
| committer | Danny Milosavljevic <dannym@friendly-machines.com> | 2024-12-22 13:18:06 +0100 |
| commit | 58b98edb186a3626eba24ee7b8a019b31709340b (patch) | |
| tree | c03c7df56ec366d03f6c3e275f425a9042fa9b7f /gnu | |
| parent | 1f96da1f49e847fc3b001ae3bfccaba92a08fc6d (diff) | |
gnu: Add perl-tie-hash-method.
* gnu/packages/perl.scm (perl-tie-hash-method): New variable.
Signed-off-by: Danny Milosavljevic <dannym@friendly-machines.com>
Diffstat (limited to 'gnu')
| -rw-r--r-- | gnu/packages/perl.scm | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/gnu/packages/perl.scm b/gnu/packages/perl.scm index 43f771f7c79..f46f743606f 100644 --- a/gnu/packages/perl.scm +++ b/gnu/packages/perl.scm | |||
| @@ -12125,6 +12125,28 @@ operations can also be performed on the IxHash.") | |||
| 12125 | by modifying the @code{seek()} and @code{tell()} calls.") | 12125 | by modifying the @code{seek()} and @code{tell()} calls.") |
| 12126 | (license license:asl2.0))) | 12126 | (license license:asl2.0))) |
| 12127 | 12127 | ||
| 12128 | (define-public perl-tie-hash-method | ||
| 12129 | (package | ||
| 12130 | (name "perl-tie-hash-method") | ||
| 12131 | (version "0.02") | ||
| 12132 | (source (origin | ||
| 12133 | (method url-fetch) | ||
| 12134 | (uri (string-append | ||
| 12135 | "mirror://cpan/authors/id/Y/YV/YVES/Tie-Hash-Method-" | ||
| 12136 | version ".tar.gz")) | ||
| 12137 | (sha256 | ||
| 12138 | (base32 | ||
| 12139 | "1a9jxhg1jl5rcxnhcmgadl3wcznzjihwxgd1chgcmxqk2jszn4ym")))) | ||
| 12140 | (build-system perl-build-system) | ||
| 12141 | (home-page "https://metacpan.org/release/Tie-Hash-Method") | ||
| 12142 | (synopsis "Tied hash with specific methods overriden by callbacks") | ||
| 12143 | (description | ||
| 12144 | "@code{Tie::Hash::Method} provides a way to create a tied hash with | ||
| 12145 | specific overriden behaviour without having to create a new class to do it. A | ||
| 12146 | tied hash with no methods overriden is functionally equivalent to a normal | ||
| 12147 | hash.") | ||
| 12148 | (license (package-license perl)))) | ||
| 12149 | |||
| 12128 | (define-public perl-tie-simple | 12150 | (define-public perl-tie-simple |
| 12129 | (package | 12151 | (package |
| 12130 | (name "perl-tie-simple") | 12152 | (name "perl-tie-simple") |
