nixpkgs mirror (for testing) github.com/NixOS/nixpkgs
nix
at 22.05 26 lines 698 B view raw
1{ lib, buildGoModule, fetchFromGitHub }: 2 3buildGoModule rec { 4 pname = "cloud-nuke"; 5 version = "0.11.3"; 6 7 src = fetchFromGitHub { 8 owner = "gruntwork-io"; 9 repo = pname; 10 rev = "v${version}"; 11 sha256 = "sha256-iMPTRPsULrwXbx1xQ9db1s0p9a6YejXkwp7sqZ1ayYU="; 12 }; 13 14 vendorSha256 = "sha256-McCbogZvgm9pnVjay9O2CxAh+653JnDMcU4CHD0PTPI="; 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}