Merge pull request #181677 from flurie/steampipe-bump
steampipe: 0.15.0 -> 0.15.3
This commit is contained in:
commit
d0ea2452a2
|
@ -2,24 +2,28 @@
|
||||||
|
|
||||||
buildGoModule rec {
|
buildGoModule rec {
|
||||||
pname = "steampipe";
|
pname = "steampipe";
|
||||||
version = "0.15.0";
|
version = "0.15.3";
|
||||||
|
|
||||||
src = fetchFromGitHub {
|
src = fetchFromGitHub {
|
||||||
owner = "turbot";
|
owner = "turbot";
|
||||||
repo = "steampipe";
|
repo = "steampipe";
|
||||||
rev = "v${version}";
|
rev = "v${version}";
|
||||||
sha256 = "sha256-ly64p8shbhixLbK9hpDNYhmBKoAt4iXB//pdFSIYZMc=";
|
sha256 = "sha256-7TIEdT+s6Am2hPiMPKH+YioNfsCmLVZg6BQiO94Xiu0=";
|
||||||
};
|
};
|
||||||
|
|
||||||
vendorSha256 = "sha256-/VU8VNDqU7CMm/lIBqTChyUWP4svVCgsw0CBcp/u+U0=";
|
vendorSha256 = "sha256-x57IvMKSE2F5bGTC8ao+wLJmYlz8nMh4SoMhtGlwQyE=";
|
||||||
proxyVendor = true;
|
proxyVendor = true;
|
||||||
|
|
||||||
|
patchPhase = ''
|
||||||
|
# Patch test that relies on looking up homedir in user struct to prefer ~
|
||||||
|
substituteInPlace pkg/steampipeconfig/shared_test.go \
|
||||||
|
--replace '"github.com/turbot/go-kit/helpers"' "" \
|
||||||
|
--replace 'filepaths.SteampipeDir, _ = helpers.Tildefy("~/.steampipe")' 'filepaths.SteampipeDir = "~/.steampipe"';
|
||||||
|
'';
|
||||||
|
|
||||||
nativeBuildInputs = [ installShellFiles ];
|
nativeBuildInputs = [ installShellFiles ];
|
||||||
|
|
||||||
ldflags = [
|
ldflags = [ "-s" "-w" ];
|
||||||
"-s"
|
|
||||||
"-w"
|
|
||||||
];
|
|
||||||
|
|
||||||
postInstall = ''
|
postInstall = ''
|
||||||
INSTALL_DIR=$(mktemp -d)
|
INSTALL_DIR=$(mktemp -d)
|
||||||
|
@ -30,7 +34,6 @@ buildGoModule rec {
|
||||||
'';
|
'';
|
||||||
|
|
||||||
meta = with lib; {
|
meta = with lib; {
|
||||||
broken = stdenv.isDarwin;
|
|
||||||
homepage = "https://steampipe.io/";
|
homepage = "https://steampipe.io/";
|
||||||
description = "select * from cloud;";
|
description = "select * from cloud;";
|
||||||
license = licenses.agpl3;
|
license = licenses.agpl3;
|
||||||
|
|
Loading…
Reference in a new issue