temporal: init 1.10.5 (#130099)
Co-authored-by: Sandro <sandro.jaeckel@gmail.com>
This commit is contained in:
parent
97bceacca5
commit
9cecae1bc5
2 changed files with 45 additions and 0 deletions
43
pkgs/applications/networking/cluster/temporal/default.nix
Normal file
43
pkgs/applications/networking/cluster/temporal/default.nix
Normal file
|
@ -0,0 +1,43 @@
|
|||
{ lib, fetchFromGitHub, buildGoModule }:
|
||||
|
||||
buildGoModule rec {
|
||||
pname = "temporal";
|
||||
version = "1.10.5";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "temporalio";
|
||||
repo = "temporal";
|
||||
rev = "v${version}";
|
||||
sha256 = "sha256-+rU/Tn3k/VmAgZl169tVZsRf5SL4bI9r3p1svVfKN2E=";
|
||||
};
|
||||
|
||||
vendorSha256 = "sha256-jbQPhGfZPPxjYTSJ9wMLzQIOhAwxJZypRzqwL421RfM=";
|
||||
|
||||
# Errors:
|
||||
# > === RUN TestNamespaceHandlerGlobalNamespaceDisabledSuite
|
||||
# gocql: unable to dial control conn 127.0.0.1:9042: dial tcp 127.0.0.1:9042: connect: connection refused
|
||||
doCheck = false;
|
||||
|
||||
installPhase = ''
|
||||
runHook preInstall
|
||||
mkdir -p $out/bin
|
||||
install -Dm755 "$GOPATH/bin/cli" -T $out/bin/tctl
|
||||
install -Dm755 "$GOPATH/bin/cassandra" -T $out/bin/temporal-cassandra
|
||||
install -Dm755 "$GOPATH/bin/server" -T $out/bin/temporal-server
|
||||
install -Dm755 "$GOPATH/bin/sql" -T $out/bin/temporal-sql
|
||||
runHook postInstall
|
||||
'';
|
||||
|
||||
doInstallCheck = true;
|
||||
installCheckPhase = ''
|
||||
$out/bin/tctl --version | grep ${version} > /dev/null
|
||||
'';
|
||||
|
||||
meta = with lib; {
|
||||
description = "A microservice orchestration platform which enables developers to build scalable applications without sacrificing productivity or reliability";
|
||||
downloadPage = "https://github.com/temporalio/temporal";
|
||||
homepage = "https://temporal.io";
|
||||
license = licenses.mit;
|
||||
maintainers = with maintainers; [ superherointj ];
|
||||
};
|
||||
}
|
|
@ -27232,6 +27232,8 @@ in
|
|||
|
||||
tempo = callPackage ../servers/tracing/tempo {};
|
||||
|
||||
temporal = callPackage ../applications/networking/cluster/temporal { };
|
||||
|
||||
tendermint = callPackage ../tools/networking/tendermint { };
|
||||
|
||||
termdown = python3Packages.callPackage ../applications/misc/termdown { };
|
||||
|
|
Loading…
Reference in a new issue