summary refs log tree commit diff
diff options
context:
space:
mode:
authorRicardo Wurmus <ricardo.wurmus@mdc-berlin.de>2017-08-09 19:00:33 +0200
committerRicardo Wurmus <rekado@elephly.net>2017-08-14 11:46:04 +0200
commit44d37e43fefdac1a2e5dd8bb776b780540056946 (patch)
treea8599d2fe07eb31073d1656e8ff57ec24afc4855
parent413dd21084ea96067a8f25d23fd0d01088f55e67 (diff)
downloadguix-44d37e43fefdac1a2e5dd8bb776b780540056946.tar.gz
gnu: Add perl-regexp-util.
* gnu/packages/perl.scm (perl-regexp-util): New variable.
-rw-r--r--gnu/packages/perl.scm21
1 files changed, 21 insertions, 0 deletions
diff --git a/gnu/packages/perl.scm b/gnu/packages/perl.scm
index 5c36cedc76..7ef9962ea1 100644
--- a/gnu/packages/perl.scm
+++ b/gnu/packages/perl.scm
@@ -5701,6 +5701,27 @@ codes.")
     ;; Quad-licensed: Perl Artistic, Perl Artistic 2.0, X11, and BSD.
     (license (list (package-license perl) x11 bsd-3))))
 
+(define-public perl-regexp-util
+  (package
+    (name "perl-regexp-util")
+    (version "0.003")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (string-append "mirror://cpan/authors/id/T/TO/TOBYINK/"
+                           "Regexp-Util-" version ".tar.gz"))
+       (sha256
+        (base32
+         "01n1cggiflsnp9f6adkcxzkc0qpgssz60cwnyyd8mzavh2ximr5a"))))
+    (build-system perl-build-system)
+    (home-page "http://search.cpan.org/dist/Regexp-Util")
+    (synopsis "Selection of general-utility regexp subroutines")
+    (description "This package provides a selection of regular expression
+subroutines including @code{is_regexp}, @code{regexp_seen_evals},
+@code{regexp_is_foreign}, @code{regexp_is_anchored}, @code{serialize_regexp},
+and @code{deserialize_regexp}.")
+    (license (package-license perl))))
+
 (define-public perl-role-tiny
   (package
     (name "perl-role-tiny")