depot/third_party/nixpkgs/pkgs/by-name/ma/makima/package.nix
Default email 5c370c0b2a Project import generated by Copybara.
GitOrigin-RevId: 33d1e753c82ffc557b4a585c77de43d4c922ebb5
2024-05-15 17:35:15 +02:00

32 lines
773 B
Nix

{ lib
, rustPlatform
, fetchFromGitHub
, pkg-config
, udev
}:
rustPlatform.buildRustPackage rec{
pname = "makima";
version = "0.6.6";
src = fetchFromGitHub {
owner = "cyber-sushi";
repo = "makima";
rev = "v${version}";
hash = "sha256-Orl79ETROaQzAraGGgYQSSreASanYQHkpEetIR8kJmo=";
};
cargoHash = "sha256-npnAbzy2EN3tK1/pSJnnucMj5lLn30lrgKtcPDl0HQQ=";
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";
};
}