Unverified Commit 53cfb7e8 authored by Weijia Wang's avatar Weijia Wang Committed by GitHub
Browse files

Merge pull request #299130 from anthonyroussel/fix/steampipe

steampipe: fix vendorHash
parents 2f345e76 e766848d
Loading
Loading
Loading
Loading
+21 −2
Original line number Diff line number Diff line
{ lib, stdenv, buildGoModule, fetchFromGitHub, installShellFiles }:
{
  buildGoModule,
  fetchFromGitHub,
  installShellFiles,
  lib,
  nix-update-script,
  stdenv,
  steampipe,
  testers,
}:

buildGoModule rec {
  pname = "steampipe";
@@ -11,7 +20,7 @@ buildGoModule rec {
    hash = "sha256-Oz1T9koeXnmHc5oru1apUtmhhvKi/gAtg/Hb7HKkkP0=";
  };

  vendorHash = "sha256-jC77z/1EerJSMK75np9R5kX+cLzTh55cFFlliAXASEw=";
  vendorHash = "sha256-U0BeGCRLjL56ZmVKcKqrrPTCXpShJzJq5/wnXDKax6g=";
  proxyVendor = true;

  patchPhase = ''
@@ -38,10 +47,20 @@ buildGoModule rec {
      --zsh <($out/bin/steampipe --install-dir $INSTALL_DIR completion zsh)
  '';

  passthru = {
    tests.version = testers.testVersion {
      command = "${lib.getExe steampipe} --version";
      package = steampipe;
      version = "v${version}";
    };
    updateScript = nix-update-script { };
  };

  meta = with lib; {
    homepage = "https://steampipe.io/";
    description = "select * from cloud;";
    license = licenses.agpl3Only;
    mainProgram = "steampipe";
    maintainers = with maintainers; [ hardselius ];
    changelog = "https://github.com/turbot/steampipe/blob/v${version}/CHANGELOG.md";
  };
+0 −2
Original line number Diff line number Diff line
@@ -6333,8 +6333,6 @@ with pkgs;
  statserial = callPackage ../tools/misc/statserial { };
  steampipe = callPackage ../tools/misc/steampipe { };
  step-ca = callPackage ../tools/security/step-ca {
    inherit (darwin.apple_sdk.frameworks) PCSC;
  };