diff options
author | Aleksana | 2024-04-07 11:51:19 +0800 |
---|---|---|
committer | GitHub | 2024-04-07 11:51:19 +0800 |
commit | fd99b12a7efb66b61a6002d6f47339a8c7be095b (patch) | |
tree | fc592f4bb7ed8c8ce658e496f1fa76dfac405a20 /pkgs/by-name | |
parent | 27298ef93f388df80aef5a5a4c31db0d1ae98370 (diff) | |
parent | ab99d42c25dabf478ba49938212f17e1b72e7b8f (diff) |
Merge pull request #297604 from ByteSudoer/init-makima
makima: init at 0.4.3
Diffstat (limited to 'pkgs/by-name')
-rw-r--r-- | pkgs/by-name/ma/makima/package.nix | 32 |
1 files changed, 32 insertions, 0 deletions
diff --git a/pkgs/by-name/ma/makima/package.nix b/pkgs/by-name/ma/makima/package.nix new file mode 100644 index 000000000000..c3ce45aafd2a --- /dev/null +++ b/pkgs/by-name/ma/makima/package.nix @@ -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"; + }; +} |