1 { lib, stdenv, fetchurl }:
3 stdenv.mkDerivation rec {
8 url = "mirror://sourceforge/${pname}/${pname}-${version}.tar.bz2";
9 sha256 = "1w7yiljan8gf1ibiypi6hm3r363imm3sxl1j8hapjdq3m591qljn";
12 dontDisableStatic = true;
14 patches = [ ./autotools-define-conflict-debian-fix.patch ];
17 description = "Hash algorithms library";
19 Libmhash is a library that provides a uniform interface to several hash
20 algorithms. It supports the basics for message authentication by
21 following rfc2104 (HMAC). It also includes some key generation algorithms
22 which are based on hash algorithms.
24 homepage = "https://mhash.sourceforge.net";
26 platforms = lib.platforms.unix;