diff --git a/pkgs/by-name/st/steampipe/package.nix b/pkgs/by-name/st/steampipe/package.nix index a16c3c9e40ba..b7939523369b 100644 --- a/pkgs/by-name/st/steampipe/package.nix +++ b/pkgs/by-name/st/steampipe/package.nix @@ -11,23 +11,25 @@ buildGoModule rec { pname = "steampipe"; - version = "0.24.2"; + version = "1.0.0"; + + CGO_ENABLED=0; src = fetchFromGitHub { owner = "turbot"; repo = "steampipe"; rev = "refs/tags/v${version}"; - hash = "sha256-FBWKXj1BfB9jbFMAmeBOHmv0QXmiZ3y7u1n1L8anUEg="; + hash = "sha256-BGV5x828WRaBTCddmKl6quMR/FGxXtJEezt8J3H6gPQ="; }; - vendorHash = "sha256-m4cgYDCugI7mCLCpRbVlNe0SeWZf1aVpeggufxw64oI="; + vendorHash = "sha256-+y9OX/ywS/0AXCnVHf4VisTegFamt3sT/m43yVhbCNc="; proxyVendor = true; postPatch = '' # Patch test that relies on looking up homedir in user struct to prefer ~ substituteInPlace pkg/steampipeconfig/shared_test.go \ --replace-fail 'filehelpers "github.com/turbot/go-kit/files"' "" \ - --replace-fail 'filepaths.SteampipeDir, _ = filehelpers.Tildefy("~/.steampipe")' 'filepaths.SteampipeDir = "~/.steampipe"'; + --replace-fail 'app_specific.InstallDir, _ = filehelpers.Tildefy("~/.steampipe")' 'app_specific.InstallDir = "~/.steampipe"'; ''; nativeBuildInputs = [ @@ -47,8 +49,6 @@ buildGoModule rec { skippedTests = [ # panic: could not create backups directory: mkdir /var/empty/.steampipe: operation not permitted "TestTrimBackups" - # Skip tests that require network access - "TestIsPortBindable" ]; in [ "-skip=^${builtins.concatStringsSep "$|^" skippedTests}$" ];