victoriametrics: 1.112.0 -> 1.113.0 (#388714)

authored by Gaétan Lepage and committed by GitHub c792a2ad 1dda7ff0

+14 -14
+14 -14
pkgs/by-name/vi/victoriametrics/package.nix
··· 12 withVictoriaLogs ? true, # logs server 13 }: 14 15 - buildGoModule rec { 16 pname = "VictoriaMetrics"; 17 - version = "1.112.0"; 18 19 src = fetchFromGitHub { 20 owner = "VictoriaMetrics"; 21 repo = "VictoriaMetrics"; 22 - rev = "v${version}"; 23 - hash = "sha256-9/478WcGtD7ugpumNMBsyefCh9vNUTllBjjk5OsmiU8="; 24 }; 25 26 vendorHash = null; ··· 60 61 # Increase timeouts in tests to prevent failure on heavily loaded builders 62 substituteInPlace lib/storage/storage_test.go \ 63 - --replace "time.After(10 " "time.After(120 " \ 64 - --replace "time.NewTimer(30 " "time.NewTimer(120 " \ 65 - --replace "time.NewTimer(time.Second * 10)" "time.NewTimer(time.Second * 120)" \ 66 ''; 67 68 ldflags = [ 69 "-s" 70 "-w" 71 - "-X github.com/VictoriaMetrics/VictoriaMetrics/lib/buildinfo.Version=${version}" 72 ]; 73 74 preCheck = '' 75 # `lib/querytracer/tracer_test.go` expects `buildinfo.Version` to be unset 76 - export ldflags=''${ldflags//=${version}/=} 77 ''; 78 79 __darwinAllowLocalNetworking = true; ··· 82 inherit (nixosTests) victoriametrics; 83 }; 84 85 - meta = with lib; { 86 homepage = "https://victoriametrics.com/"; 87 description = "fast, cost-effective and scalable time series database, long-term remote storage for Prometheus"; 88 - license = licenses.asl20; 89 - maintainers = with maintainers; [ 90 yorickvp 91 ivan 92 leona 93 shawn8901 94 ryan4yin 95 ]; 96 - changelog = "https://github.com/VictoriaMetrics/VictoriaMetrics/releases/tag/v${version}"; 97 mainProgram = "victoria-metrics"; 98 }; 99 - }
··· 12 withVictoriaLogs ? true, # logs server 13 }: 14 15 + buildGoModule (finalAttrs: { 16 pname = "VictoriaMetrics"; 17 + version = "1.113.0"; 18 19 src = fetchFromGitHub { 20 owner = "VictoriaMetrics"; 21 repo = "VictoriaMetrics"; 22 + tag = "v${finalAttrs.version}"; 23 + hash = "sha256-yjK81kT2EW8Vqykl2xelCQg54ancVfSHriG08z7tXWU="; 24 }; 25 26 vendorHash = null; ··· 60 61 # Increase timeouts in tests to prevent failure on heavily loaded builders 62 substituteInPlace lib/storage/storage_test.go \ 63 + --replace-fail "time.After(10 " "time.After(120 " \ 64 + --replace-fail "time.NewTimer(30 " "time.NewTimer(120 " \ 65 + --replace-fail "time.NewTimer(time.Second * 10)" "time.NewTimer(time.Second * 120)" \ 66 ''; 67 68 ldflags = [ 69 "-s" 70 "-w" 71 + "-X github.com/VictoriaMetrics/VictoriaMetrics/lib/buildinfo.Version=${finalAttrs.version}" 72 ]; 73 74 preCheck = '' 75 # `lib/querytracer/tracer_test.go` expects `buildinfo.Version` to be unset 76 + export ldflags=''${ldflags//=${finalAttrs.version}/=} 77 ''; 78 79 __darwinAllowLocalNetworking = true; ··· 82 inherit (nixosTests) victoriametrics; 83 }; 84 85 + meta = { 86 homepage = "https://victoriametrics.com/"; 87 description = "fast, cost-effective and scalable time series database, long-term remote storage for Prometheus"; 88 + license = lib.licenses.asl20; 89 + maintainers = with lib.maintainers; [ 90 yorickvp 91 ivan 92 leona 93 shawn8901 94 ryan4yin 95 ]; 96 + changelog = "https://github.com/VictoriaMetrics/VictoriaMetrics/releases/tag/v${finalAttrs.version}"; 97 mainProgram = "victoria-metrics"; 98 }; 99 + })