pphack: init at 0.1.0 (#422542)

This commit is contained in:
Aleksana
2025-07-05 16:02:48 +08:00
committed by GitHub
+33
View File
@@ -0,0 +1,33 @@
{
lib,
buildGoModule,
fetchFromGitHub,
}:
buildGoModule rec {
pname = "pphack";
version = "0.1.0";
src = fetchFromGitHub {
owner = "edoardottt";
repo = "pphack";
tag = "v${version}";
hash = "sha256-SWMY+t8NzbUqAeLsqia5KAXXOjoMRMZVVa8YdTLcG5A=";
};
vendorHash = "sha256-smJp3GDo1KOrEjEJnxtyrlHmb/L70QqhDWjCZ4U1qJs=";
ldflags = [
"-s"
"-w"
];
meta = {
description = "Client-Side Prototype Pollution Scanner";
homepage = "https://github.com/edoardottt/pphack";
changelog = "https://github.com/edoardottt/pphack/releases/tag/${src.tag}";
license = lib.licenses.mit;
maintainers = with lib.maintainers; [ fab ];
mainProgram = "pphack";
};
}