about summary refs log tree commit diff
diff options
context:
space:
mode:
authorByteSudoer <ByteSudoer@users.noreply.github.com>2024-04-06 01:21:26 +0100
committerByteSudoer <ByteSudoer@users.noreply.github.com>2024-04-06 01:21:26 +0100
commitab99d42c25dabf478ba49938212f17e1b72e7b8f (patch)
tree1370c1af34c9d8534c1be179a34ef9008ec99255
parent7b24f700affcc69d77c5584c28fff5ccff453be5 (diff)
makima: init at 0.4.3
-rw-r--r--pkgs/by-name/ma/makima/package.nix32
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 0000000000000..c3ce45aafd2aa
--- /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";
+  };
+}