summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRoel Janssen <roel@gnu.org>2018-04-04 15:16:53 +0200
committerRoel Janssen <roel@gnu.org>2018-04-04 15:16:53 +0200
commite1478563979db6d36acccbc6f2bab749c295d68d (patch)
treed869be82edc8f47569625d85bc9fe7ad965aeaa3
parent0d5c19452f49c317505e24f415a5a8fdd1fe54f8 (diff)
downloadpatches-e1478563979db6d36acccbc6f2bab749c295d68d.tar
patches-e1478563979db6d36acccbc6f2bab749c295d68d.tar.gz
gnu: Add perl-memoize.
* gnu/packages/perl.scm (perl-memoize): New variable.
-rw-r--r--gnu/packages/perl.scm19
1 files changed, 19 insertions, 0 deletions
diff --git a/gnu/packages/perl.scm b/gnu/packages/perl.scm
index 34ea031699..7bb43e4620 100644
--- a/gnu/packages/perl.scm
+++ b/gnu/packages/perl.scm
@@ -4760,6 +4760,25 @@ Build a Mail::Internet object, and then send it out using Mail::Mailer.
@end table")
(license perl-license)))
+(define-public perl-memoize
+ (package
+ (name "perl-memoize")
+ (version "1.03")
+ (source (origin
+ (method url-fetch)
+ (uri (string-append
+ "mirror://cpan/authors/id/M/MJ/MJD/Memoize-"
+ version".tgz"))
+ (sha256
+ (base32
+ "1wysq3wrmf1s7s3phimzn7n0dswik7x53apykzgb0l2acigwqfaj"))))
+ (build-system perl-build-system)
+ (home-page "http://search.cpan.org/dist/Memoize/")
+ (synopsis "Make functions faster by trading space for time")
+ (description "This package transparently speeds up functions by caching
+return values, trading space for time.")
+ (license perl-license)))
+
(define-public perl-memoize-expirelru
(package
(name "perl-memoize-expirelru")