2021-01-21 18:00:13 +01:00
|
|
|
{ lib, stdenv
|
2020-12-13 03:57:55 +01:00
|
|
|
, fetchFromGitHub
|
|
|
|
, cmake
|
|
|
|
, extra-cmake-modules
|
|
|
|
, uthash
|
|
|
|
, xcbutil
|
|
|
|
, xcbutilkeysyms
|
|
|
|
, xorgproto
|
|
|
|
}:
|
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
|
|
|
pname = "xcb-imdkit";
|
2021-01-16 04:15:46 +01:00
|
|
|
version = "1.0.2";
|
2020-12-13 03:57:55 +01:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "fcitx";
|
|
|
|
repo = "xcb-imdkit";
|
|
|
|
rev = version;
|
2021-01-16 04:15:46 +01:00
|
|
|
sha256 = "sha256-ISaVsMtDsyfhbhsAwDSWkQ7ZcpNtvC7M9NFQsWA5ju8=";
|
2020-12-13 03:57:55 +01:00
|
|
|
};
|
|
|
|
|
|
|
|
nativeBuildInputs = [
|
|
|
|
cmake
|
|
|
|
extra-cmake-modules
|
|
|
|
xorgproto
|
|
|
|
uthash
|
|
|
|
];
|
|
|
|
|
|
|
|
buildInputs = [
|
|
|
|
xcbutil
|
|
|
|
xcbutilkeysyms
|
|
|
|
];
|
|
|
|
|
2021-01-21 18:00:13 +01:00
|
|
|
meta = with lib; {
|
2020-12-13 03:57:55 +01:00
|
|
|
description = "input method development support for xcb";
|
|
|
|
homepage = "https://github.com/fcitx/xcb-imdkit";
|
|
|
|
license = licenses.lgpl21Plus;
|
|
|
|
maintainers = with maintainers; [ poscat ];
|
|
|
|
platforms = platforms.linux;
|
|
|
|
};
|
|
|
|
}
|