3
0
Fork 0
forked from mirrors/nixpkgs
nixpkgs/pkgs/tools/admin/awsweeper/default.nix

25 lines
649 B
Nix
Raw Normal View History

2020-03-21 09:43:00 +00:00
{ stdenv, buildGoModule, fetchFromGitHub, Security }:
2019-12-08 09:20:00 +00:00
buildGoModule rec {
pname = "awsweeper";
2020-03-13 15:13:56 +00:00
version = "0.6.0";
2019-12-08 09:20:00 +00:00
src = fetchFromGitHub {
owner = "cloudetc";
repo = pname;
rev = "v${version}";
2020-03-13 15:13:56 +00:00
sha256 = "0sbd1jgzz3rxxwgbni885zvvcznfc51imaxwv7f064290iqlbrv4";
2019-12-08 09:20:00 +00:00
};
2020-03-13 15:13:56 +00:00
modSha256 = "14yvf0svh7xqpc2y7xr94pc6r7d3iv2nsr8qs3f5q29hdc5hv3fs";
2019-12-08 09:20:00 +00:00
2020-03-21 09:43:00 +00:00
buildInputs = stdenv.lib.optionals stdenv.isDarwin [ Security ];
meta = with stdenv.lib; {
2019-12-08 09:20:00 +00:00
description = "A tool to clean out your AWS account";
homepage = "https://github.com/cloudetc/awsweeper/";
license = licenses.mpl20;
maintainers = [ maintainers.marsam ];
};
}