guix-commits
[Top][All Lists]
Advanced

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

01/07: gnu: Add Catalyst-DispatchType-Regex.


From: Eric Bavier
Subject: 01/07: gnu: Add Catalyst-DispatchType-Regex.
Date: Thu, 02 Apr 2015 15:40:28 +0000

bavier pushed a commit to branch master
in repository guix.

commit 9473af1d2c5867f6060594c863b8a6e22ccd77a4
Author: Eric Bavier <address@hidden>
Date:   Wed Apr 1 12:28:57 2015 -0500

    gnu: Add Catalyst-DispatchType-Regex.
    
    * gnu/packages/web.scm (perl-catalyst-dispatchtype-regex): New
      variable.
---
 gnu/packages/web.scm |   30 ++++++++++++++++++++++++++++++
 1 files changed, 30 insertions(+), 0 deletions(-)

diff --git a/gnu/packages/web.scm b/gnu/packages/web.scm
index cbf3cb3..32bc68f 100644
--- a/gnu/packages/web.scm
+++ b/gnu/packages/web.scm
@@ -648,6 +648,36 @@ extension for Catalyst; and requirements for a variety of 
development-related
 modules.")
     (license (package-license perl))))
 
+(define-public perl-catalyst-dispatchtype-regex
+  (package
+    (name "perl-catalyst-dispatchtype-regex")
+    (version "5.90035")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (string-append "mirror://cpan/authors/id/M/MG/MGRIMES/"
+                           "Catalyst-DispatchType-Regex-" version ".tar.gz"))
+       (sha256
+        (base32
+         "06jq1lmpq88rmp9zik5gqczg234xac0hiyc3l698iif7zsgcyb80"))))
+    (build-system perl-build-system)
+    (native-inputs
+     `(("perl-module-build" ,perl-module-build) ;needs Module::Build >= 0.4004
+       ("perl-namespace-autoclean" ,perl-namespace-autoclean)
+       ("perl-catalyst-runtime" ,perl-catalyst-runtime)))
+    (propagated-inputs
+     `(("perl-moose" ,perl-moose)
+       ("perl-text-simpletable" ,perl-text-simpletable)))
+    (home-page "http://search.cpan.org/dist/Catalyst-DispatchType-Regex";)
+    (synopsis "Regex DispatchType for Catalyst")
+    (description "Dispatch type managing path-matching behaviour using
+regexes.  Regex dispatch types have been deprecated and removed from Catalyst
+core.  It is recommend that you use Chained methods or other techniques
+instead.  As part of the refactoring, the dispatch priority of Regex vs Regexp
+vs LocalRegex vs LocalRegexp may have changed.  Priority is now influenced by
+when the dispatch type is first seen in your application.")
+    (license (package-license perl))))
+
 (define-public perl-catalyst-model-dbic-schema
   (package
   (name "perl-catalyst-model-dbic-schema")



reply via email to

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