guix-commits
[Top][All Lists]
Advanced

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

01/01: gnu: Add perl-digest-md5.


From: Marius Bakke
Subject: 01/01: gnu: Add perl-digest-md5.
Date: Wed, 23 Nov 2016 15:55:33 +0000 (UTC)

mbakke pushed a commit to branch master
in repository guix.

commit 8a28e717ba702bea69ec8ecfcdb512c8ded39be2
Author: ng0 <address@hidden>
Date:   Tue Nov 22 23:57:04 2016 +0000

    gnu: Add perl-digest-md5.
    
    * gnu/packages/perl.scm (perl-digest-md5): New variable.
    
    Signed-off-by: Marius Bakke <address@hidden>
---
 gnu/packages/perl.scm |   31 ++++++++++++++++++++++++++++++-
 1 file changed, 30 insertions(+), 1 deletion(-)

diff --git a/gnu/packages/perl.scm b/gnu/packages/perl.scm
index ab61201..d332e2a 100644
--- a/gnu/packages/perl.scm
+++ b/gnu/packages/perl.scm
@@ -7,7 +7,7 @@
 ;;; Copyright © 2016 Mark H Weaver <address@hidden>
 ;;; Copyright © 2016 Jochem Raat <address@hidden>
 ;;; Copyright © 2016 Efraim Flashner <address@hidden>
-;;; Coypright © 2016 ng0 <address@hidden>
+;;; Coypright © 2016 ng0 <address@hidden>
 ;;; Copyright © 2016 Alex Sassmannshausen <address@hidden>
 ;;; Copyright © 2016 Roel Janssen <address@hidden>
 ;;; Copyright © 2016 Ben Woodcroft <address@hidden>
@@ -2055,6 +2055,35 @@ each stack frame.")
 interface for the RFC 2104 HMAC mechanism.")
     (license (package-license perl))))
 
+(define-public perl-digest-md5
+  (package
+    (name "perl-digest-md5")
+    (version "2.55")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (string-append "mirror://cpan/authors/id/G/GA/GAAS/Digest-MD5-"
+                           version ".tar.gz"))
+       (sha256
+        (base32
+         "0g0fklbrm2krswc1xhp4iwn1dhqq71fqh2p5wm8xj9a4s6i9ic83"))))
+    (build-system perl-build-system)
+    (arguments
+     `(#:phases
+       (modify-phases %standard-phases
+         (add-after 'build 'set-permissions
+           (lambda _
+             ;; Make MD5.so read-write so it can be stripped.
+             (chmod "blib/arch/auto/Digest/MD5/MD5.so" #o755)))))))
+    (home-page "http://search.cpan.org/dist/Digest-MD5";)
+    (synopsis "Perl interface to the MD-5 algorithm")
+    (description
+     "The @code{Digest::MD5} module allows you to use the MD5 Message Digest
+algorithm from within Perl programs.  The algorithm takes as
+input a message of arbitrary length and produces as output a
+128-bit \"fingerprint\" or \"message digest\" of the input.")
+    (license (package-license perl))))
+
 (define-public perl-digest-sha1
   (package
     (name "perl-digest-sha1")



reply via email to

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