aboutsummaryrefslogtreecommitdiff
path: root/gnu/packages
diff options
context:
space:
mode:
authorEric Bavier <bavier@member.fsf.org>2015-03-12 13:03:06 -0500
committerEric Bavier <bavier@member.fsf.org>2015-03-12 15:55:58 -0500
commit895046f935dd75fad2b62b258f0817b2f8ada631 (patch)
treee37401807547164c85cdd6f91a285d2705e67dd3 /gnu/packages
parent317c4a1da84cfa0b4f496dee3d843925a075e433 (diff)
downloadpatches-895046f935dd75fad2b62b258f0817b2f8ada631.tar
patches-895046f935dd75fad2b62b258f0817b2f8ada631.tar.gz
gnu: Add String-RewritePrefix.
* gnu/packages/perl.scm (perl-string-rewriteprefix): New variable.
Diffstat (limited to 'gnu/packages')
-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 2ca1ce8e6c..26f40f92bb 100644
--- a/gnu/packages/perl.scm
+++ b/gnu/packages/perl.scm
@@ -2088,6 +2088,27 @@ buffered. It uses PerlIO and/or temporary file to save the buffer depending
on the length of the size.")
(license (package-license perl))))
+(define-public perl-string-rewriteprefix
+ (package
+ (name "perl-string-rewriteprefix")
+ (version "0.007")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (string-append "mirror://cpan/authors/id/R/RJ/RJBS/"
+ "String-RewritePrefix-" version ".tar.gz"))
+ (sha256
+ (base32
+ "18nxl1vgkcx0r7ifkmbl9fp73f8ihiqhqqf3vq6sj5b3cgawrfsw"))))
+ (build-system perl-build-system)
+ (propagated-inputs
+ `(("perl-sub-exporter" ,perl-sub-exporter)))
+ (home-page "http://search.cpan.org/dist/String-RewritePrefix")
+ (synopsis "Rewrite strings based on a set of known prefixes")
+ (description "This module allows you to rewrite strings based on a set of
+known pprefixes.")
+ (license (package-license perl))))
+
(define-public perl-sub-exporter
(package
(name "perl-sub-exporter")