terraform-providers.teleport: init at 7.3.0 (#138972)
Co-authored-by: Sandro <sandro.jaeckel@gmail.com>
This commit is contained in:
parent
7e574c8eaa
commit
79259c3599
2 changed files with 32 additions and 0 deletions
|
@ -57,6 +57,7 @@ let
|
||||||
libvirt = callPackage ./libvirt { };
|
libvirt = callPackage ./libvirt { };
|
||||||
linuxbox = callPackage ./linuxbox { };
|
linuxbox = callPackage ./linuxbox { };
|
||||||
lxd = callPackage ./lxd { };
|
lxd = callPackage ./lxd { };
|
||||||
|
teleport = callPackage ./teleport { };
|
||||||
vpsadmin = callPackage ./vpsadmin { };
|
vpsadmin = callPackage ./vpsadmin { };
|
||||||
vercel = callPackage ./vercel { };
|
vercel = callPackage ./vercel { };
|
||||||
} // (lib.optionalAttrs (config.allowAliases or false) {
|
} // (lib.optionalAttrs (config.allowAliases or false) {
|
||||||
|
|
|
@ -0,0 +1,31 @@
|
||||||
|
{ lib, fetchFromGitHub, buildGoModule }:
|
||||||
|
|
||||||
|
buildGoModule rec {
|
||||||
|
pname = "terraform-provider-teleport";
|
||||||
|
version = "7.3.0";
|
||||||
|
|
||||||
|
src = fetchFromGitHub {
|
||||||
|
owner = "gravitational";
|
||||||
|
repo = "teleport-plugins";
|
||||||
|
rev = "v${version}";
|
||||||
|
sha256 = "19zn78nn64gc0nm7ycblzi4549a0asql07pfxvrphi6s9fjr5m3y";
|
||||||
|
};
|
||||||
|
vendorSha256 = null;
|
||||||
|
|
||||||
|
sourceRoot = "source/terraform";
|
||||||
|
|
||||||
|
# Terraform allow checking the provider versions, but this breaks
|
||||||
|
# if the versions are not provided via file paths.
|
||||||
|
postBuild = ''
|
||||||
|
mv $NIX_BUILD_TOP/go/bin/{terraform,terraform-provider-teleport_v${version}}
|
||||||
|
'';
|
||||||
|
|
||||||
|
passthru.provider-source-address = "gravitational.com/teleport/teleport";
|
||||||
|
|
||||||
|
meta = with lib; {
|
||||||
|
description = "Provider for managing resources in Teleport, a SSH CA management suite";
|
||||||
|
homepage = "https://github.com/gravitational/teleport-plugins";
|
||||||
|
license = licenses.asl20;
|
||||||
|
maintainers = with maintainers; [ justinas ];
|
||||||
|
};
|
||||||
|
}
|
Loading…
Reference in a new issue