victorialogs: 1.24.0 -> 1.25.0 (#423260)

authored by Gaétan Lepage and committed by GitHub df0503c8 0399d49b

+6 -27
+6 -27
pkgs/by-name/vi/victorialogs/package.nix
··· 8 8 9 9 buildGoModule (finalAttrs: { 10 10 pname = "VictoriaLogs"; 11 - version = "1.24.0"; 11 + version = "1.25.0"; 12 12 13 13 src = fetchFromGitHub { 14 14 owner = "VictoriaMetrics"; 15 - repo = "VictoriaMetrics"; 16 - tag = "v${finalAttrs.version}-victorialogs"; 17 - hash = "sha256-E52hvxazzbz9FcPFZFcRHs2vVg6fJJQ8HsieQovQSi4="; 15 + repo = "VictoriaLogs"; 16 + tag = "v${finalAttrs.version}"; 17 + hash = "sha256-KhXB+37uK08dDYXtnaPDS7gP/gBGZ0gqyR0u572QOx8="; 18 18 }; 19 19 20 20 vendorHash = null; ··· 28 28 "app/vlogscli" 29 29 ]; 30 30 31 - postPatch = '' 32 - # main module (github.com/VictoriaMetrics/VictoriaMetrics) does not contain package 33 - # github.com/VictoriaMetrics/VictoriaMetrics/app/vmui/packages/vmui/web 34 - # 35 - # This appears to be some kind of test server for development purposes only. 36 - # rm -f app/vmui/packages/vmui/web/{go.mod,main.go} 37 - 38 - # Increase timeouts in tests to prevent failure on heavily loaded builders 39 - substituteInPlace lib/storage/storage_test.go \ 40 - --replace-fail "time.After(10 " "time.After(120 " \ 41 - --replace-fail "time.NewTimer(30 " "time.NewTimer(120 " \ 42 - --replace-fail "time.NewTimer(time.Second * 10)" "time.NewTimer(time.Second * 120)" \ 43 - ''; 44 - 45 31 ldflags = [ 46 32 "-s" 47 33 "-w" 48 34 "-X github.com/VictoriaMetrics/VictoriaMetrics/lib/buildinfo.Version=${finalAttrs.version}" 49 35 ]; 50 36 51 - preCheck = '' 52 - # `lib/querytracer/tracer_test.go` expects `buildinfo.Version` to be unset 53 - export ldflags=''${ldflags//=${finalAttrs.version}/=} 54 - ''; 55 - 56 37 __darwinAllowLocalNetworking = true; 57 38 58 39 passthru = { ··· 61 42 victorialogs 62 43 ; 63 44 }; 64 - updateScript = nix-update-script { 65 - extraArgs = [ "--version-regex=(.*)-victorialogs" ]; 66 - }; 45 + updateScript = nix-update-script { }; 67 46 }; 68 47 69 48 meta = { ··· 71 50 description = "User friendly log database from VictoriaMetrics"; 72 51 license = lib.licenses.asl20; 73 52 maintainers = with lib.maintainers; [ marie ]; 74 - changelog = "https://github.com/VictoriaMetrics/VictoriaMetrics/releases/tag/${finalAttrs.src.tag}"; 53 + changelog = "https://github.com/VictoriaMetrics/VictoriaLogs/releases/tag/${finalAttrs.src.tag}"; 75 54 mainProgram = "victoria-logs"; 76 55 }; 77 56 })