mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-11-19 11:00:19 +03:00
Merge pull request #176899 from roidelapluie/upprom
prometheus: 2.35.0 -> 2.36.0
This commit is contained in:
commit
a042373ccd
@ -13,6 +13,7 @@
|
||||
, enableEureka ? true
|
||||
, enableGCE ? true
|
||||
, enableHetzner ? true
|
||||
, enableIONOS ? true
|
||||
, enableKubernetes ? true
|
||||
, enableLinode ? true
|
||||
, enableMarathon ? true
|
||||
@ -22,15 +23,16 @@
|
||||
, enableScaleway ? true
|
||||
, enableTriton ? true
|
||||
, enableUyuni ? true
|
||||
, enableVultr ? true
|
||||
, enableXDS ? true
|
||||
, enableZookeeper ? true
|
||||
}:
|
||||
|
||||
let
|
||||
version = "2.35.0";
|
||||
version = "2.36.0";
|
||||
webUiStatic = fetchurl {
|
||||
url = "https://github.com/prometheus/prometheus/releases/download/v${version}/prometheus-web-ui-${version}.tar.gz";
|
||||
sha256 = "sha256-66zWOjFTYwmspiKeklt3NAAT1uJJrZqeyQvWWsCN9fQ=";
|
||||
sha256 = "sha256-C+Np2mqAYQ1RUqYmql0eudPD/SpWmxdMQLe85SenIA4=";
|
||||
};
|
||||
in
|
||||
buildGoModule rec {
|
||||
@ -41,10 +43,10 @@ buildGoModule rec {
|
||||
rev = "v${version}";
|
||||
owner = "prometheus";
|
||||
repo = "prometheus";
|
||||
sha256 = "sha256-h0uBs3xMKpRH3A1VG5xrhjXVAT7GL5L3UZWb3HJ2Fz4=";
|
||||
sha256 = "sha256-FJXNCGIVj1OVWXwbXY6k65lXJCe1MqiqK7tw8nGWrEg=";
|
||||
};
|
||||
|
||||
vendorSha256 = "sha256-0I6hmjhdfB41rWOQ9FM9CMq5w5437ka/jLuFXcBQBlM=";
|
||||
vendorSha256 = "sha256-kmAQGRFmGRJ3LuGLMcSc0bJuwMsKhYVUIqQ9vDSH0Cc=";
|
||||
|
||||
excludedPackages = [ "documentation/prometheus-mixin" ];
|
||||
|
||||
@ -70,6 +72,8 @@ buildGoModule rec {
|
||||
"echo - github.com/prometheus/prometheus/discovery/gce"}
|
||||
${lib.optionalString (enableHetzner)
|
||||
"echo - github.com/prometheus/prometheus/discovery/hetzner"}
|
||||
${lib.optionalString (enableIONOS)
|
||||
"echo - github.com/prometheus/prometheus/discovery/ionos"}
|
||||
${lib.optionalString (enableKubernetes)
|
||||
"echo - github.com/prometheus/prometheus/discovery/kubernetes"}
|
||||
${lib.optionalString (enableLinode)
|
||||
@ -88,6 +92,8 @@ buildGoModule rec {
|
||||
"echo - github.com/prometheus/prometheus/discovery/triton"}
|
||||
${lib.optionalString (enableUyuni)
|
||||
"echo - github.com/prometheus/prometheus/discovery/uyuni"}
|
||||
${lib.optionalString (enableVultr)
|
||||
"echo - github.com/prometheus/prometheus/discovery/vultr"}
|
||||
${lib.optionalString (enableXDS)
|
||||
"echo - github.com/prometheus/prometheus/discovery/xds"}
|
||||
${lib.optionalString (enableZookeeper)
|
||||
|
Loading…
Reference in New Issue
Block a user