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.2 KiB
Nix

{
buildGoModule,
fetchFromGitHub,
lib,
nix-update-script,
steampipe,
}:
buildGoModule rec {
pname = "steampipe-plugin-aws";
version = "1.24.0";
src = fetchFromGitHub {
owner = "turbot";
repo = "steampipe-plugin-aws";
tag = "v${version}";
hash = "sha256-01eF1hs36dSdwT1PfvKeuRUBAA7CZTBFxEP53mvU4mw=";
};
vendorHash = "sha256-9Kl4aTQQNQVIkFTLnXVEyN5WYxgihSeYlnL/r/vsGKU=";
ldflags = [
"-s"
"-w"
];
doCheck = true;
installPhase = ''
runHook preInstall
mkdir -p $out
cp $GOPATH/bin/steampipe-plugin-aws $out/steampipe-plugin-aws.plugin
cp -R docs $out/.
cp -R config $out/.
runHook postInstall
'';
passthru.updateScript = nix-update-script { };
meta = {
changelog = "https://github.com/turbot/steampipe-plugin-aws/blob/v${version}/CHANGELOG.md";
description = "AWS Plugin for Steampipe";
homepage = "https://github.com/turbot/steampipe-plugin-aws";
license = lib.licenses.asl20;
longDescription = "Use SQL to instantly query AWS resources across regions and accounts.";
maintainers = with lib.maintainers; [ anthonyroussel ];
platforms = steampipe.meta.platforms;
};
}