@@ -1,33 +0,0 @@
1−{ lib, fetchFromGitHub, buildGoModule, teleport }:
2−
3−buildGoModule rec {
4− pname = "terraform-provider-teleport";
5− version = "8.0.6";
6−
7− src = fetchFromGitHub {
8− owner = "gravitational";
9− repo = "teleport-plugins";
10− rev = "v${version}";
11− sha256 = "1rhvpbw4dga256dp2cr5f912d2j7rh8pd1v88dlgq3mmw8n5c7vy";
12− };
13− vendorSha256 = null;
14−
15− checkInputs = [ teleport ];
16−
17− sourceRoot = "source/terraform";
18−
19− # Terraform allow checking the provider versions, but this breaks
20− # if the versions are not provided via file paths.
21− postBuild = ''
22− mv $NIX_BUILD_TOP/go/bin/{terraform,terraform-provider-teleport_v${version}}
23− '';
24−
25− passthru.provider-source-address = "gravitational.com/teleport/teleport";
26−
27− meta = with lib; {
28− description = "Provider for managing resources in Teleport access plane";
29− homepage = "https://github.com/gravitational/teleport-plugins";
30− license = licenses.asl20;
31− maintainers = with maintainers; [ justinas ];
32− };
33−}