Skip to content

Commit

Permalink
pkgs.terraform: add terraform-provider-shell 1.6.0
Browse files Browse the repository at this point in the history
  • Loading branch information
mupdt committed Jul 10, 2020
1 parent e43685e commit 4fe8e5f
Show file tree
Hide file tree
Showing 3 changed files with 40 additions and 0 deletions.
6 changes: 6 additions & 0 deletions maintainers/maintainer-list.nix
Original file line number Diff line number Diff line change
Expand Up @@ -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";
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -144,6 +144,7 @@ let
elasticsearch = callPackage ./elasticsearch {};
libvirt = callPackage ./libvirt {};
lxd = callPackage ./lxd {};
shell = callPackage ./shell {};
vpsadmin = callPackage ./vpsadmin {};
};
in
Expand Down
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 ];
};
}

0 comments on commit 4fe8e5f

Please sign in to comment.