mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-01-26 23:03:41 +00:00
755b915a15
nix run nixpkgs#silver-searcher -- -G '\.nix$' -0l 'description.*"[Aa]n?' pkgs \ | xargs -0 nix run nixpkgs#gnused -- -i '' -Ee 's/(description.*")[Aa]n? (.)/\1\U\2/'
37 lines
954 B
Nix
37 lines
954 B
Nix
{ lib
|
|
, buildGoModule
|
|
, fetchFromGitHub
|
|
}:
|
|
|
|
buildGoModule rec {
|
|
pname = "temporalite";
|
|
version = "0.3.0";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "temporalio";
|
|
repo = pname;
|
|
rev = "v${version}";
|
|
sha256 = "sha256-IEB9AFEt8U2zXYfbChfL/UH1rNSLPnfS396/cPE8UdE=";
|
|
};
|
|
|
|
vendorHash = "sha256-w86/XCMRGBmXM+oQ5+0qiX0fdwiKXvsmEkApuRLUOiA=";
|
|
|
|
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 = "Experimental distribution of Temporal that runs as a single process";
|
|
mainProgram = "temporalite";
|
|
homepage = "https://github.com/temporalio/temporalite";
|
|
license = licenses.mit;
|
|
maintainers = with maintainers; [ lucperkins ];
|
|
};
|
|
}
|