forked from fediversity/fediversity
35 lines
1 KiB
Nix
35 lines
1 KiB
Nix
{
|
|
pkgs,
|
|
}:
|
|
let
|
|
sources = import ../../npins;
|
|
mkProvider =
|
|
args:
|
|
pkgs.terraform-providers.mkProvider (
|
|
{ mkProviderFetcher = { repo, ... }: sources.${repo}; } // args
|
|
);
|
|
in
|
|
{
|
|
netbox = mkProvider {
|
|
owner = "e-breuninger";
|
|
repo = "terraform-provider-netbox";
|
|
rev = "v5.0.0";
|
|
spdx = "MPL-2.0";
|
|
# hash = "sha256-iCaCt8ZbkxCk43QEyj3PeHYuKPCPVU2oQ78aumH/l6k=";
|
|
hash = null;
|
|
vendorHash = "sha256-Q3H/6mpkWn1Gw0NRMtKtkBRGHjPJZGBFdGwfalyQ4Z0=";
|
|
homepage = "https://registry.terraform.io/providers/e-breuninger/netbox";
|
|
provider-source-address = "registry.opentofu.org/e-breuninger/netbox";
|
|
};
|
|
proxmox = mkProvider {
|
|
owner = "bpg";
|
|
repo = "terraform-provider-proxmox";
|
|
# 0.82+ need go 1.25
|
|
rev = "v0.81.0";
|
|
spdx = "MPL-2.0";
|
|
hash = null;
|
|
vendorHash = "sha256-cpei22LkKqohlE76CQcIL5d7p+BjNcD6UQ8dl0WXUOc=";
|
|
homepage = "https://registry.terraform.io/providers/bpg/proxmox";
|
|
provider-source-address = "registry.opentofu.org/bpg/proxmox";
|
|
};
|
|
}
|