summaryrefslogtreecommitdiff
path: root/gnu/packages
diff options
context:
space:
mode:
authorChristopher Baines <mail@cbaines.net>2017-08-28 20:51:37 +0100
committerChristopher Baines <mail@cbaines.net>2017-09-12 22:59:38 +0100
commit329779159b16d8d7ab313fc9810d8c60381efc4d (patch)
treea6cf3453191533bdd25a4fafb7fd1798e1ac6fbe /gnu/packages
parent34ef57559060c4d7e04e3ee35dbc373e46bf5b4e (diff)
gnu: Add libmd.
* gnu/packages/crypto.scm (libmd): New variable.
Diffstat (limited to 'gnu/packages')
-rw-r--r--gnu/packages/crypto.scm31
1 files changed, 31 insertions, 0 deletions
diff --git a/gnu/packages/crypto.scm b/gnu/packages/crypto.scm
index 1783ae0945..6b28030dff 100644
--- a/gnu/packages/crypto.scm
+++ b/gnu/packages/crypto.scm
@@ -78,6 +78,37 @@ communication, encryption, decryption, signatures, etc.")
(license license:isc)
(home-page "http://libsodium.org")))
+(define-public libmd
+ (package
+ (name "libmd")
+ (version "0.0.0")
+ (source (origin
+ (method url-fetch)
+ (uri (string-append
+ "https://archive.hadrons.org/software/libmd/libmd-"
+ version
+ ".tar.xz"))
+ (sha256
+ (base32
+ "121s73pgbqsnmy6xblbrkj9y44c5zzzpf2hcmh6zvcvg4dk26gzx"))))
+ (build-system gnu-build-system)
+ (synopsis "Message Digest functions from BSD systems")
+ (description
+ "The currently provided message digest algorithms are:
+@itemize
+@item MD2
+@item MD4
+@item MD5
+@item RIPEMD-160
+@item SHA-1
+@item SHA-2 (SHA-256, SHA-384 and SHA-512)
+@end itemize")
+ (license (list license:bsd-3
+ license:bsd-2
+ license:isc
+ license:public-domain))
+ (home-page "https://www.hadrons.org/software/libmd/")))
+
(define-public signify
(package
(name "signify")