depot/third_party/nixpkgs/pkgs/tools/wayland/hyprland-per-window-layout/default.nix
Default email 5c370c0b2a Project import generated by Copybara.
GitOrigin-RevId: 33d1e753c82ffc557b4a585c77de43d4c922ebb5
2024-05-15 17:35:15 +02:00

24 lines
713 B
Nix

{ lib, fetchFromGitHub, rustPlatform }:
rustPlatform.buildRustPackage rec {
pname = "hyprland-per-window-layout";
version = "2.10";
src = fetchFromGitHub {
owner = "coffebar";
repo = pname;
rev = version;
hash = "sha256-oCHX9C/TnTGxHfZBtKhwcWJaijZ92MqCOnf6OgviH1o=";
};
cargoHash = "sha256-RkIHwIWzKwzpPIFmOkBmOUq07YdLQRVOGblybnACUfs=";
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";
};
}