awsrm: init at 0.4.0
This commit is contained in:
parent
ec4e23d4e9
commit
1a4c30a353
28
pkgs/tools/admin/awsrm/default.nix
Normal file
28
pkgs/tools/admin/awsrm/default.nix
Normal file
@ -0,0 +1,28 @@
|
||||
{ lib, buildGoModule, fetchFromGitHub }:
|
||||
|
||||
buildGoModule rec {
|
||||
pname = "awsrm";
|
||||
version = "0.4.0";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "jckuester";
|
||||
repo = pname;
|
||||
rev = "v${version}";
|
||||
sha256 = "sha256-KAujqYDtZbCBRO5WK9b9mxqe84ZllbBoO2tLnDH/bdo=";
|
||||
};
|
||||
|
||||
vendorSha256 = "sha256-CldEAeiFH7gdFNLbIe/oTzs8Pdnde7EqLr7vP7SMDGU=";
|
||||
|
||||
ldflags =
|
||||
let t = "github.com/jckuester/awsrm/internal";
|
||||
in [ "-s" "-w" "-X ${t}.version=${version}" "-X ${t}.commit=${src.rev}" "-X ${t}.date=unknown" ];
|
||||
|
||||
doCheck = false;
|
||||
|
||||
meta = with lib; {
|
||||
description = "A remove command for AWS resources";
|
||||
homepage = "https://github.com/jckuester/awsrm";
|
||||
license = licenses.mit;
|
||||
maintainers = [ maintainers.markus1189 ];
|
||||
};
|
||||
}
|
@ -2607,6 +2607,8 @@ with pkgs;
|
||||
|
||||
awsls = callPackage ../tools/admin/awsls { };
|
||||
|
||||
awsrm = callPackage ../tools/admin/awsrm { };
|
||||
|
||||
awstats = callPackage ../tools/system/awstats { };
|
||||
|
||||
awsweeper = callPackage ../tools/admin/awsweeper { };
|
||||
|
Loading…
Reference in New Issue
Block a user