Unverified Commit 30f14e84 authored by Aaron Jheng's avatar Aaron Jheng
Browse files

temporal-cli: 1.16.2 -> 1.17.0

parent c96c8035
Loading
Loading
Loading
Loading
+9 −3
Original line number Diff line number Diff line
@@ -2,21 +2,27 @@

buildGoModule rec {
  pname = "temporal-cli";
  version = "1.16.2";
  version = "1.17.0";

  src = fetchFromGitHub {
    owner = "temporalio";
    repo = "tctl";
    rev = "v${version}";
    sha256 = "sha256-KLcCFQJlFeioIhqrbkhgoNPcbAYvy1ESG8x9Y/I7+nw=";
    sha256 = "sha256-XEN4Ntt7yHng1+3E5SlxthEWPXJ+kSx9L1GbW9bV03Y=";
  };

  vendorSha256 = "sha256-kczmoP32/V0HHeC3Mr+giuMB+McVTNeC2F+t1ohY4/U=";
  vendorSha256 = "sha256-9bgovXVj+qddfDSI4DTaNYH4H8Uc4DZqeVYG5TWXTNw=";

  ldflags = [ "-s" "-w" ];

  preCheck = ''
    export HOME=$(mktemp -d)
  '';

  passthru.tests.version = testers.testVersion {
    package = temporal-cli;
    # the app writes a default config file at startup
    command = "HOME=$(mktemp -d) ${meta.mainProgram} --version";
  };

  meta = with lib; {