2024-04-05 18:21:26 -06:00
|
|
|
{ lib
|
|
|
|
, rustPlatform
|
|
|
|
, fetchFromGitHub
|
|
|
|
, pkg-config
|
|
|
|
, udev
|
|
|
|
}:
|
|
|
|
|
|
|
|
rustPlatform.buildRustPackage rec{
|
|
|
|
pname = "makima";
|
2024-11-02 20:48:49 -06:00
|
|
|
version = "0.9.4";
|
2024-04-05 18:21:26 -06:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "cyber-sushi";
|
|
|
|
repo = "makima";
|
|
|
|
rev = "v${version}";
|
2024-11-02 20:48:49 -06:00
|
|
|
hash = "sha256-cmn86ocN8DwxS9WpcHxWMjuFPAMmM60Q6jmyeBmdrPg=";
|
2024-04-05 18:21:26 -06:00
|
|
|
};
|
|
|
|
|
2024-11-02 20:48:49 -06:00
|
|
|
cargoHash = "sha256-/eM+clDZRlvfFa1eEwLo8CKEvnOq5CW19RNvbEbxVE8=";
|
2024-04-05 18:21:26 -06:00
|
|
|
|
|
|
|
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";
|
|
|
|
};
|
|
|
|
}
|