hashpump: init at 1.2.0 (#240091)

This commit is contained in:
Tomasz Maciosowski 2023-06-28 16:12:32 +02:00 committed by GitHub
parent 05a3064ec6
commit c3332ad377
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 38 additions and 0 deletions

View file

@ -0,0 +1,36 @@
{ stdenv, fetchFromGitHub, openssl, lib }:
stdenv.mkDerivation (finalAttrs: {
pname = "hashpump";
version = "1.2.0";
src = fetchFromGitHub {
owner = "bwall";
repo = "HashPump";
rev = "v${finalAttrs.version}";
hash = "sha256-xL/1os17agwFtdq0snS3ZJzwJhk22ujxfWLH65IMMEM=";
};
makeFlags = [ "INSTALLLOCATION=${placeholder "out"}/bin/" ];
buildInputs = [ openssl ];
doCheck = true;
checkPhase = ''
runHook preCheck
./hashpump --test
runHook postCheck
'';
preInstall = ''
mkdir -p $out/bin
'';
meta = {
description = "A tool to exploit the hash length extension attack in various hashing algorithms";
homepage = "https://github.com/bwall/HashPump";
license = lib.licenses.mit;
maintainers = with lib.maintainers; [ t4ccer ];
platforms = lib.platforms.linux;
};
})

View file

@ -39455,6 +39455,8 @@ with pkgs;
gummy = callPackage ../tools/misc/gummy { };
hashpump = callPackage ../tools/misc/hashpump { };
hck = callPackage ../tools/text/hck { };
helm = callPackage ../applications/audio/helm { };