diff options
author | Peter Simons <simons@cryp.to> | 2010-08-24 08:24:33 +0000 |
---|---|---|
committer | Peter Simons <simons@cryp.to> | 2010-08-24 08:24:33 +0000 |
commit | f101a46d197b9f3f79b4ec30347b5ef0ae942320 (patch) | |
tree | 09aa89f7635494bfbaa1c9f941b9d60e5a390f42 /pkgs/development/libraries/libmhash | |
parent | f17a4cfbf9cced8cecb27888001b1993f3c4aa1b (diff) |
Add libmhash, a cryptographic hash library.
Add Nix expression to package libmhash, a library providing a collection
of cryptographic hash algorithms.
svn path=/nixpkgs/trunk/; revision=23379
Diffstat (limited to 'pkgs/development/libraries/libmhash')
-rw-r--r-- | pkgs/development/libraries/libmhash/default.nix | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/pkgs/development/libraries/libmhash/default.nix b/pkgs/development/libraries/libmhash/default.nix new file mode 100644 index 000000000000..ca214b1e1de9 --- /dev/null +++ b/pkgs/development/libraries/libmhash/default.nix @@ -0,0 +1,22 @@ +{ stdenv, fetchurl }: + +stdenv.mkDerivation rec { + meta = { + description = "Hash algorithms library"; + longDescription = '' + Libmhash is a library that provides a uniform interface to several hash + algorithms. It supports the basics for message authentication by + following rfc2104 (HMAC). It also includes some key generation algorithms + which are based on hash algorithms. + ''; + homepage = http://mhash.sourceforge.net; + license = "LGPL"; + }; + pname = "mhash"; + version = "0.9.9.9"; + name = "${pname}-${version}"; + src = fetchurl { + url = "mirror://sourceforge/${pname}/${name}.tar.bz2"; + sha256 = "1w7yiljan8gf1ibiypi6hm3r363imm3sxl1j8hapjdq3m591qljn"; + }; +} |