From 895046f935dd75fad2b62b258f0817b2f8ada631 Mon Sep 17 00:00:00 2001 From: Eric Bavier Date: Thu, 12 Mar 2015 13:03:06 -0500 Subject: [PATCH] gnu: Add String-RewritePrefix. * gnu/packages/perl.scm (perl-string-rewriteprefix): New variable. --- gnu/packages/perl.scm | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) 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 @@ (define-public perl-stream-buffered 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")