summary refs log tree commit diff
path: root/gnu/packages/perl.scm
diff options
context:
space:
mode:
authorEric Bavier <bavier@member.fsf.org>2015-04-06 16:52:48 -0500
committerEric Bavier <bavier@member.fsf.org>2015-04-19 19:48:49 -0500
commit31170d139020f29e06c5e708d8d9b16d806aef33 (patch)
tree16853704f988ed41ba0ca578a861a667058acc3c /gnu/packages/perl.scm
parent9151712c55c573277d97aceb66dac53c8ce488f4 (diff)
downloadguix-31170d139020f29e06c5e708d8d9b16d806aef33.tar.gz
gnu: Add Digest-HMAC.
* gnu/packages/perl.scm (perl-digest-hmac): New variable.
Diffstat (limited to 'gnu/packages/perl.scm')
-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 689047da7f..2ebc7143ab 100644
--- a/gnu/packages/perl.scm
+++ b/gnu/packages/perl.scm
@@ -1376,6 +1376,25 @@ Devel::StackTrace::WithLexicals, you even get to see the lexical variables of
 each stack frame.")
     (license (package-license perl))))
 
+(define-public perl-digest-hmac
+  (package
+    (name "perl-digest-hmac")
+    (version "1.03")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (string-append "mirror://cpan/authors/id/G/GA/GAAS/"
+                           "Digest-HMAC-" version ".tar.gz"))
+       (sha256
+        (base32
+         "0naavabbm1c9zgn325ndy66da4insdw9l3mrxwxdfi7i7xnjrirv"))))
+    (build-system perl-build-system)
+    (home-page "http://search.cpan.org/dist/Digest-HMAC")
+    (synopsis "Keyed-Hashing for Message Authentication")
+    (description "The Digest::HMAC module follows the common Digest::
+interface for the RFC 2104 HMAC mechanism.")
+    (license (package-license perl))))
+
 (define-public perl-digest-sha1
   (package
     (name "perl-digest-sha1")