nixpkgs/pkgs/tools/wayland/hyprland-per-window-layout/default.nix
2024-03-22 18:31:20 +00:00

25 lines
712 B
Nix

{ lib, fetchFromGitHub, rustPlatform }:
rustPlatform.buildRustPackage rec {
pname = "hyprland-per-window-layout";
version = "2.9";
src = fetchFromGitHub {
owner = "coffebar";
repo = pname;
rev = version;
hash = "sha256-AhTDcwZnFAaB750PqdXjZvjVrSjwJd3CXv1UtZfcTC0=";
};
cargoHash = "sha256-uZsXIDdUNZyrDmfWCHDuibziarzIav74Lpu4yObkGbc=";
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;
mainProgram = "hyprland-per-window-layout";
};
}