depot/third_party/nixpkgs/pkgs/tools/admin/awsweeper/default.nix
Default email 792b51d22f Project import generated by Copybara.
GitOrigin-RevId: d5f237872975e6fb6f76eef1368b5634ffcd266f
2022-02-20 05:27:41 +00:00

26 lines
797 B
Nix

{ lib, buildGoModule, fetchFromGitHub }:
buildGoModule rec {
pname = "awsweeper";
version = "0.12.0";
src = fetchFromGitHub {
owner = "jckuester";
repo = pname;
rev = "v${version}";
sha256 = "sha256-5D/4Z8ADlA+4+2EINmP5OfX5exzhfbq2TydPRlJDA6Y=";
};
vendorSha256 = "sha256-jzK56x5mzQkD3tSs6X0Z2Zn1OLXFHgWHz0YLZ3m3NS4=";
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" ];
doCheck = false;
meta = with lib; {
description = "A tool to clean out your AWS account";
homepage = "https://github.com/jckuester/awsweeper";
license = licenses.mpl20;
maintainers = [ maintainers.marsam ];
};
}