depot/third_party/nixpkgs/pkgs/by-name/ma/makima/package.nix
Default email bcb2f287e1 Project import generated by Copybara.
GitOrigin-RevId: d603719ec6e294f034936c0d0dc06f689d91b6c3
2024-06-20 20:27:18 +05:30

32 lines
773 B
Nix

{ lib
, rustPlatform
, fetchFromGitHub
, pkg-config
, udev
}:
rustPlatform.buildRustPackage rec{
pname = "makima";
version = "0.9.3";
src = fetchFromGitHub {
owner = "cyber-sushi";
repo = "makima";
rev = "v${version}";
hash = "sha256-esZCFMeIRoafR7vQbnyf3Mo18trVZdIy9rvAvTHfrLA=";
};
cargoHash = "sha256-NXiK+cimQaYpzY3WSHUlYUWcXOLWQ5TwGuZKh+OB+go=";
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";
};
}