guix-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

08/24: gnu: Add perl-string-escape.


From: Oleg Pykhalov
Subject: 08/24: gnu: Add perl-string-escape.
Date: Sat, 24 Feb 2018 12:18:39 -0500 (EST)

wigust pushed a commit to branch master
in repository guix.

commit ec38b3954da9143fff24352ecab048c325046785
Author: Oleg Pykhalov <address@hidden>
Date:   Sun Jan 28 01:48:44 2018 +0300

    gnu: Add perl-string-escape.
    
    * gnu/packages/perl.scm (perl-string-escape): New public variable.
---
 gnu/packages/perl.scm | 22 ++++++++++++++++++++++
 1 file changed, 22 insertions(+)

diff --git a/gnu/packages/perl.scm b/gnu/packages/perl.scm
index 07cbce2..056acbb 100644
--- a/gnu/packages/perl.scm
+++ b/gnu/packages/perl.scm
@@ -6915,6 +6915,28 @@ run from within a source-controlled directory.")
 CamelCase and back again.")
     (license (package-license perl))))
 
+(define-public perl-string-escape
+  (package
+    (name "perl-string-escape")
+    (version "2010.002")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (string-append
+             "mirror://cpan/authors/id/E/EV/EVO/String-Escape-"
+             version ".tar.gz"))
+       (sha256
+        (base32
+         "12ls7f7847i4qcikkp3skwraqvjphjiv2zxfhl5d49326f5myr7x"))))
+    (build-system perl-build-system)
+    (home-page "http://search.cpan.org/dist/String-Escape/";)
+    (synopsis "Backslash escapes, quoted phrase, word elision, etc.")
+    (description "This module provides a flexible calling interface to some
+frequently-performed string conversion functions, including applying and
+expanding standard C/Unix-style backslash escapes like \n and \t, wrapping and
+removing double-quotes, and truncating to fit within a desired length.")
+    (license (package-license perl))))
+
 (define-public perl-string-rewriteprefix
   (package
     (name "perl-string-rewriteprefix")



reply via email to

[Prev in Thread] Current Thread [Next in Thread]