Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
at devShellTools-shell 32 lines 834 B view raw
1{ 2 lib, 3 stdenv, 4 fetchurl, 5}: 6 7stdenv.mkDerivation rec { 8 pname = "mhash"; 9 version = "0.9.9.9"; 10 11 src = fetchurl { 12 url = "mirror://sourceforge/${pname}/${pname}-${version}.tar.bz2"; 13 sha256 = "1w7yiljan8gf1ibiypi6hm3r363imm3sxl1j8hapjdq3m591qljn"; 14 }; 15 16 dontDisableStatic = true; 17 18 patches = [ ./autotools-define-conflict-debian-fix.patch ]; 19 20 meta = { 21 description = "Hash algorithms library"; 22 longDescription = '' 23 Libmhash is a library that provides a uniform interface to several hash 24 algorithms. It supports the basics for message authentication by 25 following rfc2104 (HMAC). It also includes some key generation algorithms 26 which are based on hash algorithms. 27 ''; 28 homepage = "https://mhash.sourceforge.net"; 29 license = "LGPL"; 30 platforms = lib.platforms.unix; 31 }; 32}