-
-
Notifications
You must be signed in to change notification settings - Fork 14.6k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
ssm-session-manager-plugin: init at 1.1.61.0
Signed-off-by: Martin Baillie <[email protected]> (cherry picked from commit 9566c74)
- Loading branch information
Martin Baillie
committed
May 8, 2020
1 parent
210d862
commit fc9ca52
Showing
2 changed files
with
30 additions
and
0 deletions.
There are no files selected for viewing
29 changes: 29 additions & 0 deletions
29
pkgs/applications/networking/cluster/ssm-session-manager-plugin/default.nix
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,29 @@ | ||
{ stdenv, lib, fetchurl, autoPatchelfHook, dpkg, awscli }: | ||
stdenv.mkDerivation rec { | ||
pname = "ssm-session-manager-plugin"; | ||
version = "1.1.61.0"; | ||
|
||
src = fetchurl { | ||
url = | ||
"https://s3.amazonaws.com/session-manager-downloads/plugin/${version}/ubuntu_64bit/session-manager-plugin.deb"; | ||
sha256 = "0z59irrpwhjjhn379454xyraqs590hij2n6n6k25w5hh8ak7imfl"; | ||
}; | ||
|
||
nativeBuildInputs = [ autoPatchelfHook dpkg ]; | ||
|
||
buildInputs = [ awscli ]; | ||
|
||
unpackPhase = "dpkg-deb -x $src ."; | ||
|
||
installPhase = | ||
"install -m755 -D usr/local/sessionmanagerplugin/bin/session-manager-plugin $out/bin/session-manager-plugin"; | ||
|
||
meta = with lib; { | ||
homepage = | ||
"https://docs.aws.amazon.com/systems-manager/latest/userguide/session-manager-working-with-install-plugin.html"; | ||
description = "Amazon SSM Session Manager Plugin"; | ||
platforms = [ "x86_64-linux" ]; | ||
license = licenses.unfree; | ||
maintainers = with maintainers; [ mbaillie ]; | ||
}; | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters