diff options
author | Mostly Void <7rat13@gmail.com> | 2023-08-07 15:26:58 +0300 |
---|---|---|
committer | Mostly Void <7rat13@gmail.com> | 2023-08-08 00:53:18 +0300 |
commit | 9d5724088a8739c997f451a90eba95cc8a43f310 (patch) | |
tree | ccddfe0cfbc750158c710f5f87925d18d27666f6 /pkgs/tools/inputmethods/keymapper | |
parent | 31330030c8967576a97edb4b1f1c3c66d4031a99 (diff) |
keymapper: init at 2.6.2
Diffstat (limited to 'pkgs/tools/inputmethods/keymapper')
-rw-r--r-- | pkgs/tools/inputmethods/keymapper/default.nix | 44 |
1 files changed, 44 insertions, 0 deletions
diff --git a/pkgs/tools/inputmethods/keymapper/default.nix b/pkgs/tools/inputmethods/keymapper/default.nix new file mode 100644 index 0000000000000..c1868d819ba6f --- /dev/null +++ b/pkgs/tools/inputmethods/keymapper/default.nix @@ -0,0 +1,44 @@ +{ lib +, stdenv +, fetchFromGitHub +, cmake +, dbus +, libX11 +, libusb1 +, pkg-config +, udev +, wayland +}: + +stdenv.mkDerivation (finalAttrs: { + pname = "keymapper"; + version = "2.6.2"; + + src = fetchFromGitHub { + owner = "houmain"; + repo = "keymapper"; + rev = finalAttrs.version; + hash = "sha256-XCrEM9TR2nxw1GjkpDzXl4eYXu8peaJAIYXRCltSCj4="; + }; + + # all the following must be in nativeBuildInputs + nativeBuildInputs = [ + cmake + pkg-config + dbus + wayland + libX11 + udev + libusb1 + ]; + + meta = { + changelog = "https://github.com/houmain/keymapper/blob/${finalAttrs.src.rev}/CHANGELOG.md"; + description = "A cross-platform context-aware key remapper"; + homepage = "https://github.com/houmain/keymapper"; + license = lib.licenses.gpl3Only; + mainProgram = "keymapper"; + maintainers = with lib.maintainers; [ dit7ya ]; + platforms = lib.platforms.linux; + }; +}) |