depot/third_party/nixpkgs/pkgs/development/tools/cloud-nuke/default.nix
Default email cf3f6e7a7d Project import generated by Copybara.
GitOrigin-RevId: 24eb3f87fc610f18de7076aee7c5a84ac5591e3e
2020-11-30 09:33:03 +01:00

26 lines
713 B
Nix

{ lib, buildGoModule, fetchFromGitHub }:
buildGoModule rec {
pname = "cloud-nuke";
version = "0.1.24";
src = fetchFromGitHub {
owner = "gruntwork-io";
repo = pname;
rev = "v${version}";
sha256 = "11d335lx6pa8pvsiv9m00ig8b8y203rzad4krr0p9c04ppw0c966";
};
vendorSha256 = "1dr1sql0ph3k6hylgikhiaaskxwnsynspp770p9i7y7fasmb53jw";
buildFlagsArray = [ "-ldflags=-s -w -X main.VERSION=${version}" ];
doCheck = false;
meta = with lib; {
homepage = "https://github.com/gruntwork-io/cloud-nuke";
description = "A tool for cleaning up your cloud accounts by nuking (deleting) all resources within it";
license = licenses.mit;
maintainers = [ maintainers.marsam ];
};
}