nixpkgs/pkgs/by-name/ku/kubestroyer/package.nix

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

34 lines
731 B
Nix
Raw Normal View History

2023-05-21 13:27:06 +00:00
{
lib,
buildGoModule,
fetchFromGitHub,
}:
buildGoModule rec {
pname = "kubestroyer";
2024-05-24 01:15:48 +00:00
version = "0.3.0";
2023-05-21 13:27:06 +00:00
src = fetchFromGitHub {
owner = "Rolix44";
repo = "Kubestroyer";
rev = "refs/tags/v${version}";
2024-05-24 01:15:48 +00:00
hash = "sha256-A4kx0Xx3p9rP8OKRLPe9AfX+rqGggtvPb7Hsg+lLkSI=";
2023-05-21 13:27:06 +00:00
};
2024-05-24 01:15:48 +00:00
vendorHash = "sha256-V6qEvMsX7tdhooW116+0ayT6RYkdjDbz6QwWb8rC4ig=";
2023-05-21 13:27:06 +00:00
ldflags = [
"-s"
"-w"
];
meta = with lib; {
description = "Kubernetes exploitation tool";
homepage = "https://github.com/Rolix44/Kubestroyer";
changelog = "https://github.com/Rolix44/Kubestroyer/releases/tag/v${version}";
license = licenses.mit;
maintainers = with maintainers; [ fab ];
2023-11-23 02:51:17 +00:00
mainProgram = "kubestroyer";
2023-05-21 13:27:06 +00:00
};
}