2010-08-24 10:24:33 +02:00
|
|
|
{ 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";
|
|
|
|
};
|
2010-08-24 10:24:48 +02:00
|
|
|
|
2010-08-24 10:24:33 +02:00
|
|
|
pname = "mhash";
|
|
|
|
version = "0.9.9.9";
|
|
|
|
name = "${pname}-${version}";
|
2010-08-24 10:24:48 +02:00
|
|
|
|
2010-08-24 10:24:33 +02:00
|
|
|
src = fetchurl {
|
|
|
|
url = "mirror://sourceforge/${pname}/${name}.tar.bz2";
|
|
|
|
sha256 = "1w7yiljan8gf1ibiypi6hm3r363imm3sxl1j8hapjdq3m591qljn";
|
|
|
|
};
|
2010-08-24 10:24:48 +02:00
|
|
|
|
|
|
|
patches = [ ./autotools-define-conflict-debian-fix.patch ];
|
2010-08-24 10:24:33 +02:00
|
|
|
}
|