at 23.05-pre 26 lines 698 B view raw
1{ lib, buildGoModule, fetchFromGitHub }: 2 3buildGoModule rec { 4 pname = "cloud-nuke"; 5 version = "0.21.0"; 6 7 src = fetchFromGitHub { 8 owner = "gruntwork-io"; 9 repo = pname; 10 rev = "v${version}"; 11 sha256 = "sha256-DcR5pofMcV2Y5qVA2h3I5h/1qS25+deVAUQWIMLu/KI="; 12 }; 13 14 vendorSha256 = "sha256-GRHyoKv05JRZiY0g3Xd11liDYPcA6rfE8vorZRCV1wI="; 15 16 ldflags = [ "-s" "-w" "-X main.VERSION=${version}" ]; 17 18 doCheck = false; 19 20 meta = with lib; { 21 homepage = "https://github.com/gruntwork-io/cloud-nuke"; 22 description = "A tool for cleaning up your cloud accounts by nuking (deleting) all resources within it"; 23 license = licenses.mit; 24 maintainers = [ maintainers.marsam ]; 25 }; 26}