{ lib , rustPlatform , fetchFromGitHub , pkg-config , cairo , glib , libxkbcommon , pango }: rustPlatform.buildRustPackage rec { pname = "wlr-which-key"; version = "1.0.1"; src = fetchFromGitHub { owner = "MaxVerevkin"; repo = "wlr-which-key"; rev = "v${version}"; hash = "sha256-+LOu1iJ4ciqJMemNKV0cNpAxn857izu9j8pu+3Z0msk="; }; cargoHash = "sha256-4aVBaKwvGSpePw64UwrqHhDYcSvM8zADrXAK5SBEfm0="; nativeBuildInputs = [ pkg-config ]; buildInputs = [ cairo glib libxkbcommon pango ]; meta = with lib; { description = "Keymap manager for wlroots-based compositors"; homepage = "https://github.com/MaxVerevkin/wlr-which-key"; license = licenses.gpl3Only; maintainers = with maintainers; [ xlambein ]; platforms = platforms.linux; mainProgram = "wlr-which-key"; }; }