aboutsummaryrefslogtreecommitdiff
path: root/gnu/packages/perl.scm
diff options
context:
space:
mode:
authorRicardo Wurmus <rekado@elephly.net>2015-12-22 14:12:49 +0100
committerRicardo Wurmus <rekado@elephly.net>2015-12-24 10:10:39 +0100
commitc47b85de0c76fffd5ff6bff0914a371b4679f04a (patch)
tree9c714ea825b77e75ab4e8a6b0c4b3489211f73c9 /gnu/packages/perl.scm
parente92468d80386ad862950423ddefc0d9c3bbf6022 (diff)
downloadpatches-c47b85de0c76fffd5ff6bff0914a371b4679f04a.tar
patches-c47b85de0c76fffd5ff6bff0914a371b4679f04a.tar.gz
gnu: Add String::Print.
* gnu/packages/perl.scm (perl-string-print): New variable.
Diffstat (limited to 'gnu/packages/perl.scm')
-rw-r--r--gnu/packages/perl.scm22
1 files changed, 22 insertions, 0 deletions
diff --git a/gnu/packages/perl.scm b/gnu/packages/perl.scm
index c1ea466e53..2f63630b94 100644
--- a/gnu/packages/perl.scm
+++ b/gnu/packages/perl.scm
@@ -4365,6 +4365,28 @@ CamelCase and back again.")
known prefixes.")
(license (package-license perl))))
+(define-public perl-string-print
+ (package
+ (name "perl-string-print")
+ (version "0.15")
+ (source (origin
+ (method url-fetch)
+ (uri (string-append "mirror://cpan/authors/id/M/MA/MARKOV/"
+ "String-Print-" version ".tar.gz"))
+ (sha256
+ (base32
+ "1n9lc5dr66sg89hym47764fyfms7vrxrhwvdps2x8x8gxly7rsdl"))))
+ (build-system perl-build-system)
+ (propagated-inputs
+ `(("perl-unicode-linebreak" ,perl-unicode-linebreak)))
+ (home-page "http://search.cpan.org/dist/String-Print")
+ (synopsis "String printing alternatives to printf")
+ (description
+ "This module inserts values into (translated) strings. It provides
+@code{printf} and @code{sprintf} alternatives via both an object-oriented and
+a functional interface.")
+ (license (package-license perl))))
+
(define-public perl-sub-exporter
(package
(name "perl-sub-exporter")