biome: 1.9.2 -> 1.9.3
[NixPkgs.git] / pkgs / tools / admin / awsweeper / default.nix
blob064d210907a0bc6e2aee2d88ef05fb8d406f3a66
1 { lib, buildGoModule, fetchFromGitHub }:
3 buildGoModule rec {
4   pname = "awsweeper";
5   version = "0.12.0";
7   src = fetchFromGitHub {
8     owner = "jckuester";
9     repo = pname;
10     rev = "v${version}";
11     sha256 = "sha256-5D/4Z8ADlA+4+2EINmP5OfX5exzhfbq2TydPRlJDA6Y=";
12   };
14   vendorHash = "sha256-jzK56x5mzQkD3tSs6X0Z2Zn1OLXFHgWHz0YLZ3m3NS4=";
16   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" ];
18   doCheck = false;
20   meta = with lib; {
21     description = "Tool to clean out your AWS account";
22     homepage = "https://github.com/jckuester/awsweeper";
23     license = licenses.mpl20;
24     maintainers = [ ];
25     mainProgram = "awsweeper";
26   };