Merge pull request #112284 from urbas/terraform-shell-provider-simplify

terraform-providers.shell: uses default model

authored by

Sandro and committed by
GitHub
01113467 d2e0fb31

+9 -33
-1
pkgs/applications/networking/cluster/terraform-providers/default.nix
··· 63 63 libvirt = callPackage ./libvirt {}; 64 64 linuxbox = callPackage ./linuxbox {}; 65 65 lxd = callPackage ./lxd {}; 66 - shell = callPackage ./shell {}; 67 66 vpsadmin = callPackage ./vpsadmin {}; 68 67 vercel = callPackage ./vercel {}; 69 68 };
+9
pkgs/applications/networking/cluster/terraform-providers/providers.json
··· 865 865 "sha256": "1fs96qd2b4glk8hhn5m9r04ap679g0kf3nnhjx1a2idqwrv71gcl", 866 866 "version": "3.3.0" 867 867 }, 868 + "shell": { 869 + "owner": "scottwinkler", 870 + "provider-source-address": "registry.terraform.io/scottwinkler/shell", 871 + "repo": "terraform-provider-shell", 872 + "rev": "v1.6.0", 873 + "sha256": "0jxb30vw93ibnwz8nfqapac7p9r2famzvsf2h4nfbmhkm6mpan4l", 874 + "vendorSha256": "1p2ja6cw3dl7mx41svri6frjpgb9pxsrl7sq0rk1d3sviw0f88sg", 875 + "version": "1.6.0" 876 + }, 868 877 "signalfx": { 869 878 "owner": "terraform-providers", 870 879 "repo": "terraform-provider-signalfx",
-32
pkgs/applications/networking/cluster/terraform-providers/shell/default.nix
··· 1 - { lib, fetchFromGitHub, buildGoModule }: 2 - buildGoModule rec { 3 - pname = "terraform-provider-shell"; 4 - version = "1.6.0"; 5 - 6 - src = fetchFromGitHub { 7 - owner = "scottwinkler"; 8 - repo = pname; 9 - rev = "v${version}"; 10 - sha256 = "0jxb30vw93ibnwz8nfqapac7p9r2famzvsf2h4nfbmhkm6mpan4l"; 11 - }; 12 - 13 - vendorSha256 = "1p2ja6cw3dl7mx41svri6frjpgb9pxsrl7sq0rk1d3sviw0f88sg"; 14 - 15 - doCheck = false; 16 - 17 - subPackages = [ "." ]; 18 - 19 - # Terraform allows checking the provider versions, but this breaks 20 - # if the versions are not provided via file paths. 21 - postInstall = "mv $out/bin/${pname}{,_v${version}}"; 22 - 23 - passthru.provider-source-address = "registry.terraform.io/scottwinkler/shell"; 24 - 25 - meta = with lib; { 26 - inherit (src.meta) homepage; 27 - description = "Terraform provider for executing shell commands and saving output to state file"; 28 - changelog = "https://github.com/scottwinkler/terraform-provider-shell/releases/tag/v${version}"; 29 - license = licenses.mpl20; 30 - maintainers = with maintainers; [ mupdt ]; 31 - }; 32 - }