biome: 1.9.2 -> 1.9.3
[NixPkgs.git] / pkgs / tools / admin / awsrm / default.nix
blob3fd9896507bea2b9a761c23cc18af612668e9b7c
1 { lib, buildGoModule, fetchFromGitHub }:
3 buildGoModule rec {
4   pname = "awsrm";
5   version = "0.4.0";
7   src = fetchFromGitHub {
8     owner = "jckuester";
9     repo = pname;
10     rev = "v${version}";
11     sha256 = "sha256-KAujqYDtZbCBRO5WK9b9mxqe84ZllbBoO2tLnDH/bdo=";
12   };
14   vendorHash = "sha256-CldEAeiFH7gdFNLbIe/oTzs8Pdnde7EqLr7vP7SMDGU=";
16   ldflags =
17     let t = "github.com/jckuester/awsrm/internal";
18     in [ "-s" "-w" "-X ${t}.version=${version}" "-X ${t}.commit=${src.rev}" "-X ${t}.date=unknown" ];
20   doCheck = false;
22   meta = with lib; {
23     description = "Remove command for AWS resources";
24     homepage = "https://github.com/jckuester/awsrm";
25     license = licenses.mit;
26     maintainers = [ maintainers.markus1189 ];
27     mainProgram = "awsrm";
28   };