git.iko.soy/typeable/nixpkgs
on master help sign in
Merge branch 'pr-49633'

* pr-49633: pulumi: init at 0.16.2

commit8231e7181b285cfc8c53bcd3c433455a7079135b authorLéo Gaspard <leo@gaspard.io> dateWed 28 Nov 2018, 10:09 (8 years ago) parent6ef78a40869973
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
@@ -4721,6 +4721,8 @@ with pkgs;
47214721 };
47224722 };
47234723
4724+ pulumi-bin = callPackage ../tools/admin/pulumi { };
4725+
47244726 p0f = callPackage ../tools/security/p0f { };
47254727
47264728 pngout = callPackage ../tools/graphics/pngout { };