diff options
author | Luc Perkins <lucperkins@gmail.com> | 2022-10-15 11:42:04 -0500 |
---|---|---|
committer | Luc Perkins <lucperkins@gmail.com> | 2022-11-01 12:08:52 -0300 |
commit | d242221640a92bf85ee09d271f73eba2bec19241 (patch) | |
tree | af505608f2867a8395c5760bea2b7110356366c6 /pkgs | |
parent | 5ec1699ec06a700da4c1289b877654665546b2c5 (diff) |
temporalite: init at 0.2.0
Diffstat (limited to 'pkgs')
-rw-r--r-- | pkgs/applications/networking/cluster/temporalite/default.nix | 35 | ||||
-rw-r--r-- | pkgs/top-level/all-packages.nix | 2 |
2 files changed, 37 insertions, 0 deletions
diff --git a/pkgs/applications/networking/cluster/temporalite/default.nix b/pkgs/applications/networking/cluster/temporalite/default.nix new file mode 100644 index 0000000000000..8a4d53797f5ba --- /dev/null +++ b/pkgs/applications/networking/cluster/temporalite/default.nix @@ -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 ]; + }; +} diff --git a/pkgs/top-level/all-packages.nix b/pkgs/top-level/all-packages.nix index 9d2a4fd18dabc..3a10838883ede 100644 --- a/pkgs/top-level/all-packages.nix +++ b/pkgs/top-level/all-packages.nix @@ -31883,6 +31883,8 @@ with pkgs; temporal-cli = callPackage ../applications/networking/cluster/temporal-cli { }; + temporalite = callPackage ../applications/networking/cluster/temporalite { }; + tenacity = callPackage ../applications/audio/tenacity { wxGTK = wxGTK31-gtk3; }; tendermint = callPackage ../tools/networking/tendermint { }; |