{ lib, buildGoModule, fetchFromGitHub, pkg-config, gtk4, gtk4-layer-shell, gobject-introspection, ... }: buildGoModule (finalAttrs: { pname = "nirilayout"; version = "0.2.0"; src = fetchFromGitHub { owner = "calico32"; repo = finalAttrs.pname; hash = "sha256-rlW8n+1gVPFBgv5UbVS43bI0NBVHfOPjJ6R0kMytrcQ="; rev = "v${finalAttrs.version}"; }; vendorHash = "sha256-o6/ZH70j3e4kU/ZxP41/88kXakrWAu6QdHtOY+EceCs="; nativeBuildInputs = [ pkg-config ]; buildInputs = [ gtk4 gtk4-layer-shell gobject-introspection ]; meta = with lib; { maintainers = with lib.maintainers; [ zaphyra ]; license = licenses.mit; homepage = "https://github.com/calico32/nirilayout"; changelog = "https://github.com/calico32/nirilayout/releases/tag/v${finalAttrs.version}"; description = "niri monitor layout switcher"; longDescription = '' nirilayout is a simple tool to quickly switch your niri output configuration between different layouts. Especially useful for laptop users who move between different setups frequently. ''; }; })