nixpkgs/pkgs/development/libraries/xcb-imdkit/default.nix

42 lines
755 B
Nix
Raw Normal View History

{ lib, stdenv
2020-12-13 02:57:55 +00:00
, fetchFromGitHub
, cmake
, extra-cmake-modules
, uthash
, xcbutil
, xcbutilkeysyms
, xorgproto
}:
stdenv.mkDerivation rec {
pname = "xcb-imdkit";
version = "1.0.3";
2020-12-13 02:57:55 +00:00
src = fetchFromGitHub {
owner = "fcitx";
repo = "xcb-imdkit";
rev = version;
sha256 = "sha256-IPuTRSgmrnCJRgGWcE4JRaxd0sGCcHrKRnn2B1OdDMU=";
2020-12-13 02:57:55 +00:00
};
nativeBuildInputs = [
cmake
extra-cmake-modules
xorgproto
uthash
];
buildInputs = [
xcbutil
xcbutilkeysyms
];
meta = with lib; {
2020-12-13 02:57:55 +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;
};
}