diff options
author | Thomas Gerbet <thomas@gerbet.me> | 2023-04-27 14:49:53 +0200 |
---|---|---|
committer | Thomas Gerbet <thomas@gerbet.me> | 2023-04-27 14:49:53 +0200 |
commit | 19a929866c09bcea91db7b00816e9ba778affffd (patch) | |
tree | 61fbf83d27fb1324a82342154a5ffc65e30c475d | |
parent | 1a41826ad482ac29375d2f676dae89d22d59124b (diff) |
grafana: 9.4.7 -> 9.5.1
Fixes CVE-2023-1387 and pull fixed dependency for CVE-2023-28119. Release notes: https://grafana.com/blog/2023/04/26/grafana-9.5-release/ Security advisory: https://grafana.com/blog/2023/04/26/grafana-security-release-new-versions-of-grafana-with-security-fixes-for-cve-2023-28119-and-cve-2023-1387/
-rw-r--r-- | pkgs/servers/monitoring/grafana/default.nix | 18 |
1 files changed, 5 insertions, 13 deletions
diff --git a/pkgs/servers/monitoring/grafana/default.nix b/pkgs/servers/monitoring/grafana/default.nix index 068154b601d1d..008bf25ae6d2f 100644 --- a/pkgs/servers/monitoring/grafana/default.nix +++ b/pkgs/servers/monitoring/grafana/default.nix @@ -1,8 +1,8 @@ -{ lib, buildGoModule, fetchurl, fetchFromGitHub, fetchpatch, nixosTests, tzdata, wire }: +{ lib, buildGoModule, fetchurl, fetchFromGitHub, nixosTests, tzdata, wire }: buildGoModule rec { pname = "grafana"; - version = "9.4.7"; + version = "9.5.1"; excludedPackages = [ "alert_webhook_listener" "clean-swagger" "release_publisher" "slow_proxy" "slow_proxy_mac" "macaron" "devenv" ]; @@ -10,23 +10,15 @@ buildGoModule rec { rev = "v${version}"; owner = "grafana"; repo = "grafana"; - sha256 = "sha256-vhGFZjxO20M3fQhXlEDDkad/yOyFOu48sHZ63MEnWIA="; + hash = "sha256-uYmbW7+h4dr2LlLpQ2kefcTZ+WdW56JwneTwj9BCIkU="; }; srcStatic = fetchurl { url = "https://dl.grafana.com/oss/release/grafana-${version}.linux-amd64.tar.gz"; - sha256 = "sha256-HiKr1ier13xUlrwsJrxo60wwqmiPcza2oOLIfMgFWc0="; + hash = "sha256-2bdQXN1CmcGDXDZUf/4uYtOw7HYA3KLGRKBRlXLJw4c="; }; - patches = [ - (fetchpatch { # https://github.com/grafana/grafana/pull/65790 - name = "fix-TestIntegrationAMConfigAccess.patch"; - url = "https://github.com/grafana/grafana/commit/8500eb1c180b4d49a8e17bfd6df675d821d038a4.diff"; - sha256 = "sha256-TWPn9fLjmCbXGXkxAc3NLTN+0XXjsaspaV4gYKg3+Mk="; - }) - ]; - - vendorSha256 = "sha256-sUvjZTg2/6UGjc2Qv8YO4IWlS4Y/FzGRVOQ9I/wp/aM="; + vendorHash = "sha256-b965ODZM0DgF8ZNrqa+Pwq8NE2qjePI9pBe2TgOVqwQ="; nativeBuildInputs = [ wire ]; |