nixpkgs/pkgs/development/tools/cloud-nuke/default.nix
2020-11-26 00:30:09 +00:00

27 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 ];
};
}