mirror of
https://codeberg.org/guix/guix.git
synced 2025-10-02 02:15:12 +00:00
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>
This commit is contained in:
parent
1f96da1f49
commit
58b98edb18
1 changed files with 22 additions and 0 deletions
|
@ -12125,6 +12125,28 @@ operations can also be performed on the IxHash.")
|
||||||
by modifying the @code{seek()} and @code{tell()} calls.")
|
by modifying the @code{seek()} and @code{tell()} calls.")
|
||||||
(license license:asl2.0)))
|
(license license:asl2.0)))
|
||||||
|
|
||||||
|
(define-public perl-tie-hash-method
|
||||||
|
(package
|
||||||
|
(name "perl-tie-hash-method")
|
||||||
|
(version "0.02")
|
||||||
|
(source (origin
|
||||||
|
(method url-fetch)
|
||||||
|
(uri (string-append
|
||||||
|
"mirror://cpan/authors/id/Y/YV/YVES/Tie-Hash-Method-"
|
||||||
|
version ".tar.gz"))
|
||||||
|
(sha256
|
||||||
|
(base32
|
||||||
|
"1a9jxhg1jl5rcxnhcmgadl3wcznzjihwxgd1chgcmxqk2jszn4ym"))))
|
||||||
|
(build-system perl-build-system)
|
||||||
|
(home-page "https://metacpan.org/release/Tie-Hash-Method")
|
||||||
|
(synopsis "Tied hash with specific methods overriden by callbacks")
|
||||||
|
(description
|
||||||
|
"@code{Tie::Hash::Method} provides a way to create a tied hash with
|
||||||
|
specific overriden behaviour without having to create a new class to do it. A
|
||||||
|
tied hash with no methods overriden is functionally equivalent to a normal
|
||||||
|
hash.")
|
||||||
|
(license (package-license perl))))
|
||||||
|
|
||||||
(define-public perl-tie-simple
|
(define-public perl-tie-simple
|
||||||
(package
|
(package
|
||||||
(name "perl-tie-simple")
|
(name "perl-tie-simple")
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue