Files
Dark Steveneq 646b892680
Some checks failed
Periodic Merges (6h) / master → staging-nixos (push) Failing after 12m50s
Periodic Merges (6h) / master → staging-next (push) Failing after 12m54s
Periodic Merges (24h) / merge-base(master,staging) → haskell-updates (push) Failing after 11m54s
Periodic Merges (6h) / staging-next → staging (push) Failing after 12m13s
Periodic Merges (24h) / staging-next-25.05 → staging-25.05 (push) Failing after 13m24s
Periodic Merges (24h) / release-25.05 → staging-next-25.05 (push) Failing after 14m28s
push sheeet
2025-10-09 14:15:47 +02:00

52 lines
1.1 KiB
Nix

{
buildGoModule,
fetchFromGitHub,
lib,
nix-update-script,
steampipe,
}:
buildGoModule rec {
pname = "steampipe-plugin-azure";
version = "1.8.0";
src = fetchFromGitHub {
owner = "turbot";
repo = "steampipe-plugin-azure";
tag = "v${version}";
hash = "sha256-LMX+2aNX+0vYcAKVakMrdyHavaFlUoSVQ7DIg1kXqGU=";
};
vendorHash = "sha256-yBOja0QmpVBaXbXQ2AVsO4uYLalzYyghSwyEh9s2ZGA=";
ldflags = [
"-s"
"-w"
];
doCheck = true;
installPhase = ''
runHook preInstall
mkdir -p $out
cp $GOPATH/bin/steampipe-plugin-azure $out/steampipe-plugin-azure.plugin
cp -R docs $out/.
cp -R config $out/.
runHook postInstall
'';
passthru.updateScript = nix-update-script { };
meta = {
changelog = "https://github.com/turbot/steampipe-plugin-azure/blob/v${version}/CHANGELOG.md";
description = "Azure Plugin for Steampipe";
homepage = "https://github.com/turbot/steampipe-plugin-azure";
license = lib.licenses.apsl20;
longDescription = "Use SQL to instantly query Azure resources across regions and subscriptions.";
maintainers = [ ];
platforms = steampipe.meta.platforms;
};
}