depot/third_party/nixpkgs/pkgs/tools/admin/awsweeper/default.nix
Default email 58849dfc4f Project import generated by Copybara.
GitOrigin-RevId: 21c937f8cb1e6adcfeb36dfd6c90d9d9bfab1d28
2021-08-27 16:25:00 +02:00

26 lines
797 B
Nix

{ lib, buildGoModule, fetchFromGitHub }:
buildGoModule rec {
pname = "awsweeper";
version = "0.11.1";
src = fetchFromGitHub {
owner = "jckuester";
repo = pname;
rev = "v${version}";
sha256 = "sha256-fpWoLFSwSVxaiWyVMSmQTd3o/zOySUXNM2YhxMQ7nsA=";
};
vendorSha256 = "sha256-1u1mzANLlWduAQF1GUX7BJSyYlSZwNQISqKwbyRlGog=";
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 ];
};
}