2021-02-05 17:12:51 +00:00
|
|
|
{ lib, stdenv
|
2021-01-15 22:18:51 +00:00
|
|
|
, fetchFromGitHub
|
|
|
|
, cmake
|
|
|
|
, extra-cmake-modules
|
|
|
|
, uthash
|
|
|
|
, xcbutil
|
|
|
|
, xcbutilkeysyms
|
|
|
|
, xorgproto
|
|
|
|
}:
|
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
|
|
|
pname = "xcb-imdkit";
|
2023-03-15 16:39:30 +00:00
|
|
|
version = "1.0.5";
|
2021-01-15 22:18:51 +00:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "fcitx";
|
|
|
|
repo = "xcb-imdkit";
|
|
|
|
rev = version;
|
2023-03-15 16:39:30 +00:00
|
|
|
sha256 = "sha256-jbIhcxZzGlklpoMjLAYkKlh/CBE8R4jARO6nfnzSXOQ=";
|
2021-01-15 22:18:51 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
nativeBuildInputs = [
|
|
|
|
cmake
|
|
|
|
extra-cmake-modules
|
|
|
|
xorgproto
|
|
|
|
uthash
|
|
|
|
];
|
|
|
|
|
|
|
|
buildInputs = [
|
|
|
|
xcbutil
|
|
|
|
xcbutilkeysyms
|
|
|
|
];
|
|
|
|
|
2021-02-05 17:12:51 +00:00
|
|
|
meta = with lib; {
|
2021-01-15 22:18:51 +00: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;
|
|
|
|
};
|
|
|
|
}
|