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