Merge branch 'pr-49633'
* pr-49633: pulumi: init at 0.16.2
This commit is contained in:
commit
8231e7181b
39
pkgs/tools/admin/pulumi/default.nix
Normal file
39
pkgs/tools/admin/pulumi/default.nix
Normal file
@ -0,0 +1,39 @@
|
|||||||
|
{ stdenv, fetchurl }:
|
||||||
|
|
||||||
|
let
|
||||||
|
|
||||||
|
version = "0.16.2";
|
||||||
|
|
||||||
|
# switch the dropdown to “manual” on https://pulumi.io/quickstart/install.html # TODO: update script
|
||||||
|
pulumiArchPackage = {
|
||||||
|
"x86_64-linux" = {
|
||||||
|
url = "https://get.pulumi.com/releases/sdk/pulumi-v${version}-linux-x64.tar.gz";
|
||||||
|
sha256 = "16qgy2pj3xkf1adi3882fpsl99jwsm19111fi5vzh1xqf39sg549";
|
||||||
|
};
|
||||||
|
"x86_64-darwin" = {
|
||||||
|
url = "https://get.pulumi.com/releases/sdk/pulumi-v${version}-darwin-x64.tar.gz";
|
||||||
|
sha256 = "18ck9khspa0x798bdlwk8dzylbsq7s35xmla8yasd9qqlab1yy1a";
|
||||||
|
};
|
||||||
|
};
|
||||||
|
|
||||||
|
in stdenv.mkDerivation rec {
|
||||||
|
inherit version;
|
||||||
|
name = "pulumi-${version}";
|
||||||
|
|
||||||
|
src = fetchurl pulumiArchPackage.${stdenv.hostPlatform.system};
|
||||||
|
|
||||||
|
installPhase = ''
|
||||||
|
mkdir -p $out/bin
|
||||||
|
cp * $out/bin/
|
||||||
|
'';
|
||||||
|
|
||||||
|
meta = with stdenv.lib; {
|
||||||
|
homepage = https://pulumi.io/;
|
||||||
|
description = "Pulumi is a cloud development platform that makes creating cloud programs easy and productive";
|
||||||
|
license = with licenses; [ asl20 ];
|
||||||
|
platforms = builtins.attrNames pulumiArchPackage;
|
||||||
|
maintainers = with maintainers; [
|
||||||
|
peterromfeldhk
|
||||||
|
];
|
||||||
|
};
|
||||||
|
}
|
@ -4721,6 +4721,8 @@ with pkgs;
|
|||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
|
pulumi-bin = callPackage ../tools/admin/pulumi { };
|
||||||
|
|
||||||
p0f = callPackage ../tools/security/p0f { };
|
p0f = callPackage ../tools/security/p0f { };
|
||||||
|
|
||||||
pngout = callPackage ../tools/graphics/pngout { };
|
pngout = callPackage ../tools/graphics/pngout { };
|
||||||
|
Loading…
Reference in New Issue
Block a user