diff options
author | Jonas Chevalier <zimbatm@zimbatm.com> | 2024-03-05 10:53:19 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-03-05 10:53:19 +0100 |
commit | ee411f2c1ba132a5d96199b6e3132611b7443293 (patch) | |
tree | 0dcc7f9a8ed24a6fc50acfd86d936e34c3a32d14 /pkgs/servers/nosql | |
parent | fadc8b7bbe5b91f63538d4aea78af3276b8211cf (diff) | |
download | nixlib-ee411f2c1ba132a5d96199b6e3132611b7443293.tar nixlib-ee411f2c1ba132a5d96199b6e3132611b7443293.tar.gz nixlib-ee411f2c1ba132a5d96199b6e3132611b7443293.tar.bz2 nixlib-ee411f2c1ba132a5d96199b6e3132611b7443293.tar.lz nixlib-ee411f2c1ba132a5d96199b6e3132611b7443293.tar.xz nixlib-ee411f2c1ba132a5d96199b6e3132611b7443293.tar.zst nixlib-ee411f2c1ba132a5d96199b6e3132611b7443293.zip |
VictoriaMetrics: 1.97.1 -> 1.99.0 (#293328)
Package upgrade and move to pkgs/by-name. * https://github.com/VictoriaMetrics/VictoriaMetrics/releases/tag/v1.98.0 * https://github.com/VictoriaMetrics/VictoriaMetrics/releases/tag/v1.99.0
Diffstat (limited to 'pkgs/servers/nosql')
-rw-r--r-- | pkgs/servers/nosql/victoriametrics/default.nix | 49 |
1 files changed, 0 insertions, 49 deletions
diff --git a/pkgs/servers/nosql/victoriametrics/default.nix b/pkgs/servers/nosql/victoriametrics/default.nix deleted file mode 100644 index f694aeef565d..000000000000 --- a/pkgs/servers/nosql/victoriametrics/default.nix +++ /dev/null @@ -1,49 +0,0 @@ -{ lib, buildGoModule, fetchFromGitHub, nixosTests }: - -buildGoModule rec { - pname = "VictoriaMetrics"; - version = "1.97.1"; - - src = fetchFromGitHub { - owner = pname; - repo = pname; - rev = "v${version}"; - hash = "sha256-zaRXvktHqsM/pZd7DsCAXCSI2jaPZ3iKHLQqDILZ9pc="; - }; - - vendorHash = null; - - postPatch = '' - # main module (github.com/VictoriaMetrics/VictoriaMetrics) does not contain package - # github.com/VictoriaMetrics/VictoriaMetrics/app/vmui/packages/vmui/web - # - # This appears to be some kind of test server for development purposes only. - rm -f app/vmui/packages/vmui/web/{go.mod,main.go} - - # Increase timeouts in tests to prevent failure on heavily loaded builders - substituteInPlace lib/storage/storage_test.go \ - --replace "time.After(10 " "time.After(120 " \ - --replace "time.NewTimer(30 " "time.NewTimer(120 " \ - --replace "time.NewTimer(time.Second * 10)" "time.NewTimer(time.Second * 120)" \ - ''; - - ldflags = [ "-s" "-w" "-X github.com/VictoriaMetrics/VictoriaMetrics/lib/buildinfo.Version=${version}" ]; - - preCheck = '' - # `lib/querytracer/tracer_test.go` expects `buildinfo.Version` to be unset - export ldflags=''${ldflags//=${version}/=} - ''; - - __darwinAllowLocalNetworking = true; - - passthru.tests = { inherit (nixosTests) victoriametrics; }; - - meta = with lib; { - homepage = "https://victoriametrics.com/"; - description = "fast, cost-effective and scalable time series database, long-term remote storage for Prometheus"; - license = licenses.asl20; - maintainers = with maintainers; [ yorickvp ivan ]; - changelog = "https://github.com/VictoriaMetrics/VictoriaMetrics/releases/tag/v${version}"; - mainProgram = "victoria-metrics"; - }; -} |