nixpkgs/pkgs/development/libraries/xcb-imdkit/default.nix
2021-01-16 12:02:53 +08:00

42 lines
757 B
Nix

{ stdenv
, fetchFromGitHub
, cmake
, extra-cmake-modules
, uthash
, xcbutil
, xcbutilkeysyms
, xorgproto
}:
stdenv.mkDerivation rec {
pname = "xcb-imdkit";
version = "1.0.2";
src = fetchFromGitHub {
owner = "fcitx";
repo = "xcb-imdkit";
rev = version;
sha256 = "sha256-ISaVsMtDsyfhbhsAwDSWkQ7ZcpNtvC7M9NFQsWA5ju8=";
};
nativeBuildInputs = [
cmake
extra-cmake-modules
xorgproto
uthash
];
buildInputs = [
xcbutil
xcbutilkeysyms
];
meta = with stdenv.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;
};
}