pytrainer: unpin python 3.10
[NixPkgs.git] / pkgs / tools / security / kubestroyer / default.nix
bloba3f03e605c42ae1194a864cfaa40faa96369a9f4
1 { lib
2 , buildGoModule
3 , fetchFromGitHub
4 }:
6 buildGoModule rec {
7   pname = "kubestroyer";
8   version = "0.3.0";
10   src = fetchFromGitHub {
11     owner = "Rolix44";
12     repo = "Kubestroyer";
13     rev = "refs/tags/v${version}";
14     hash = "sha256-A4kx0Xx3p9rP8OKRLPe9AfX+rqGggtvPb7Hsg+lLkSI=";
15   };
17   vendorHash = "sha256-V6qEvMsX7tdhooW116+0ayT6RYkdjDbz6QwWb8rC4ig=";
19   ldflags = [
20     "-s"
21     "-w"
22   ];
24   meta = with lib; {
25     description = "Kubernetes exploitation tool";
26     homepage = "https://github.com/Rolix44/Kubestroyer";
27     changelog = "https://github.com/Rolix44/Kubestroyer/releases/tag/v${version}";
28     license = licenses.mit;
29     maintainers = with maintainers; [ fab ];
30     mainProgram = "kubestroyer";
31   };