Merge pull request #297604 from ByteSudoer/init-makima

makima: init at 0.4.3
This commit is contained in:
Aleksana 2024-04-07 11:51:19 +08:00 committed by GitHub
commit fd99b12a7e
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 32 additions and 0 deletions

View File

@ -0,0 +1,32 @@
{ lib
, rustPlatform
, fetchFromGitHub
, pkg-config
, udev
}:
rustPlatform.buildRustPackage rec{
pname = "makima";
version = "0.4.3";
src = fetchFromGitHub {
owner = "cyber-sushi";
repo = "makima";
rev = "v${version}";
hash = "sha256-uoUevsQo+BLKPwNGp7qC9wLAVTRMNiuo+wWDLRKECb0=";
};
cargoHash = "sha256-k7eelGCDnfYtyU6NAas22U3jlioIqQBZ4H63p30T+E0=";
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";
};
}