depot/third_party/nixpkgs/pkgs/development/libraries/libmhash/default.nix
Default email 8ac5e011d6 Project import generated by Copybara.
GitOrigin-RevId: 2c3273caa153ee8eb5786bc8141b85b859e7efd7
2020-04-24 19:36:52 -04:00

28 lines
828 B
Nix

{ 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 = "http://mhash.sourceforge.net";
license = "LGPL";
platforms = stdenv.lib.platforms.unix;
};
}