Patchwork [09/29] gnu: Add perl-data-uniqid.

login
register
mail settings
Submitter Ricardo Wurmus
Date Nov. 23, 2016, 9:35 p.m.
Message ID <20161123213522.2923-10-rekado@elephly.net>
Download mbox | patch
Permalink /patch/17761/
State New
Headers show

Comments

Ricardo Wurmus - Nov. 23, 2016, 9:35 p.m.
* gnu/packages/perl.scm (perl-data-uniqid): New variable.
---
 gnu/packages/perl.scm | 20 ++++++++++++++++++++
 1 file changed, 20 insertions(+)

Patch

diff --git a/gnu/packages/perl.scm b/gnu/packages/perl.scm
index 8bac955..b87e339 100644
--- a/gnu/packages/perl.scm
+++ b/gnu/packages/perl.scm
@@ -1331,6 +1331,26 @@  bioinformatics data.")
 they are copies of each other.")
     (license (package-license perl))))
 
+(define-public perl-data-uniqid
+  (package
+    (name "perl-data-uniqid")
+    (version "0.12")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (string-append "mirror://cpan/authors/id/M/MW/MWX/Data-Uniqid-"
+                           version ".tar.gz"))
+       (sha256
+        (base32
+         "1jsc6acmv97pzsvx1fqywz4qvxxpp7kwmb78ygyqpsczkfj9p4dn"))))
+    (build-system perl-build-system)
+    (home-page "http://search.cpan.org/dist/Data-Uniqid")
+    (synopsis "Perl extension for generating unique identifiers")
+    (description "@code{Data::Uniqid} provides three simple routines for
+generating unique ids.  These ids are coded with a Base62 systen to make them
+short and handy (e.g. to use it as part of a URL).")
+    (license (package-license perl))))
+
 (define-public perl-data-dump
   (package
     (name "perl-data-dump")