summary refs log tree commit diff
diff options
context:
space:
mode:
authorEric Bavier <bavier@member.fsf.org>2015-04-06 16:58:22 -0500
committerEric Bavier <bavier@member.fsf.org>2015-04-19 19:48:49 -0500
commit0a24e9b8878066b124733f787174f1c6dd40616d (patch)
treedc34c4970a762f248f7f80132c0863bac8200125
parent31170d139020f29e06c5e708d8d9b16d806aef33 (diff)
downloadguix-0a24e9b8878066b124733f787174f1c6dd40616d.tar.gz
gnu: Add Digest-MD5-File.
* gnu/packages/web.scm (perl-digest-md5-file): New variable.
-rw-r--r--gnu/packages/web.scm21
1 files changed, 21 insertions, 0 deletions
diff --git a/gnu/packages/web.scm b/gnu/packages/web.scm
index 991ec69f86..3a55fa67e5 100644
--- a/gnu/packages/web.scm
+++ b/gnu/packages/web.scm
@@ -1345,6 +1345,27 @@ inputs, in a manner reminiscent of how PHP does.")
 formats used by the HTTP protocol.")
     (license (package-license perl))))
 
+(define-public perl-digest-md5-file
+  (package
+    (name "perl-digest-md5-file")
+    (version "0.08")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (string-append "mirror://cpan/authors/id/D/DM/DMUEY/"
+                           "Digest-MD5-File-" version ".tar.gz"))
+       (sha256
+        (base32
+         "060jzf45dlwysw5wsm7av1wvpl06xgk415kwwpvv89r6wda3md5d"))))
+    (build-system perl-build-system)
+    (propagated-inputs
+     `(("perl-libwww" ,perl-libwww)))
+    (home-page "http://search.cpan.org/dist/Digest-MD5-File")
+    (synopsis "MD5 sums for files and urls")
+    (description "Digest::MD5::File is a Perl extension for getting MD5 sums
+for files and urls.")
+    (license (package-license perl))))
+
 (define-public perl-encode-locale
   (package
     (name "perl-encode-locale")