nixpkgs-suyu/pkgs/tools/admin/awsweeper/default.nix

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

27 lines
797 B
Nix
Raw Normal View History

2020-11-13 05:20:00 +01:00
{ lib, buildGoModule, fetchFromGitHub }:
2019-12-08 10:20:00 +01:00
buildGoModule rec {
pname = "awsweeper";
2022-02-12 10:42:36 +01:00
version = "0.12.0";
2019-12-08 10:20:00 +01:00
src = fetchFromGitHub {
2020-11-13 05:20:00 +01:00
owner = "jckuester";
2019-12-08 10:20:00 +01:00
repo = pname;
rev = "v${version}";
2022-02-12 10:42:36 +01:00
sha256 = "sha256-5D/4Z8ADlA+4+2EINmP5OfX5exzhfbq2TydPRlJDA6Y=";
2019-12-08 10:20:00 +01:00
};
2022-02-12 10:42:36 +01:00
vendorSha256 = "sha256-jzK56x5mzQkD3tSs6X0Z2Zn1OLXFHgWHz0YLZ3m3NS4=";
2020-11-13 05:20:00 +01:00
2021-08-26 08:45:51 +02:00
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 10:20:00 +01:00
doCheck = false;
meta = with lib; {
2019-12-08 10:20:00 +01:00
description = "A tool to clean out your AWS account";
2020-11-13 05:20:00 +01:00
homepage = "https://github.com/jckuester/awsweeper";
2019-12-08 10:20:00 +01:00
license = licenses.mpl20;
maintainers = [ maintainers.marsam ];
};
}