Merge pull request #247733 from dit7ya/keymapper
keymapper: init at 2.6.2
This commit is contained in:
commit
d90ede3a27
2 changed files with 46 additions and 0 deletions
44
pkgs/tools/inputmethods/keymapper/default.nix
Normal file
44
pkgs/tools/inputmethods/keymapper/default.nix
Normal 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;
|
||||||
|
};
|
||||||
|
})
|
|
@ -6779,6 +6779,8 @@ with pkgs;
|
||||||
|
|
||||||
keyd = callPackage ../tools/inputmethods/keyd { };
|
keyd = callPackage ../tools/inputmethods/keyd { };
|
||||||
|
|
||||||
|
keymapper = callPackage ../tools/inputmethods/keymapper { };
|
||||||
|
|
||||||
twitch-tui = callPackage ../applications/networking/instant-messengers/twitch-tui {
|
twitch-tui = callPackage ../applications/networking/instant-messengers/twitch-tui {
|
||||||
inherit (darwin.apple_sdk.frameworks) Security;
|
inherit (darwin.apple_sdk.frameworks) Security;
|
||||||
};
|
};
|
||||||
|
|
Loading…
Reference in a new issue