mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-23 15:33:13 +00:00
Merge pull request #217552 from Trundle/pulumi-command
pulumiPackages.pulumi-command, python310Packages.pulumi-command: init at 0.7.1
This commit is contained in:
commit
ea737a0ee0
@ -6,6 +6,7 @@ in
|
|||||||
{
|
{
|
||||||
pulumi-aws-native = callPackage' ./pulumi-aws-native.nix { };
|
pulumi-aws-native = callPackage' ./pulumi-aws-native.nix { };
|
||||||
pulumi-azure-native = callPackage' ./pulumi-azure-native.nix { };
|
pulumi-azure-native = callPackage' ./pulumi-azure-native.nix { };
|
||||||
|
pulumi-command = callPackage' ./pulumi-command.nix { };
|
||||||
pulumi-language-nodejs = callPackage ./pulumi-language-nodejs.nix { };
|
pulumi-language-nodejs = callPackage ./pulumi-language-nodejs.nix { };
|
||||||
pulumi-language-python = callPackage ./pulumi-language-python.nix { };
|
pulumi-language-python = callPackage ./pulumi-language-python.nix { };
|
||||||
pulumi-random = callPackage' ./pulumi-random.nix { };
|
pulumi-random = callPackage' ./pulumi-random.nix { };
|
||||||
|
33
pkgs/tools/admin/pulumi-packages/pulumi-command.nix
Normal file
33
pkgs/tools/admin/pulumi-packages/pulumi-command.nix
Normal file
@ -0,0 +1,33 @@
|
|||||||
|
{ lib
|
||||||
|
, mkPulumiPackage
|
||||||
|
}:
|
||||||
|
mkPulumiPackage rec {
|
||||||
|
owner = "pulumi";
|
||||||
|
repo = "pulumi-command";
|
||||||
|
version = "0.7.1";
|
||||||
|
rev = "v${version}";
|
||||||
|
hash = "sha256-QrKtnpJGWoc5WwV6bnERrN3iBJpyoFKFwlqBtNNK7F8=";
|
||||||
|
vendorHash = "sha256-HyzWPRYfjdjGGBByCc8N91qWhX2QBJoQMpudHWrkmFM=";
|
||||||
|
cmdGen = "pulumi-gen-command";
|
||||||
|
cmdRes = "pulumi-resource-command";
|
||||||
|
extraLdflags = [
|
||||||
|
"-X github.com/pulumi/${repo}/provider/v4/pkg/version.Version=v${version}"
|
||||||
|
];
|
||||||
|
|
||||||
|
postConfigure = ''
|
||||||
|
pushd ..
|
||||||
|
|
||||||
|
${cmdGen} provider/cmd/pulumi-resource-command/schema.json --version ${version}
|
||||||
|
|
||||||
|
popd
|
||||||
|
'';
|
||||||
|
|
||||||
|
__darwinAllowLocalNetworking = true;
|
||||||
|
|
||||||
|
meta = with lib; {
|
||||||
|
description = "A Pulumi provider to execute commands and scripts either locally or remotely as part of the Pulumi resource model";
|
||||||
|
homepage = "https://github.com/pulumi/pulumi-command";
|
||||||
|
license = licenses.asl20;
|
||||||
|
maintainers = with maintainers; [ veehaitch trundle ];
|
||||||
|
};
|
||||||
|
}
|
@ -1131,6 +1131,8 @@ self: super: with self; {
|
|||||||
|
|
||||||
pulumi-azure-native = pkgs.pulumiPackages.pulumi-azure-native.sdks.python;
|
pulumi-azure-native = pkgs.pulumiPackages.pulumi-azure-native.sdks.python;
|
||||||
|
|
||||||
|
pulumi-command = pkgs.pulumiPackages.pulumi-command.sdks.python;
|
||||||
|
|
||||||
pulumi-random = pkgs.pulumiPackages.pulumi-random.sdks.python;
|
pulumi-random = pkgs.pulumiPackages.pulumi-random.sdks.python;
|
||||||
|
|
||||||
backcall = callPackage ../development/python-modules/backcall { };
|
backcall = callPackage ../development/python-modules/backcall { };
|
||||||
|
Loading…
Reference in New Issue
Block a user