2020-11-13 04:20:00 +00:00
|
|
|
{ lib, buildGoModule, fetchFromGitHub }:
|
2019-12-08 09:20:00 +00:00
|
|
|
|
|
|
|
buildGoModule rec {
|
|
|
|
pname = "awsweeper";
|
2020-11-13 04:20:00 +00:00
|
|
|
version = "0.10.2";
|
2020-05-01 02:59:00 +01:00
|
|
|
|
2019-12-08 09:20:00 +00:00
|
|
|
src = fetchFromGitHub {
|
2020-11-13 04:20:00 +00:00
|
|
|
owner = "jckuester";
|
2019-12-08 09:20:00 +00:00
|
|
|
repo = pname;
|
|
|
|
rev = "v${version}";
|
2020-11-13 04:20:00 +00:00
|
|
|
sha256 = "1ln4s04n1qd1wv88ahhvvvphlxf6c9krqz9lmbcx3n67sb8xngm5";
|
2019-12-08 09:20:00 +00:00
|
|
|
};
|
|
|
|
|
2020-11-13 04:20:00 +00:00
|
|
|
vendorSha256 = "0zlhb84fmrnwq71d0h83p28aqlfclcydndl0z2j9nx2skjlxax2i";
|
|
|
|
|
|
|
|
buildFlagsArray = [ "-ldflags=-s -w -X github.com/jckuester/awsweeper/internal.version=${version} -X github.com/jckuester/awsweeper/internal.commit=${src.rev} -X github.com/jckuester/awsweeper/internal.date=unknown" ];
|
2019-12-08 09:20:00 +00:00
|
|
|
|
2020-08-04 01:26:27 +01:00
|
|
|
doCheck = false;
|
|
|
|
|
2020-03-27 07:33:21 +00:00
|
|
|
meta = with lib; {
|
2019-12-08 09:20:00 +00:00
|
|
|
description = "A tool to clean out your AWS account";
|
2020-11-13 04:20:00 +00:00
|
|
|
homepage = "https://github.com/jckuester/awsweeper";
|
2019-12-08 09:20:00 +00:00
|
|
|
license = licenses.mpl20;
|
|
|
|
maintainers = [ maintainers.marsam ];
|
|
|
|
};
|
|
|
|
}
|