diff --git a/pkgs/tools/wayland/hyprland-per-window-layout/default.nix b/pkgs/tools/wayland/hyprland-per-window-layout/default.nix new file mode 100644 index 000000000000..32dcddea6fc4 --- /dev/null +++ b/pkgs/tools/wayland/hyprland-per-window-layout/default.nix @@ -0,0 +1,23 @@ +{ lib, fetchFromGitHub, rustPlatform }: + +rustPlatform.buildRustPackage rec { + pname = "hyprland-per-window-layout"; + version = "2.3"; + + src = fetchFromGitHub { + owner = "coffebar"; + repo = pname; + rev = version; + hash = "sha256-eqhGX9rjvOHh6RuWj5dqWPKlFdTnZpAcDUuJbT3Z/E8="; + }; + + cargoHash = "sha256-AUkBTHShtY3ZJ8pxCuW9baVuxb2QxzXxJQMgbuVTlPY="; + + meta = with lib; { + description = "Per window keyboard layout (language) for Hyprland wayland compositor"; + homepage = "https://github.com/coffebar/hyprland-per-window-layout"; + license = licenses.mit; + maintainers = [ maintainers.azazak123 ]; + platforms = platforms.linux; + }; +} diff --git a/pkgs/top-level/all-packages.nix b/pkgs/top-level/all-packages.nix index 39f4d3a3aa04..3b1cf3486e38 100644 --- a/pkgs/top-level/all-packages.nix +++ b/pkgs/top-level/all-packages.nix @@ -5420,6 +5420,8 @@ with pkgs; udis86 = pkgs.callPackage ../applications/window-managers/hyprwm/hyprland/udis86.nix { }; }; + hyprland-per-window-layout = callPackage ../tools/wayland/hyprland-per-window-layout { }; + hyprland-protocols = callPackage ../applications/window-managers/hyprwm/hyprland-protocols { }; hyprland-share-picker = libsForQt5.callPackage ../applications/window-managers/hyprwm/xdg-desktop-portal-hyprland/hyprland-share-picker.nix { };