summary refs log tree commit diff
diff options
context:
space:
mode:
authorEric Bavier <bavier@member.fsf.org>2015-03-17 11:39:50 -0500
committerEric Bavier <bavier@member.fsf.org>2015-03-17 13:03:50 -0500
commit06f5001a5ad5d16bc52e2cbf0b929462555cb1c1 (patch)
treee4952aae8c031f5dfc887c1e6c444a8332bfb74b
parentcfed969c730d127b2bb51d2c4283e2395685ac6a (diff)
downloadguix-06f5001a5ad5d16bc52e2cbf0b929462555cb1c1.tar.gz
gnu: Add String-CamelCase.
* gnu/packages/perl.scm (perl-string-camelcase): New variable.
-rw-r--r--gnu/packages/perl.scm19
1 files changed, 19 insertions, 0 deletions
diff --git a/gnu/packages/perl.scm b/gnu/packages/perl.scm
index d28b753a3d..4bc7a2ace0 100644
--- a/gnu/packages/perl.scm
+++ b/gnu/packages/perl.scm
@@ -2624,6 +2624,25 @@ on the length of the size.")
 run from within a source-controlled directory.")
     (license (package-license perl))))
 
+(define-public perl-string-camelcase
+  (package
+    (name "perl-string-camelcase")
+    (version "0.02")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (string-append "mirror://cpan/authors/id/H/HI/HIO/"
+                           "String-CamelCase-" version ".tar.gz"))
+       (sha256
+        (base32
+         "17kh8nap2z5g5rqcvw0m7mvbai7wr7h0al39w8l827zhqad8ss42"))))
+    (build-system perl-build-system)
+    (home-page "http://search.cpan.org/dist/String-CamelCase")
+    (synopsis "Camelcase and de-camelcase")
+    (description "This module may be used to convert from under_score text to
+CamelCase and back again.")
+    (license (package-license perl))))
+
 (define-public perl-string-rewriteprefix
   (package
     (name "perl-string-rewriteprefix")