From f97638b9d722fddc60a2293a7cf72a10d4ec6532 Mon Sep 17 00:00:00 2001 From: liberodark Date: Fri, 5 Dec 2025 10:10:39 +0100 Subject: [PATCH] prometheus: 3.7.2 -> 3.8.0 --- pkgs/by-name/pr/prometheus/package.nix | 22 +++++++++++++--------- 1 file changed, 13 insertions(+), 9 deletions(-) diff --git a/pkgs/by-name/pr/prometheus/package.nix b/pkgs/by-name/pr/prometheus/package.nix index 05781511931e..2ad59a39c355 100644 --- a/pkgs/by-name/pr/prometheus/package.nix +++ b/pkgs/by-name/pr/prometheus/package.nix @@ -33,7 +33,7 @@ buildGoModule (finalAttrs: { pname = "prometheus"; - version = "3.7.2"; + version = "3.8.0"; outputs = [ "out" @@ -45,14 +45,14 @@ buildGoModule (finalAttrs: { owner = "prometheus"; repo = "prometheus"; tag = "v${finalAttrs.version}"; - hash = "sha256-bitRDX1oymFfzvQVYL31BON6UBfQYnqjZefQKc+yXx0="; + hash = "sha256-hRuZxwPPDLxQvy5MPKEyfmanNabcSjLRO+XbNKugPtk="; }; - vendorHash = "sha256-V+qLxjqGOaT1veEwtklqcS7iO31ufvDHBA9DbZLzDiE="; + vendorHash = "sha256-5wDaG01vcTtGzrS/S33U5XWXoSWM+N9z3dzXZlILxD8="; webUiStatic = fetchurl { url = "https://github.com/prometheus/prometheus/releases/download/v${finalAttrs.version}/prometheus-web-ui-${finalAttrs.version}.tar.gz"; - hash = "sha256-NFv6zNpMacd0RgVYBlWKbXKNCEh7WijpREg0bNojisM="; + hash = "sha256-oOEvNZFlYtTNBsn+B2pAWXi0A2oJ6IAo7V8bOLtjfCM="; }; excludedPackages = [ @@ -107,7 +107,6 @@ buildGoModule (finalAttrs: { in [ "-s" - "-w" "-X ${t}.Version=${finalAttrs.version}" "-X ${t}.Revision=unknown" "-X ${t}.Branch=unknown" @@ -129,19 +128,24 @@ buildGoModule (finalAttrs: { # Test mock data uses 64 bit data without an explicit (u)int64 doCheck = !(stdenv.hostPlatform.isDarwin || stdenv.hostPlatform.parsed.cpu.bits < 64); - checkFlags = lib.optionals stdenv.hostPlatform.isAarch64 [ + checkFlags = [ + # Skip for issue during TSDB compaction + "-skip=TestBlockRanges" + ] + ++ lib.optionals stdenv.hostPlatform.isAarch64 [ "-skip=TestEvaluations/testdata/aggregators.test" ]; passthru.tests = { inherit (nixosTests) prometheus; }; - meta = with lib; { + meta = { description = "Service monitoring system and time series database"; homepage = "https://prometheus.io"; - license = licenses.asl20; - maintainers = with maintainers; [ + license = lib.licenses.asl20; + maintainers = with lib.maintainers; [ fpletz Frostman ]; + mainProgram = "prometheus"; }; })