summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJulien Malka <julien@malka.sh>2023-10-15 18:07:28 +0200
committerJulien Malka <julien@malka.sh>2023-10-15 18:07:28 +0200
commit2480cd81b0a03b49da8cb4a4b12636fcb83b49b6 (patch)
tree963cb51292db6e90a9f1172daf1458cdae9f7e9b
parentMerge pull request #261222 from NixOS/backport-261201-to-release-23.05 (diff)
downloadnixpkgs-2480cd81b0a03b49da8cb4a4b12636fcb83b49b6.tar.gz
uptime-kuma: 1.21.3 -> 1.23.3
-rw-r--r--pkgs/servers/monitoring/uptime-kuma/default.nix13
1 files changed, 4 insertions, 9 deletions
diff --git a/pkgs/servers/monitoring/uptime-kuma/default.nix b/pkgs/servers/monitoring/uptime-kuma/default.nix
index 5a96ef9499c5..917343ffecd1 100644
--- a/pkgs/servers/monitoring/uptime-kuma/default.nix
+++ b/pkgs/servers/monitoring/uptime-kuma/default.nix
@@ -1,27 +1,22 @@
-{ lib, stdenv, fetchFromGitHub, fetchpatch, buildNpmPackage, python3, nodejs, nixosTests }:
+{ lib, stdenv, fetchFromGitHub, buildNpmPackage, python3, nodejs, nixosTests }:
buildNpmPackage rec {
pname = "uptime-kuma";
- version = "1.21.3";
+ version = "1.23.3";
src = fetchFromGitHub {
owner = "louislam";
repo = "uptime-kuma";
rev = version;
- sha256 = "sha256-hNtD8R8nDwO+uJ5WD8TxaCyYD7ESvBPmcv7iT7NAu6s=";
+ hash = "sha256-YffkCFws/61uX6BwYqTeuAq5vqLOC+FeUt6rtQG6xws=";
};
- npmDepsHash = "sha256-GEYu04yZkLNwFG4sYujqIRU4ZCTXm4OYAydXEy4lEiA=";
+ npmDepsHash = "sha256-USyLvC6ior1YhiZz6YySaG7xiYziHB01SHC9BPwuvJo=";
patches = [
# Fixes the permissions of the database being not set correctly
# See https://github.com/louislam/uptime-kuma/pull/2119
./fix-database-permissions.patch
- (fetchpatch {
- name = "CVE-2023-36821-CVE-2023-36822.patch";
- url = "https://github.com/louislam/uptime-kuma/commit/a0736e04b2838aae198c2110db244eab6f87757b.patch";
- hash = "sha256-uTgxc1U/ILdSzZda8XQZlxRT5vY2qVkj1J1WcOali/0=";
- })
];
nativeBuildInputs = [ python3 ];