-
-
Notifications
You must be signed in to change notification settings - Fork 15.1k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
pkgs.terraform: add terraform-provider-shell 1.6.0
- Loading branch information
Showing
3 changed files
with
40 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -5640,6 +5640,12 @@ | |
githubId = 5047140; | ||
name = "Victor Collod"; | ||
}; | ||
mupdt = { | ||
email = "[email protected]"; | ||
github = "mupdt"; | ||
githubId = 25388474; | ||
name = "Matej Urbas"; | ||
}; | ||
mvnetbiz = { | ||
email = "[email protected]"; | ||
github = "mvnetbiz"; | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
33 changes: 33 additions & 0 deletions
33
pkgs/applications/networking/cluster/terraform-providers/shell/default.nix
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,33 @@ | ||
{ stdenv, fetchFromGitHub, buildGoModule }: | ||
|
||
# | ||
# USAGE: | ||
# install the following package globally or in nix-shell: | ||
# | ||
# (terraform.withPlugins ( plugins: [ plugins.shell ])) | ||
# | ||
# examples: | ||
# https://github.com/scottwinkler/terraform-provider-shell/tree/master/examples | ||
# | ||
|
||
buildGoModule rec { | ||
pname = "terraform-provider-shell"; | ||
version = "1.6.0"; | ||
|
||
src = fetchFromGitHub { | ||
owner = "scottwinkler"; | ||
repo = pname; | ||
rev = "v${version}"; | ||
sha256 = "0jxb30vw93ibnwz8nfqapac7p9r2famzvsf2h4nfbmhkm6mpan4l"; | ||
}; | ||
|
||
vendorSha256 = "1p2ja6cw3dl7mx41svri6frjpgb9pxsrl7sq0rk1d3sviw0f88sg"; | ||
|
||
meta = with stdenv.lib; { | ||
inherit (src.meta) homepage; | ||
description = "Terraform provider for executing shell commands and saving output to state file"; | ||
changelog = "https://github.com/scottwinkler/terraform-provider-shell/releases/tag/v${version}"; | ||
license = licenses.mpl20; | ||
maintainers = with maintainers; [ mupdt ]; | ||
}; | ||
} |