fa5436e0a7
GitOrigin-RevId: e8057b67ebf307f01bdcc8fba94d94f75039d1f6
32 lines
773 B
Nix
32 lines
773 B
Nix
{ 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";
|
|
};
|
|
}
|