prometheus: 2.55.0 -> 3.0.0 (#358862)

authored by Franz Pletz and committed by GitHub ee15da51 65a50ea4

+5 -6
+5 -6
pkgs/by-name/pr/prometheus/package.nix
··· 31 }: 32 33 let 34 - version = "2.55.0"; 35 webUiStatic = fetchurl { 36 url = "https://github.com/prometheus/prometheus/releases/download/v${version}/prometheus-web-ui-${version}.tar.gz"; 37 - hash = "sha256-iSiK6JKm78AMANfBydfCQu+aUpw6B1sZ5fGPa0KL7Fs="; 38 }; 39 in 40 buildGoModule rec { ··· 47 owner = "prometheus"; 48 repo = "prometheus"; 49 rev = "v${version}"; 50 - hash = "sha256-yzAp/YxLCWlpkj5z2aUdsokDaFvRwVnT6ViwL3hivdI="; 51 }; 52 53 - vendorHash = "sha256-p2PjhFT8KOido+MMmKc7eHPkE175my3VfTp1G8bBZcA="; 54 55 - excludedPackages = [ "documentation/prometheus-mixin" ]; 56 57 postPatch = '' 58 tar -C web/ui -xzf ${webUiStatic} ··· 112 preInstall = '' 113 mkdir -p "$out/share/doc/prometheus" "$out/etc/prometheus" 114 cp -a $src/documentation/* $out/share/doc/prometheus 115 - cp -a $src/console_libraries $src/consoles $out/etc/prometheus 116 ''; 117 118 postInstall = ''
··· 31 }: 32 33 let 34 + version = "3.0.0"; 35 webUiStatic = fetchurl { 36 url = "https://github.com/prometheus/prometheus/releases/download/v${version}/prometheus-web-ui-${version}.tar.gz"; 37 + hash = "sha256-a3xyStDsutLjYIEm7t3WilmvO36eMHvd4pOtZYYsJCM="; 38 }; 39 in 40 buildGoModule rec { ··· 47 owner = "prometheus"; 48 repo = "prometheus"; 49 rev = "v${version}"; 50 + hash = "sha256-IMYDtAb2ojzZLBqRJkMcB8yFpmmJPwbbyAxFfbCikkA="; 51 }; 52 53 + vendorHash = "sha256-c96YnWPLH/tbGRb2Zlqrl3PXSZvI+NeYTGlef6REAOw="; 54 55 + excludedPackages = [ "documentation/prometheus-mixin" "web/ui/mantine-ui/src/promql/tools" ]; 56 57 postPatch = '' 58 tar -C web/ui -xzf ${webUiStatic} ··· 112 preInstall = '' 113 mkdir -p "$out/share/doc/prometheus" "$out/etc/prometheus" 114 cp -a $src/documentation/* $out/share/doc/prometheus 115 ''; 116 117 postInstall = ''