Merge pull request #268619 from tweag/lib-descriptions
[NixPkgs.git] / pkgs / development / libraries / xcb-imdkit / default.nix
blobdc9dbb041bea9f1cdc0f61cf7a94b3c34039b371
1 { lib, stdenv
2 , fetchFromGitHub
3 , cmake
4 , extra-cmake-modules
5 , uthash
6 , xcbutil
7 , xcbutilkeysyms
8 , xorgproto
9 }:
11 stdenv.mkDerivation rec {
12   pname = "xcb-imdkit";
13   version = "1.0.5";
15   src = fetchFromGitHub {
16     owner = "fcitx";
17     repo = "xcb-imdkit";
18     rev = version;
19     sha256 = "sha256-jbIhcxZzGlklpoMjLAYkKlh/CBE8R4jARO6nfnzSXOQ=";
20   };
22   nativeBuildInputs = [
23     cmake
24     extra-cmake-modules
25     xorgproto
26     uthash
27   ];
29   buildInputs = [
30     xcbutil
31     xcbutilkeysyms
32   ];
34   meta = with lib; {
35     description = "input method development support for xcb";
36     homepage = "https://github.com/fcitx/xcb-imdkit";
37     license = licenses.lgpl21Plus;
38     maintainers = with maintainers; [ poscat ];
39     platforms = platforms.linux;
40   };