jxscout: init at 0.9.4

This commit is contained in:
Timofey Katkov
2026-03-24 14:22:10 +03:00
parent c33e4fb975
commit 3690c3a969
+50
View File
@@ -0,0 +1,50 @@
{
lib,
buildGoModule,
fetchFromGitHub,
makeWrapper,
prettier,
bun,
nodejs,
}:
buildGoModule (finalAttrs: {
pname = "jxscout";
version = "0.9.4";
src = fetchFromGitHub {
owner = "francisconeves97";
repo = "jxscout";
tag = "v${finalAttrs.version}";
hash = "sha256-DvvhcnjBHRHUEW5mWHLa7ufC+7yzYwKKOV79Syk5zME=";
};
subPackages = [ "cmd/jxscout" ];
vendorHash = null;
nativeBuildInputs = [ makeWrapper ];
doCheck = true;
postInstall = ''
wrapProgram $out/bin/jxscout --prefix PATH : ${
lib.makeBinPath [
prettier
bun
nodejs
]
}
'';
meta = {
description = "jxscout superpowers JavaScript analysis for security researchers (free version)";
homepage = "https://jxscout.app/";
downloadPage = "https://github.com/francisconeves97/jxscout";
changelog = "https://github.com/francisconeves97/jxscout/releases/tag/v${finalAttrs.version}";
license = lib.licenses.gpl3Plus;
mainProgram = "jxscout";
maintainers = with lib.maintainers; [ katok ];
platforms = lib.platforms.linux ++ lib.platforms.darwin ++ lib.platforms.windows;
};
})