{ lib , rustPlatform , fetchFromGitHub , pkg-config , udev }: rustPlatform.buildRustPackage rec{ pname = "makima"; version = "0.9.1"; src = fetchFromGitHub { owner = "cyber-sushi"; repo = "makima"; rev = "v${version}"; hash = "sha256-lBHJ4K+4pVNmjK9dSRev487MXsZv9tIAb30Rh/fYc34="; }; cargoHash = "sha256-1/7pJJPli8JIvCWBsbcRaYsqzF8RRWxj3coVRdS7EZc="; nativeBuildInputs = [ pkg-config ]; buildInputs = [ udev ]; meta = with lib; { description = "Linux daemon to remap and create macros for keyboards, mice and controllers"; homepage = "https://github.com/cyber-sushi/makima"; license = licenses.gpl3Plus; maintainers = with maintainers; [ ByteSudoer ]; platforms = platforms.linux; mainProgram = "makima"; }; }