fa5436e0a7
GitOrigin-RevId: e8057b67ebf307f01bdcc8fba94d94f75039d1f6
41 lines
753 B
Nix
41 lines
753 B
Nix
{ lib, stdenv
|
|
, fetchFromGitHub
|
|
, cmake
|
|
, extra-cmake-modules
|
|
, uthash
|
|
, xcbutil
|
|
, xcbutilkeysyms
|
|
, xorgproto
|
|
}:
|
|
|
|
stdenv.mkDerivation rec {
|
|
pname = "xcb-imdkit";
|
|
version = "1.0.9";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "fcitx";
|
|
repo = "xcb-imdkit";
|
|
rev = version;
|
|
hash = "sha256-QfuetGPY6u4OhFiE5/CoVEpdODWnd1PHWBtM3ymsZ98=";
|
|
};
|
|
|
|
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;
|
|
};
|
|
}
|