2021-01-21 17:00:13 +00:00
|
|
|
{ lib, stdenv, fetchurl }:
|
2010-08-24 09:24:33 +01:00
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
2016-08-02 17:19:16 +01:00
|
|
|
pname = "mhash";
|
|
|
|
version = "0.9.9.9";
|
|
|
|
|
|
|
|
src = fetchurl {
|
2019-08-15 13:41:18 +01:00
|
|
|
url = "mirror://sourceforge/${pname}/${pname}-${version}.tar.bz2";
|
2016-08-02 17:19:16 +01:00
|
|
|
sha256 = "1w7yiljan8gf1ibiypi6hm3r363imm3sxl1j8hapjdq3m591qljn";
|
|
|
|
};
|
|
|
|
|
|
|
|
dontDisableStatic = true;
|
|
|
|
|
|
|
|
patches = [ ./autotools-define-conflict-debian-fix.patch ];
|
|
|
|
|
2010-08-24 09:24:33 +01:00
|
|
|
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.
|
|
|
|
'';
|
2020-04-01 02:11:51 +01:00
|
|
|
homepage = "http://mhash.sourceforge.net";
|
2010-08-24 09:24:33 +01:00
|
|
|
license = "LGPL";
|
2021-01-21 17:00:13 +00:00
|
|
|
platforms = lib.platforms.unix;
|
2010-08-24 09:24:33 +01:00
|
|
|
};
|
|
|
|
}
|