6e5ee41c57
Change-Id: I1c7e398dca824a8606461ac8274f74cbb0764941 Reviewed-on: https://cl.tvl.fyi/c/depot/+/4560 Tested-by: BuildkiteCI Reviewed-by: tazjin <mail@tazj.in> Reviewed-by: Profpatsch <mail@profpatsch.de> Autosubmit: tazjin <mail@tazj.in>
23 lines
688 B
Nix
23 lines
688 B
Nix
# GleSYS Terraform provider
|
|
#
|
|
# Some TVL resources (DNS, object storage, ...) are hosted with them.
|
|
{ pkgs, ... }:
|
|
|
|
pkgs.buildGoModule rec {
|
|
pname = "terraform-provider-glesys";
|
|
version = "0.3.1";
|
|
|
|
src = pkgs.fetchFromGitHub {
|
|
owner = "glesys";
|
|
repo = pname;
|
|
rev = "v${version}";
|
|
sha256 = "1rcwzf31gdxjywkcnlq1nxv4y8fcrc2z2xrp73q61mglv01bqq8m";
|
|
};
|
|
|
|
vendorSha256 = "0g5g69absf0vmin0ff0anrxcgfq0bzx4iz3qci90p9xkvyph4nlw";
|
|
postInstall = "mv $out/bin/${pname}{,_v${version}}";
|
|
|
|
# This provider is not officially published in the TF registry, so
|
|
# we're giving it a fake source here.
|
|
passthru.provider-source-address = "registry.terraform.io/depot/glesys";
|
|
}
|