guix-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

12/27: gnu: Add Memoize-ExpireLRU.


From: Eric Bavier
Subject: 12/27: gnu: Add Memoize-ExpireLRU.
Date: Tue, 17 Mar 2015 18:15:20 +0000

bavier pushed a commit to branch master
in repository guix.

commit f8f744a8d1910cddf3b93c5824da8a4d29deab79
Author: Eric Bavier <address@hidden>
Date:   Mon Mar 16 23:32:36 2015 -0500

    gnu: Add Memoize-ExpireLRU.
    
    * gnu/packages/perl.scm (perl-memoize-expirelru): New variable.
---
 gnu/packages/perl.scm |   20 ++++++++++++++++++++
 1 files changed, 20 insertions(+), 0 deletions(-)

diff --git a/gnu/packages/perl.scm b/gnu/packages/perl.scm
index 8100aaa..d28b753 100644
--- a/gnu/packages/perl.scm
+++ b/gnu/packages/perl.scm
@@ -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.")
     (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
   (package
     (name "perl-module-build-tiny")



reply via email to

[Prev in Thread] Current Thread [Next in Thread]