1 { stdenv, fetchFromGitHub, openssl, lib }:
3 stdenv.mkDerivation (finalAttrs: {
7 src = fetchFromGitHub {
10 rev = "v${finalAttrs.version}";
11 hash = "sha256-xL/1os17agwFtdq0snS3ZJzwJhk22ujxfWLH65IMMEM=";
14 makeFlags = [ "INSTALLLOCATION=${placeholder "out"}/bin/" ];
16 buildInputs = [ openssl ];
30 description = "Tool to exploit the hash length extension attack in various hashing algorithms";
31 homepage = "https://github.com/bwall/HashPump";
32 license = lib.licenses.mit;
33 maintainers = with lib.maintainers; [ t4ccer ];
34 platforms = lib.platforms.linux;
35 mainProgram = "hashpump";