gnu: Add Memoize-ExpireLRU.

* gnu/packages/perl.scm (perl-memoize-expirelru): New variable.
This commit is contained in:
Eric Bavier 2015-03-16 23:32:36 -05:00
parent 930768b3e4
commit f8f744a8d1
1 changed files with 20 additions and 0 deletions

View File

@ -1669,6 +1669,26 @@ Perlish API and none of the bloat and rarely used features of IPC::Run.")
functionality on lists which is not going to go into List::Util.") functionality on lists which is not going to go into List::Util.")
(license (package-license perl)))) (license (package-license perl))))
(define-public perl-memoize-expirelru
(package
(name "perl-memoize-expirelru")
(version "0.55")
(source
(origin
(method url-fetch)
(uri (string-append "mirror://cpan/authors/id/B/BP/BPOWERS/"
"Memoize-ExpireLRU-" version ".tar.gz"))
(sha256
(base32
"0klk0vj78lr259mnv1rbxib8gzf2cfp4zhkhbcxyhadkkl73myvj"))))
(build-system perl-build-system)
(home-page "http://search.cpan.org/dist/Memoize-ExpireLRU")
(synopsis "Expiry plug-in for Memoize that adds LRU cache expiration")
(description "This module implements an expiry policy for Memoize that
follows LRU semantics, that is, the last n results, where n is specified as
the argument to the CACHESIZE parameter, will be cached.")
(license (package-license perl))))
(define-public perl-module-build-tiny (define-public perl-module-build-tiny
(package (package
(name "perl-module-build-tiny") (name "perl-module-build-tiny")