forked from mirrors/nixpkgs
ssm-agent: init at 2.0.633.0
This commit is contained in:
parent
0d52f15fa0
commit
4c0aae964c
31
pkgs/applications/networking/cluster/ssm-agent/default.nix
Normal file
31
pkgs/applications/networking/cluster/ssm-agent/default.nix
Normal file
|
@ -0,0 +1,31 @@
|
|||
{ stdenv, fetchFromGitHub, buildGoPackage }:
|
||||
|
||||
buildGoPackage rec {
|
||||
name = "${pname}-${version}";
|
||||
pname = "amazon-ssm-agent";
|
||||
version = "2.0.633.0";
|
||||
|
||||
goPackagePath = "github.com/aws/${pname}";
|
||||
subPackages = [ "agent" ];
|
||||
|
||||
src = fetchFromGitHub {
|
||||
rev = "v${version}";
|
||||
owner = "aws";
|
||||
repo = pname;
|
||||
sha256 = "10arshfn2k3m3zzgw8b3xc6ywd0ss73746nq5srh2jir7mjzi4xv";
|
||||
};
|
||||
|
||||
preBuild = ''
|
||||
mv go/src/${goPackagePath}/vendor strange-vendor
|
||||
mv strange-vendor/src go/src/${goPackagePath}/vendor
|
||||
'';
|
||||
|
||||
meta = with stdenv.lib; {
|
||||
description = "Agent to enable remote management of your Amazon EC2 instance configuration";
|
||||
homepage = "https://github.com/aws/amazon-ssm-agent";
|
||||
license = licenses.asl20;
|
||||
platforms = platforms.linux;
|
||||
maintainers = with maintainers; [ copumpkin ];
|
||||
};
|
||||
}
|
||||
|
|
@ -5960,6 +5960,8 @@ with pkgs;
|
|||
spidermonkey_38 = callPackage ../development/interpreters/spidermonkey/38.nix { };
|
||||
spidermonkey = spidermonkey_31;
|
||||
|
||||
ssm-agent = callPackage ../applications/networking/cluster/ssm-agent { };
|
||||
|
||||
supercollider = callPackage ../development/interpreters/supercollider {
|
||||
fftw = fftwSinglePrec;
|
||||
};
|
||||
|
|
Loading…
Reference in a new issue