peirates: init at 1.29a (#529087)

This commit is contained in:
Fabian Affolter
2026-06-08 13:28:22 +00:00
committed by GitHub
+38
View File
@@ -0,0 +1,38 @@
{
lib,
buildGoModule,
fetchFromGitHub,
}:
buildGoModule (finalAttrs: {
pname = "peirates";
version = "1.29a";
src = fetchFromGitHub {
owner = "inguardians";
repo = "peirates";
tag = "v${finalAttrs.version}";
hash = "sha256-VSb0l1yLFl5dZQn0Pb0HWLbeFiTUhZQBsJcjmrt4C7g=";
};
__structuredAttrs = true;
vendorHash = "sha256-QwESK8ZTlb0boI+PCvoXYbVG6a47Ws1k8nrc7yQWPtE=";
proxyVendor = true;
preBuild = ''
export GOFLAGS="$GOFLAGS -mod=mod"
'';
ldflags = [ "-s" ];
meta = {
description = "Kubernetes Penetration Testing tool";
homepage = "https://github.com/inguardians/peirates";
changelog = "https://github.com/inguardians/peirates/blob/${finalAttrs.src.rev}/changelog.md";
license = lib.licenses.gpl2Only;
maintainers = with lib.maintainers; [ fab ];
mainProgram = "peirates";
};
})