diff --git a/pkgs/tools/admin/pulumi-packages/default.nix b/pkgs/tools/admin/pulumi-packages/default.nix index 6c732fec6c73..859f21d61ed8 100644 --- a/pkgs/tools/admin/pulumi-packages/default.nix +++ b/pkgs/tools/admin/pulumi-packages/default.nix @@ -4,6 +4,7 @@ let callPackage' = p: args: callPackage p (args // { inherit mkPulumiPackage; }); in { + pulumi-azure-native = callPackage' ./pulumi-azure-native.nix { }; pulumi-language-python = callPackage ./pulumi-language-python.nix { }; pulumi-random = callPackage' ./pulumi-random.nix { }; } diff --git a/pkgs/tools/admin/pulumi-packages/pulumi-azure-native.nix b/pkgs/tools/admin/pulumi-packages/pulumi-azure-native.nix new file mode 100644 index 000000000000..6d2df0af08f8 --- /dev/null +++ b/pkgs/tools/admin/pulumi-packages/pulumi-azure-native.nix @@ -0,0 +1,24 @@ +{ lib +, mkPulumiPackage +}: +mkPulumiPackage rec { + owner = "pulumi"; + repo = "pulumi-azure-native"; + version = "1.81.0"; + rev = "v${version}"; + hash = "sha256-xiifVjvtt4bKi0fBYLU/Gfkx2tziLIq2vddRNWwuyz0="; + vendorHash = "sha256-VSwT5I5casJiBpXAcV9vLEWU9XWuDTktmfGqE6H/HX4="; + cmdGen = "pulumi-gen-azure-native"; + cmdRes = "pulumi-resource-azure-native"; + extraLdflags = [ + "-X github.com/pulumi/${repo}/provider/pkg/version.Version=v${version}" + ]; + fetchSubmodules = true; + __darwinAllowLocalNetworking = true; + meta = with lib; { + description = "Native Azure Pulumi Provider"; + homepage = "https://github.com/pulumi/pulumi-azure-native"; + license = licenses.asl20; + maintainers = with maintainers; [ veehaitch trundle ]; + }; +}