forked from mirrors/nixpkgs
aws-assume-role: init at 0.3.2
This commit is contained in:
parent
f9f23dc52d
commit
6d8cb115c9
33
pkgs/tools/admin/aws-assume-role/default.nix
Normal file
33
pkgs/tools/admin/aws-assume-role/default.nix
Normal file
|
@ -0,0 +1,33 @@
|
|||
{ lib
|
||||
, fetchFromGitHub
|
||||
, buildGoPackage
|
||||
}:
|
||||
|
||||
buildGoPackage rec {
|
||||
pname = "aws-assume-role";
|
||||
version = "0.3.2";
|
||||
|
||||
outputs = [ "out" "doc" ];
|
||||
|
||||
goPackagePath = "github.com/remind101/assume-role";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "remind101";
|
||||
repo = "assume-role";
|
||||
rev = "refs/tags/${version}";
|
||||
sha256 = "sha256-7+9qi9lYzv1YCFhUyla+5Gqs5nBUiiazhFwiqHzMFd4=";
|
||||
};
|
||||
|
||||
postInstall = ''
|
||||
install -Dm444 -t $out/share/doc/$name ./go/src/${goPackagePath}/README.md
|
||||
'';
|
||||
|
||||
meta = with lib; {
|
||||
description = "Easily assume AWS roles in your terminal.";
|
||||
homepage = "https://github.com/remind101/assume-role";
|
||||
license = licenses.bsd2;
|
||||
mainProgram = "assume-role";
|
||||
maintainers = with lib.maintainers; [ williamvds ];
|
||||
platforms = platforms.all;
|
||||
};
|
||||
}
|
|
@ -2820,6 +2820,8 @@ with pkgs;
|
|||
|
||||
awslogs = callPackage ../tools/admin/awslogs { };
|
||||
|
||||
aws-assume-role = callPackage ../tools/admin/aws-assume-role { };
|
||||
|
||||
aws-lambda-rie = callPackage ../tools/admin/aws-lambda-runtime-interface-emulator { };
|
||||
|
||||
aws-env = callPackage ../tools/admin/aws-env { };
|
||||
|
|
Loading…
Reference in a new issue