File tree Expand file tree Collapse file tree
pkgs/applications/networking/cluster/terraform-providers Expand file tree Collapse file tree Original file line number Diff line number Diff line change 56565656 githubId = 5047140 ;
56575657 name = "Victor Collod" ;
56585658 } ;
5659+ mupdt = {
5660+ email = "nix@pdtpartners.com" ;
5661+ github = "mupdt" ;
5662+ githubId = 25388474 ;
5663+ name = "Matej Urbas" ;
5664+ } ;
56595665 mvnetbiz = {
56605666 email = "mvnetbiz@gmail.com" ;
56615667 github = "mvnetbiz" ;
Original file line number Diff line number Diff line change 144144 elasticsearch = callPackage ./elasticsearch { } ;
145145 libvirt = callPackage ./libvirt { } ;
146146 lxd = callPackage ./lxd { } ;
147+ shell = callPackage ./shell { } ;
147148 vpsadmin = callPackage ./vpsadmin { } ;
148149 } ;
149150in
Original file line number Diff line number Diff line change 1+ { stdenv , 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+ subPackages = [ "." ] ;
16+
17+ # Terraform allows checking the provider versions, but this breaks
18+ # if the versions are not provided via file paths.
19+ postInstall = "mv $out/bin/${ pname } {,_v${ version } }" ;
20+
21+ meta = with stdenv . lib ; {
22+ inherit ( src . meta ) homepage ;
23+ description = "Terraform provider for executing shell commands and saving output to state file" ;
24+ changelog = "https://github.com/scottwinkler/terraform-provider-shell/releases/tag/v${ version } " ;
25+ license = licenses . mpl20 ;
26+ maintainers = with maintainers ; [ mupdt ] ;
27+ } ;
28+ }
You can’t perform that action at this time.
0 commit comments