Merge pull request #267363 from r-ryantm/auto-update/steampipe

steampipe: 0.20.12 -> 0.21.1
This commit is contained in:
Weijia Wang 2023-12-08 21:43:11 +01:00 committed by GitHub
commit be9e2004dc
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -1,17 +1,17 @@
{ lib, buildGoModule, fetchFromGitHub, installShellFiles }: { lib, stdenv, buildGoModule, fetchFromGitHub, installShellFiles }:
buildGoModule rec { buildGoModule rec {
pname = "steampipe"; pname = "steampipe";
version = "0.20.12"; version = "0.21.1";
src = fetchFromGitHub { src = fetchFromGitHub {
owner = "turbot"; owner = "turbot";
repo = "steampipe"; repo = "steampipe";
rev = "v${version}"; rev = "v${version}";
sha256 = "sha256-/vcxK/tX4kvDnQCqO8olHZodAbPDDvz1domJZ1WJqPU="; hash = "sha256-UTKonirf27C3q3tYznMfNtAQ3S7T1Vzlwz05jAoLfoI=";
}; };
vendorHash = "sha256-VuUzo+afUazXH7jaR4Qm5Kfr6qiyHqdGLJWS3MX8oOA="; vendorHash = "sha256-zzXAAxN2PRqAx4LDJjVAoLm1HnhVdBe/Mzyuai8CEXg=";
proxyVendor = true; proxyVendor = true;
patchPhase = '' patchPhase = ''
@ -27,6 +27,9 @@ buildGoModule rec {
ldflags = [ "-s" "-w" ]; ldflags = [ "-s" "-w" ];
# panic: could not create backups directory: mkdir /var/empty/.steampipe: operation not permitted
doCheck = !stdenv.isDarwin;
postInstall = '' postInstall = ''
INSTALL_DIR=$(mktemp -d) INSTALL_DIR=$(mktemp -d)
installShellCompletion --cmd steampipe \ installShellCompletion --cmd steampipe \