guix-commits
[Top][All Lists]
Advanced

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

26/27: gnu: Add String-ToIdentifier-EN.


From: Eric Bavier
Subject: 26/27: gnu: Add String-ToIdentifier-EN.
Date: Tue, 17 Mar 2015 18:15:27 +0000

bavier pushed a commit to branch master
in repository guix.

commit f3bbbb7361f91504bc791c2c50721b8ee9f4db5a
Author: Eric Bavier <address@hidden>
Date:   Tue Mar 17 11:51:52 2015 -0500

    gnu: Add String-ToIdentifier-EN.
    
    * gnu/packages/language.scm (perl-string-toidentifier-en): New variable.
---
 gnu/packages/language.scm |   26 ++++++++++++++++++++++++++
 1 files changed, 26 insertions(+), 0 deletions(-)

diff --git a/gnu/packages/language.scm b/gnu/packages/language.scm
index 14958bd..f2f1fbc 100644
--- a/gnu/packages/language.scm
+++ b/gnu/packages/language.scm
@@ -354,6 +354,32 @@ stemmer at http://snowball.tartarus.org.";)
 stemmer at http://snowball.sourceforge.net.";)
     (license (package-license perl))))
 
+(define-public perl-string-toidentifier-en
+  (package
+    (name "perl-string-toidentifier-en")
+    (version "0.11")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (string-append "mirror://cpan/authors/id/R/RK/RKITOVER/"
+                           "String-ToIdentifier-EN-" version ".tar.gz"))
+       (sha256
+        (base32
+         "1bawghkgkkx7j3avnrj5sg3vix1z5564ks6wf9az3jc2knh8s5nh"))))
+    (build-system perl-build-system)
+    (propagated-inputs
+     `(("perl-lingua-en-inflect-phrase" ,perl-lingua-en-inflect-phrase)
+       ("perl-text-unidecode" ,perl-text-unidecode)
+       ("perl-namespace-clean" ,perl-namespace-clean)))
+    (home-page "http://search.cpan.org/dist/String-ToIdentifier-EN";)
+    (synopsis "Convert strings to english program identifiers")
+    (description "This module provides a utility method, \"to_identifier\" for
+converting an arbitrary string into a readable representation using the ASCII
+subset of \"\\w\" for use as an identifier in a computer program.  The intent
+is to make unique identifier names from which the content of the original
+string can be easily inferred by a human just by reading the identifier.")
+    (license (package-license perl))))
+
 (define-public perl-text-german
   (package
     (name "perl-text-german")



reply via email to

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