Merge pull request #196163 from lucperkins/temporalite

temporalite: init at 0.2.0
This commit is contained in:
Stanisław Pitucha 2022-11-02 11:17:21 +11:00 committed by GitHub
commit d96a2451b3
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 37 additions and 0 deletions

View File

@ -0,0 +1,35 @@
{ lib
, buildGoModule
, fetchFromGitHub
}:
buildGoModule rec {
pname = "temporalite";
version = "0.2.0";
src = fetchFromGitHub {
owner = "temporalio";
repo = pname;
rev = "v${version}";
sha256 = "sha256-rLEkWg5LNVb7i/2IARKGuP9ugaVJA9pwYbKLm0QLmOc=";
};
vendorSha256 = "sha256-vjuwh/HRRYfB6J49rfJxif12nYPnbBodWF9hTiGygS8=";
subPackages = [ "cmd/temporalite" ];
postPatch = ''
substituteInPlace cmd/temporalite/ui_test.go \
--replace "TestNewUIConfigWithMissingConfigFile" "SkipNewUIConfigWithMissingConfigFile"
substituteInPlace cmd/temporalite/mtls_test.go \
--replace "TestMTLSConfig" "SkipMTLSConfig"
'';
meta = with lib; {
description = "An experimental distribution of Temporal that runs as a single process";
homepage = "https://github.com/temporalio/temporalite";
license = licenses.mit;
maintainers = with maintainers; [ lucperkins ];
};
}

View File

@ -32132,6 +32132,8 @@ with pkgs;
temporal-cli = callPackage ../applications/networking/cluster/temporal-cli { };
temporalite = callPackage ../applications/networking/cluster/temporalite { };
tenacity = callPackage ../applications/audio/tenacity { };
tendermint = callPackage ../tools/networking/tendermint { };