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
This commit is contained in:
Peter Simons 2010-08-24 08:24:33 +00:00
parent f17a4cfbf9
commit f101a46d19
2 changed files with 24 additions and 0 deletions

View file

@ -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";
};
}

View file

@ -3260,6 +3260,8 @@ let
inherit (gnome) glib;
};
libmhash = callPackage ../development/libraries/libmhash {};
libnice = callPackage ../development/libraries/libnice {
inherit (gnome) glib;
};