mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-17 23:36:17 +01:00
awsls: init at 0.11.0
This commit is contained in:
parent
4081a307af
commit
e14aabb3f6
2 changed files with 30 additions and 0 deletions
28
pkgs/tools/admin/awsls/default.nix
Normal file
28
pkgs/tools/admin/awsls/default.nix
Normal file
|
@ -0,0 +1,28 @@
|
|||
{ lib, buildGoModule, fetchFromGitHub }:
|
||||
|
||||
buildGoModule rec {
|
||||
pname = "awsls";
|
||||
version = "0.11.0";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "jckuester";
|
||||
repo = pname;
|
||||
rev = "v${version}";
|
||||
sha256 = "sha256-iy9tohmVUtNXYVfe6pZ+pbbLlcK6Fu1GgzTWMD+3xP0=";
|
||||
};
|
||||
|
||||
vendorSha256 = "sha256-ZyMO+KCqoePF6MqHFt8X4tZR4nBhuSPgJDrX+emM6jc=";
|
||||
|
||||
ldflags =
|
||||
let t = "github.com/jckuester/awsls/internal";
|
||||
in [ "-s" "-w" "-X ${t}.version=${version}" "-X ${t}.commit=${src.rev}" "-X ${t}.date=unknown" ];
|
||||
|
||||
doCheck = false;
|
||||
|
||||
meta = with lib; {
|
||||
description = "A list command for AWS resources";
|
||||
homepage = "https://github.com/jckuester/awsls";
|
||||
license = licenses.mit;
|
||||
maintainers = [ maintainers.markus1189 ];
|
||||
};
|
||||
}
|
|
@ -2560,6 +2560,8 @@ with pkgs;
|
|||
|
||||
aws_mturk_clt = callPackage ../tools/misc/aws-mturk-clt { };
|
||||
|
||||
awsls = callPackage ../tools/admin/awsls { };
|
||||
|
||||
awstats = callPackage ../tools/system/awstats { };
|
||||
|
||||
awsweeper = callPackage ../tools/admin/awsweeper { };
|
||||
|
|
Loading…
Reference in a new issue