16 src = fetchFromGitHub {
19 rev = "refs/tags/v${version}";
20 hash = "sha256-ou24M5S6GfrQxmcmESzhU52ZQqdb+1s2ExLBljM0RR0=";
23 vendorHash = "sha256-CveNSjZCdV8YEis0PNP8F9+ht+Q9vz0VWCEp9lCJsTs=";
34 "-X main.version=${version}"
42 # test fails in the original github.com/turbot/powerpipe project as well
43 "TestGetAsSnapshotPropertyMap/card"
46 [ "-skip=^${builtins.concatStringsSep "$|^" skippedTests}$" ];
49 wrapProgram $out/bin/powerpipe \
50 --set-default POWERPIPE_UPDATE_CHECK false \
51 --set-default POWERPIPE_TELEMETRY none
55 tests.version = testers.testVersion {
56 command = "${lib.getExe powerpipe} --version";
58 version = "v${version}";
60 updateScript = nix-update-script { };
64 changelog = "https://github.com/turbot/powerpipe/blob/v${version}/CHANGELOG.md";
65 description = "Dynamically query your cloud, code, logs & more with SQL";
66 homepage = "https://powerpipe.io/";
67 license = lib.licenses.agpl3Only;
68 mainProgram = "powerpipe";
69 maintainers = with lib.maintainers; [ weitzj ];