Merge pull request #208952 from williamvds/add_aws_assume_role
aws-assume-role: init at 0.3.2
This commit is contained in:
commit
04031fdb82
3 changed files with 44 additions and 0 deletions
|
@ -15970,6 +15970,15 @@
|
||||||
fingerprint = "DA03 D6C6 3F58 E796 AD26 E99B 366A 2940 479A 06FC";
|
fingerprint = "DA03 D6C6 3F58 E796 AD26 E99B 366A 2940 479A 06FC";
|
||||||
}];
|
}];
|
||||||
};
|
};
|
||||||
|
williamvds = {
|
||||||
|
email = "nixpkgs@williamvds.me";
|
||||||
|
github = "williamvds";
|
||||||
|
githubId = 26379999;
|
||||||
|
name = "William Vigolo";
|
||||||
|
keys = [{
|
||||||
|
fingerprint = "9848 B216 BCBE 29BB 1C6A E0D5 7A4D F5A8 CDBD 49C7";
|
||||||
|
}];
|
||||||
|
};
|
||||||
willibutz = {
|
willibutz = {
|
||||||
email = "willibutz@posteo.de";
|
email = "willibutz@posteo.de";
|
||||||
github = "WilliButz";
|
github = "WilliButz";
|
||||||
|
|
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 { };
|
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-lambda-rie = callPackage ../tools/admin/aws-lambda-runtime-interface-emulator { };
|
||||||
|
|
||||||
aws-env = callPackage ../tools/admin/aws-env { };
|
aws-env = callPackage ../tools/admin/aws-env { };
|
||||||
|
|
Loading…
Reference in a new issue