mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-23 22:23:15 +00:00
46ac936b00
This fixes an input issue with alacritty/xterm, see https://github.com/fcitx/fcitx5/issues/254
42 lines
755 B
Nix
42 lines
755 B
Nix
{ lib, stdenv
|
|
, fetchFromGitHub
|
|
, cmake
|
|
, extra-cmake-modules
|
|
, uthash
|
|
, xcbutil
|
|
, xcbutilkeysyms
|
|
, xorgproto
|
|
}:
|
|
|
|
stdenv.mkDerivation rec {
|
|
pname = "xcb-imdkit";
|
|
version = "1.0.3";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "fcitx";
|
|
repo = "xcb-imdkit";
|
|
rev = version;
|
|
sha256 = "sha256-IPuTRSgmrnCJRgGWcE4JRaxd0sGCcHrKRnn2B1OdDMU=";
|
|
};
|
|
|
|
nativeBuildInputs = [
|
|
cmake
|
|
extra-cmake-modules
|
|
xorgproto
|
|
uthash
|
|
];
|
|
|
|
buildInputs = [
|
|
xcbutil
|
|
xcbutilkeysyms
|
|
];
|
|
|
|
meta = with lib; {
|
|
description = "input method development support for xcb";
|
|
homepage = "https://github.com/fcitx/xcb-imdkit";
|
|
license = licenses.lgpl21Plus;
|
|
maintainers = with maintainers; [ poscat ];
|
|
platforms = platforms.linux;
|
|
};
|
|
}
|