wpprobe: init at 0.7.2

WordPress plugin enumeration tool

https://github.com/Chocapikk/wpprobe
This commit is contained in:
Fabian Affolter
2025-07-12 11:28:07 +02:00
parent f9d8c8ce73
commit 940e7eb9ff
+48
View File
@@ -0,0 +1,48 @@
{
lib,
buildGoModule,
fetchFromGitHub,
versionCheckHook,
writableTmpDirAsHomeHook,
}:
buildGoModule (finalAttrs: {
pname = "wpprobe";
version = "0.7.2";
src = fetchFromGitHub {
owner = "Chocapikk";
repo = "wpprobe";
tag = "v${finalAttrs.version}";
hash = "sha256-6aL1hK9oZYcBVQbfualIOsYrbMWTA1uV+fEKbOFaSHU=";
};
vendorHash = "sha256-KV6Ss0fN3xwm5Id7MAHMUjq9TsQbaInLjd5xcLKGX6U=";
nativeCheckInputs = [
versionCheckHook
writableTmpDirAsHomeHook
];
ldflags = [
"-s"
"-w"
"-X=github.com/Chocapikk/wpprobe/internal/utils.Version=v${finalAttrs.version}"
];
doInstallCheck = true;
checkFlags = [
# Test requires network access
"-skip=TestUpdateWordfence"
];
meta = {
description = "WordPress plugin enumeration tool";
homepage = "https://github.com/Chocapikk/wpprobe";
changelog = "https://github.com/Chocapikk/wpprobe/releases/tag/${finalAttrs.src.tag}";
license = lib.licenses.mit;
maintainers = with lib.maintainers; [ fab ];
mainProgram = "wpprobe";
};
})