summary refs log tree commit diff
path: root/gnu/packages/web.scm
diff options
context:
space:
mode:
authorEric Bavier <bavier@member.fsf.org>2015-04-03 11:25:34 -0500
committerEric Bavier <bavier@member.fsf.org>2015-04-04 00:46:03 -0500
commit47533b6f699dc572d43c8a5cf96d9d02bae4a023 (patch)
treefcd9553fa8611829b384ed07f350c1e1dff50799 /gnu/packages/web.scm
parenta1c9547f2583d97879c01795be57c7debeaefa8e (diff)
downloadguix-47533b6f699dc572d43c8a5cf96d9d02bae4a023.tar.gz
gnu: Add Catalyst-Plugin-Session-Store-FastMmap.
* gnu/packages/web.scm (perl-catalyst-plugin-session-store-fastmmap): New
  variable.
Diffstat (limited to 'gnu/packages/web.scm')
-rw-r--r--gnu/packages/web.scm30
1 files changed, 30 insertions, 0 deletions
diff --git a/gnu/packages/web.scm b/gnu/packages/web.scm
index 3ad74e13f6..b1593676f7 100644
--- a/gnu/packages/web.scm
+++ b/gnu/packages/web.scm
@@ -895,6 +895,36 @@ on the server.  This plugin stores the session ID on the client using the
 cookie mechanism.")
     (license (package-license perl))))
 
+(define-public perl-catalyst-plugin-session-store-fastmmap
+  (package
+    (name "perl-catalyst-plugin-session-store-fastmmap")
+    (version "0.16")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (string-append "mirror://cpan/authors/id/B/BO/BOBTFISH/"
+                           "Catalyst-Plugin-Session-Store-FastMmap-"
+                           version ".tar.gz"))
+       (sha256
+        (base32
+         "0x3j6zv3wr41jlwr6yb2jpmcx019ibyn11y8653ffnwhpzbpzsxs"))))
+    (build-system perl-build-system)
+    (propagated-inputs
+     `(("perl-cache-fastmmap" ,perl-cache-fastmmap)
+       ("perl-catalyst-plugin-session" ,perl-catalyst-plugin-session)
+       ("perl-catalyst-runtime" ,perl-catalyst-runtime)
+       ("perl-moosex-emulate-class-accessor-fast"
+        ,perl-moosex-emulate-class-accessor-fast)
+       ("perl-mro-compat" ,perl-mro-compat)
+       ("perl-path-class" ,perl-path-class)))
+    (home-page
+     "http://search.cpan.org/dist/Catalyst-Plugin-Session-Store-FastMmap")
+    (synopsis "FastMmap session storage backend.")
+    (description "Catalyst::Plugin::Session::Store::FastMmap is a fast session
+storage plugin for Catalyst that uses an mmap'ed file to act as a shared
+memory interprocess cache.  It is based on Cache::FastMmap.")
+    (license (package-license perl))))
+
 (define-public perl-catalyst-plugin-static-simple
   (package
     (name "perl-catalyst-plugin-static-simple")