temporal-ui-server: init at 2.43.2

This commit is contained in:
Break Yang
2025-05-26 09:24:31 -07:00
parent 21f764487f
commit 5fc1ba1943

View File

@@ -0,0 +1,45 @@
{
lib,
fetchFromGitHub,
buildGoModule,
nix-update-script,
versionCheckHook,
}:
buildGoModule (finalAttrs: {
pname = "temporal-ui-server";
version = "2.43.2";
src = fetchFromGitHub {
owner = "temporalio";
repo = "ui-server";
tag = "v${finalAttrs.version}";
hash = "sha256-Z7a/21whiCjiQiqKE8aDcptSFw+op82xnqXfzVjGw6o=";
};
vendorHash = "sha256-HmysULH81cYOuMyW9qZRsQhv7chDobD7PnWmu3uCvJw=";
postInstall = ''
mv $out/bin/server $out/bin/temporal-ui-server
'';
nativeInstallCheckInputs = [ versionCheckHook ];
doInstallCheck = true;
passthru.updateScript = nix-update-script { };
meta = {
changelog = "https://github.com/temporalio/ui-server/releases/tag/${finalAttrs.src.tag}";
homepage = "https://github.com/temporalio/ui-server";
description = "Golang Server for Temporal Web UI";
longDescription = ''
The Temporal Web UI provides users with Workflow Execution state and metadata
for debugging purposes. This golang server provides a binary that you can run
to serve the compiled temporal ui (https://github.com/temporalio/ui).
'';
mainProgram = "temporal-ui-server";
license = lib.licenses.mit;
maintainers = with lib.maintainers; [ breakds ];
};
})