Merge pull request #247733 from dit7ya/keymapper

keymapper: init at 2.6.2
This commit is contained in:
Pol Dellaiera 2023-08-08 10:57:02 +02:00 committed by GitHub
commit d90ede3a27
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 46 additions and 0 deletions

View file

@ -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;
};
})

View file

@ -6779,6 +6779,8 @@ with pkgs;
keyd = callPackage ../tools/inputmethods/keyd { };
keymapper = callPackage ../tools/inputmethods/keymapper { };
twitch-tui = callPackage ../applications/networking/instant-messengers/twitch-tui {
inherit (darwin.apple_sdk.frameworks) Security;
};