jwtcat: init at 0-unstable-2022-10-15

This commit is contained in:
0x2B
2026-03-09 02:45:43 -04:00
committed by FliegendeWurst
parent b14f8fbb74
commit 58a2e2f971

View File

@@ -0,0 +1,44 @@
{
lib,
python3Packages,
fetchFromGitHub,
}:
python3Packages.buildPythonApplication {
pname = "jwtcat";
version = "0-unstable-2022-10-15";
pyproject = false;
__structuredAttrs = true;
src = fetchFromGitHub {
owner = "aress31";
repo = "jwtcat";
rev = "f80f3d9352b82f0e7da504b2ee11f4a61f23c385";
hash = "sha256-pk0/Lzw4yUIXfLBX/0Xwaecio42MjLYUzECQ8xaH3vY=";
};
dependencies = with python3Packages; [
pyjwt
coloredlogs
tqdm
];
installPhase = ''
runHook preInstall
install -Dm755 jwtcat.py $out/bin/jwtcat
runHook postInstall
'';
doCheck = false;
meta = {
description = "CPU-based JSON Web Token cracker and scanner";
homepage = "https://github.com/aress31/jwtcat";
license = lib.licenses.asl20;
maintainers = with lib.maintainers; [ _0x2B ];
mainProgram = "jwtcat";
};
}