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