diff --git a/pkgs/by-name/hy/hyprlock/package.nix b/pkgs/by-name/hy/hyprlock/package.nix index ac691786cd1f9..df3deb5e16c5f 100644 --- a/pkgs/by-name/hy/hyprlock/package.nix +++ b/pkgs/by-name/hy/hyprlock/package.nix @@ -9,6 +9,8 @@ hyprlang, hyprutils, pam, + sdbus-cpp, + systemdLibs, wayland, wayland-protocols, wayland-scanner, @@ -22,15 +24,26 @@ nix-update-script, }: +let + sdbus-cpp_2 = sdbus-cpp.overrideAttrs (oldAttrs: rec { + version = "2.0.0"; + src = fetchFromGitHub { + owner = "kistler-group"; + repo = "sdbus-cpp"; + rev = "v${version}"; + hash = "sha256-W8V5FRhV3jtERMFrZ4gf30OpIQLYoj2yYGpnYOmH2+g="; + }; + }); +in stdenv.mkDerivation (finalAttrs: { pname = "hyprlock"; - version = "0.4.1"; + version = "0.5.0"; src = fetchFromGitHub { owner = "hyprwm"; repo = "hyprlock"; rev = "v${finalAttrs.version}"; - hash = "sha256-w+AyYuqlZ/uWEimiptlHjtDFECm/JlUOD2ciCw8/+/8="; + hash = "sha256-sUIsjWpZLplSJXWyJcDZdvDweksXLH5r9GSkwg0kgBw="; }; strictDeps = true; @@ -54,6 +67,8 @@ stdenv.mkDerivation (finalAttrs: { mesa pam pango + sdbus-cpp_2 + systemdLibs wayland wayland-protocols ];