pkgs.terraform: add terraform-provider-shell 1.6.0 (#93069)
This commit is contained in:
parent
3871c773ef
commit
2f355e776b
|
@ -5656,6 +5656,12 @@
|
||||||
githubId = 5047140;
|
githubId = 5047140;
|
||||||
name = "Victor Collod";
|
name = "Victor Collod";
|
||||||
};
|
};
|
||||||
|
mupdt = {
|
||||||
|
email = "nix@pdtpartners.com";
|
||||||
|
github = "mupdt";
|
||||||
|
githubId = 25388474;
|
||||||
|
name = "Matej Urbas";
|
||||||
|
};
|
||||||
mvnetbiz = {
|
mvnetbiz = {
|
||||||
email = "mvnetbiz@gmail.com";
|
email = "mvnetbiz@gmail.com";
|
||||||
github = "mvnetbiz";
|
github = "mvnetbiz";
|
||||||
|
|
|
@ -144,6 +144,7 @@ let
|
||||||
elasticsearch = callPackage ./elasticsearch {};
|
elasticsearch = callPackage ./elasticsearch {};
|
||||||
libvirt = callPackage ./libvirt {};
|
libvirt = callPackage ./libvirt {};
|
||||||
lxd = callPackage ./lxd {};
|
lxd = callPackage ./lxd {};
|
||||||
|
shell = callPackage ./shell {};
|
||||||
vpsadmin = callPackage ./vpsadmin {};
|
vpsadmin = callPackage ./vpsadmin {};
|
||||||
};
|
};
|
||||||
in
|
in
|
||||||
|
|
|
@ -0,0 +1,28 @@
|
||||||
|
{ stdenv, fetchFromGitHub, buildGoModule }:
|
||||||
|
buildGoModule rec {
|
||||||
|
pname = "terraform-provider-shell";
|
||||||
|
version = "1.6.0";
|
||||||
|
|
||||||
|
src = fetchFromGitHub {
|
||||||
|
owner = "scottwinkler";
|
||||||
|
repo = pname;
|
||||||
|
rev = "v${version}";
|
||||||
|
sha256 = "0jxb30vw93ibnwz8nfqapac7p9r2famzvsf2h4nfbmhkm6mpan4l";
|
||||||
|
};
|
||||||
|
|
||||||
|
vendorSha256 = "1p2ja6cw3dl7mx41svri6frjpgb9pxsrl7sq0rk1d3sviw0f88sg";
|
||||||
|
|
||||||
|
subPackages = [ "." ];
|
||||||
|
|
||||||
|
# Terraform allows checking the provider versions, but this breaks
|
||||||
|
# if the versions are not provided via file paths.
|
||||||
|
postInstall = "mv $out/bin/${pname}{,_v${version}}";
|
||||||
|
|
||||||
|
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 ];
|
||||||
|
};
|
||||||
|
}
|
Loading…
Reference in New Issue