Skip to content

Commit

Permalink
ssm-session-manager-plugin: init at 1.1.61.0
Browse files Browse the repository at this point in the history
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
Show file tree
Hide file tree
Showing 2 changed files with 30 additions and 0 deletions.
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 ];
};
}
1 change: 1 addition & 0 deletions pkgs/top-level/all-packages.nix
Original file line number Diff line number Diff line change
Expand Up @@ -9484,6 +9484,7 @@ in
spidermonkey = spidermonkey_38;

ssm-agent = callPackage ../applications/networking/cluster/ssm-agent { };
ssm-session-manager-plugin = callPackage ../applications/networking/cluster/ssm-session-manager-plugin { };

supercollider = libsForQt5.callPackage ../development/interpreters/supercollider {
fftw = fftwSinglePrec;
Expand Down

0 comments on commit fc9ca52

Please sign in to comment.