Fediversity/deployment/run/tf-netbox-get-ip/tf.nix
Kiara Grouwstra ca8ba444b7
centralize TF
Signed-off-by: Kiara Grouwstra <kiara@procolix.eu>
2025-11-10 13:22:22 +01:00

24 lines
697 B
Nix

{
pkgs,
}:
let
sources = import ../../../npins;
mkProvider =
args:
pkgs.terraform-providers.mkProvider (
{ mkProviderFetcher = { repo, ... }: sources.${repo}; } // args
);
in
(pkgs.callPackage ../../tf.nix { }).withPlugins (_: [
(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";
})
])