temporal-ui-server: init at 2.43.2
This commit is contained in:
45
pkgs/by-name/te/temporal-ui-server/package.nix
Normal file
45
pkgs/by-name/te/temporal-ui-server/package.nix
Normal 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 ];
|
||||||
|
};
|
||||||
|
})
|
||||||
Reference in New Issue
Block a user