Some checks failed
Periodic Merges (6h) / master → staging-nixos (push) Failing after 12m50s
Periodic Merges (6h) / master → staging-next (push) Failing after 12m54s
Periodic Merges (24h) / merge-base(master,staging) → haskell-updates (push) Failing after 11m54s
Periodic Merges (6h) / staging-next → staging (push) Failing after 12m13s
Periodic Merges (24h) / staging-next-25.05 → staging-25.05 (push) Failing after 13m24s
Periodic Merges (24h) / release-25.05 → staging-next-25.05 (push) Failing after 14m28s
34 lines
782 B
Nix
34 lines
782 B
Nix
{
|
|
lib,
|
|
rustPlatform,
|
|
fetchFromGitHub,
|
|
pkg-config,
|
|
udev,
|
|
}:
|
|
|
|
rustPlatform.buildRustPackage rec {
|
|
pname = "makima";
|
|
version = "0.10.2";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "cyber-sushi";
|
|
repo = "makima";
|
|
rev = "v${version}";
|
|
hash = "sha256-qvIzoYGU0WZdEPlJ3AR3uqOt2br73Vp8+ZU2xkX2si0=";
|
|
};
|
|
|
|
cargoHash = "sha256-8814sRjYlnWAdOOLjj0VAuDr+Hlr1xTcvqx4Ul6XhR4=";
|
|
|
|
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";
|
|
};
|
|
}
|