mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-10-01 10:07:42 +03:00
Merge pull request #184053 from r-ryantm/auto-update/steampipe
steampipe: 0.16.4 -> 0.18.2
This commit is contained in:
commit
58e68a7871
@ -2,24 +2,24 @@
|
|||||||
|
|
||||||
buildGoModule rec {
|
buildGoModule rec {
|
||||||
pname = "steampipe";
|
pname = "steampipe";
|
||||||
version = "0.16.4";
|
version = "0.18.2";
|
||||||
|
|
||||||
src = fetchFromGitHub {
|
src = fetchFromGitHub {
|
||||||
owner = "turbot";
|
owner = "turbot";
|
||||||
repo = "steampipe";
|
repo = "steampipe";
|
||||||
rev = "v${version}";
|
rev = "v${version}";
|
||||||
sha256 = "sha256-awZlA02lKYpFdvCsGUC8Blv8FHek5XskkljseDGjDmk=";
|
sha256 = "sha256-n/5+IVhTaME4x0KFTueo4SSBkAvXgin1VJHNEe2JnPI=";
|
||||||
};
|
};
|
||||||
|
|
||||||
vendorSha256 = "sha256-6l3bBxGhdZGIXmdzgF44TGZQqT6gSUHSwOAE2SlgLgg=";
|
vendorHash = "sha256-W30f7QYgm+QyLDJICpjMn7mtUIziTR1igThEbv+Aa7M=";
|
||||||
proxyVendor = true;
|
proxyVendor = true;
|
||||||
|
|
||||||
patchPhase = ''
|
patchPhase = ''
|
||||||
runHook prePatch
|
runHook prePatch
|
||||||
# Patch test that relies on looking up homedir in user struct to prefer ~
|
# Patch test that relies on looking up homedir in user struct to prefer ~
|
||||||
substituteInPlace pkg/steampipeconfig/shared_test.go \
|
substituteInPlace pkg/steampipeconfig/shared_test.go \
|
||||||
--replace '"github.com/turbot/go-kit/helpers"' "" \
|
--replace 'filehelpers "github.com/turbot/go-kit/files"' "" \
|
||||||
--replace 'filepaths.SteampipeDir, _ = helpers.Tildefy("~/.steampipe")' 'filepaths.SteampipeDir = "~/.steampipe"';
|
--replace 'filepaths.SteampipeDir, _ = filehelpers.Tildefy("~/.steampipe")' 'filepaths.SteampipeDir = "~/.steampipe"';
|
||||||
runHook postPatch
|
runHook postPatch
|
||||||
'';
|
'';
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user