temporal-cli: 1.16.2 -> 1.17.0

This commit is contained in:
Aaron Jheng 2022-10-05 06:04:56 +00:00
parent c96c80356a
commit 30f14e841d
No known key found for this signature in database
GPG Key ID: F6A547A869D050A3

View File

@ -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; {