1{ stdenv, fetchurl }:
2
3stdenv.mkDerivation rec {
4 meta = {
5 description = "Hash algorithms library";
6 longDescription = ''
7 Libmhash is a library that provides a uniform interface to several hash
8 algorithms. It supports the basics for message authentication by
9 following rfc2104 (HMAC). It also includes some key generation algorithms
10 which are based on hash algorithms.
11 '';
12 homepage = http://mhash.sourceforge.net;
13 license = "LGPL";
14 };
15
16 pname = "mhash";
17 version = "0.9.9.9";
18 name = "${pname}-${version}";
19
20 dontDisableStatic = true;
21
22 src = fetchurl {
23 url = "mirror://sourceforge/${pname}/${name}.tar.bz2";
24 sha256 = "1w7yiljan8gf1ibiypi6hm3r363imm3sxl1j8hapjdq3m591qljn";
25 };
26
27 patches = [ ./autotools-define-conflict-debian-fix.patch ];
28}