guix-commits
[Top][All Lists]
Advanced

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

10/14: gnu: Add perl-regexp-common.


From: Eric Bavier
Subject: 10/14: gnu: Add perl-regexp-common.
Date: Tue, 09 Dec 2014 20:40:27 +0000

bavier pushed a commit to branch master
in repository guix.

commit b593600e211e35f4597b8a2297293b2e7760dc9f
Author: Eric Bavier <address@hidden>
Date:   Mon Dec 1 00:20:55 2014 -0600

    gnu: Add perl-regexp-common.
    
    * gnu/packages/perl.scm (perl-regexp-common): New variable.
---
 gnu/packages/perl.scm |   25 +++++++++++++++++++++++++
 1 files changed, 25 insertions(+), 0 deletions(-)

diff --git a/gnu/packages/perl.scm b/gnu/packages/perl.scm
index e385e7b..7479603 100644
--- a/gnu/packages/perl.scm
+++ b/gnu/packages/perl.scm
@@ -318,3 +318,28 @@ vaguely inspired by John Ousterhout's Tk_ParseArgv.")
     (home-page (string-append "http://search.cpan.org/~gward/";
                               "Getopt-Tabular-" version))
     (license (package-license perl))))
+
+(define-public perl-regexp-common
+  (package
+    (name "perl-regexp-common")
+    (version "2013031301")
+    (source (origin
+              (method url-fetch)
+              (uri (string-append "mirror://cpan/authors/id/A/AB/ABIGAIL/"
+                                  "Regexp-Common-" version ".tar.gz"))
+              (sha256
+               (base32
+                "112wybsm0vr8yfannx6sdfvgp5vza28gjgr3pgn69ak4sac836kj"))))
+    (build-system perl-build-system)
+    (synopsis "Provide commonly requested regular expressions")
+    (description
+     "This module exports a single hash (`%RE') that stores or generates
+commonly needed regular expressions.  Patterns currently provided include:
+balanced parentheses and brackets, delimited text (with escapes), integers and
+floating-point numbers in any base (up to 36), comments in 44 languages,
+offensive language, lists of any pattern, IPv4 addresses, URIs, and Zip
+codes.")
+    (home-page (string-append "http://search.cpan.org/~abigail/";
+                              "Regexp-Common-" version))
+    ;; Quad-licensed: Perl Artistic, Perl Artistic 2.0, X11, and BSD.
+    (license (list (package-license perl) x11 bsd-3))))



reply via email to

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