Some checks failed
Periodic Merges (6h) / master → staging-nixos (push) Failing after 12m50s
Periodic Merges (6h) / master → staging-next (push) Failing after 12m54s
Periodic Merges (24h) / merge-base(master,staging) → haskell-updates (push) Failing after 11m54s
Periodic Merges (6h) / staging-next → staging (push) Failing after 12m13s
Periodic Merges (24h) / staging-next-25.05 → staging-25.05 (push) Failing after 13m24s
Periodic Merges (24h) / release-25.05 → staging-next-25.05 (push) Failing after 14m28s
33 lines
850 B
Nix
33 lines
850 B
Nix
{
|
|
lib,
|
|
stdenv,
|
|
fetchurl,
|
|
}:
|
|
|
|
stdenv.mkDerivation rec {
|
|
pname = "mhash";
|
|
version = "0.9.9.9";
|
|
|
|
src = fetchurl {
|
|
url = "mirror://sourceforge/${pname}/${pname}-${version}.tar.bz2";
|
|
sha256 = "1w7yiljan8gf1ibiypi6hm3r363imm3sxl1j8hapjdq3m591qljn";
|
|
};
|
|
|
|
dontDisableStatic = true;
|
|
|
|
patches = [ ./autotools-define-conflict-debian-fix.patch ];
|
|
|
|
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 = "https://mhash.sourceforge.net";
|
|
license = lib.licenses.lgpl2Only;
|
|
platforms = lib.platforms.unix;
|
|
};
|
|
}
|