git.iko.soy/typeable/nixpkgs
on master help sign in
pulumi: init at 0.16.2
commit08699733bbf38cb2ab587688db727e0fd8b83cce authorPeter Romfeld <peter.romfeld.hk@gmail.com> dateFri 2 Nov 2018, 16:05 (8 years ago) parent6753b2c
2 files changed+41
pkgs/tools/admin/pulumi/default.nix+39 pkgs/top-level/all-packages.nix+2
pkgs/tools/admin/pulumi/default.nixnew file+39
@@ -0,0 +1,39 @@
1+{ stdenv, fetchurl }:
2+
3+let
4+
5+ version = "0.16.2";
6+
7+ # switch the dropdown to “manual” on https://pulumi.io/quickstart/install.html # TODO: update script
8+ pulumiArchPackage = {
9+ "x86_64-linux" = {
10+ url = "https://get.pulumi.com/releases/sdk/pulumi-v${version}-linux-x64.tar.gz";
11+ sha256 = "16qgy2pj3xkf1adi3882fpsl99jwsm19111fi5vzh1xqf39sg549";
12+ };
13+ "x86_64-darwin" = {
14+ url = "https://get.pulumi.com/releases/sdk/pulumi-v${version}-darwin-x64.tar.gz";
15+ sha256 = "18ck9khspa0x798bdlwk8dzylbsq7s35xmla8yasd9qqlab1yy1a";
16+ };
17+ };
18+
19+in stdenv.mkDerivation rec {
20+ inherit version;
21+ name = "pulumi-${version}";
22+
23+ src = fetchurl pulumiArchPackage.${stdenv.hostPlatform.system};
24+
25+ installPhase = ''
26+ mkdir -p $out/bin
27+ cp * $out/bin/
28+ '';
29+
30+ meta = with stdenv.lib; {
31+ homepage = https://pulumi.io/;
32+ description = "Pulumi is a cloud development platform that makes creating cloud programs easy and productive";
33+ license = with licenses; [ asl20 ];
34+ platforms = builtins.attrNames pulumiArchPackage;
35+ maintainers = with maintainers; [
36+ peterromfeldhk
37+ ];
38+ };
39+}
pkgs/top-level/all-packages.nix+2
@@ -4663,6 +4663,8 @@ with pkgs;
46634663 };
46644664 };
46654665
4666+ pulumi-bin = callPackage ../tools/admin/pulumi { };
4667+
46664668 p0f = callPackage ../tools/security/p0f { };
46674669
46684670 pngout = callPackage ../tools/graphics/pngout { };