summary refs log tree commit diff
path: root/gnu/packages/perl.scm
diff options
context:
space:
mode:
authorRoel Janssen <roel@gnu.org>2018-04-04 16:15:59 +0200
committerRoel Janssen <roel@gnu.org>2018-04-04 16:15:59 +0200
commitf0196e82b8848e62816e815df3d3c7d89ac5edea (patch)
tree3671f6798a853865fdd77be040da19af14da8954 /gnu/packages/perl.scm
parentbd468c975deebcf9dd00278f2004874535646c43 (diff)
downloadguix-f0196e82b8848e62816e815df3d3c7d89ac5edea.tar.gz
gnu: Add perl-text-format.
* gnu/packages/perl.scm (perl-text-format): New variable.
Diffstat (limited to 'gnu/packages/perl.scm')
-rw-r--r--gnu/packages/perl.scm24
1 files changed, 24 insertions, 0 deletions
diff --git a/gnu/packages/perl.scm b/gnu/packages/perl.scm
index 2822774cc4..c146874f33 100644
--- a/gnu/packages/perl.scm
+++ b/gnu/packages/perl.scm
@@ -8121,6 +8121,30 @@ faster than shelling out to a system's diff executable for small files, and
 generally slower on larger files.")
     (license (package-license perl))))
 
+(define-public perl-text-format
+  (package
+    (name "perl-text-format")
+    (version "0.60")
+    (source (origin
+              (method url-fetch)
+              (uri (string-append
+                    "mirror://cpan/authors/id/S/SH/SHLOMIF/Text-Format-"
+                    version ".tar.gz"))
+              (sha256
+               (base32
+                "1f52jak0a2gwi4qcisp4nfbniq04dmmv5j8zkvzj8ik0f0sk2kv6"))))
+    (build-system perl-build-system)
+    (native-inputs
+     `(("perl-module-build" ,perl-module-build)
+       ("perl-test-pod" ,perl-test-pod)
+       ("perl-test-pod-coverage" ,perl-test-pod-coverage)))
+    (home-page "http://search.cpan.org/dist/Text-Format/")
+    (synopsis "Various subroutines to format text")
+    (description "This package provides functions to format text in various
+ways like centering, paragraphing, and converting tabs to spaces and spaces
+to tabs.")
+    (license perl-license)))
+
 (define-public perl-text-glob
   (package
     (name "perl-text-glob")