Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
1{ lib, stdenv, fetchurl }: 2 3stdenv.mkDerivation rec { 4 pname = "mhash"; 5 version = "0.9.9.9"; 6 7 src = fetchurl { 8 url = "mirror://sourceforge/${pname}/${pname}-${version}.tar.bz2"; 9 sha256 = "1w7yiljan8gf1ibiypi6hm3r363imm3sxl1j8hapjdq3m591qljn"; 10 }; 11 12 dontDisableStatic = true; 13 14 patches = [ ./autotools-define-conflict-debian-fix.patch ]; 15 16 meta = { 17 description = "Hash algorithms library"; 18 longDescription = '' 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. 23 ''; 24 homepage = "https://mhash.sourceforge.net"; 25 license = "LGPL"; 26 platforms = lib.platforms.unix; 27 }; 28}