nixpkgs/pkgs/tools/inputmethods/fcitx5/fcitx5-qt.nix

47 lines
779 B
Nix
Raw Normal View History

2021-01-15 09:19:50 +00:00
{ lib, stdenv
2020-12-13 03:07:21 +00:00
, mkDerivation
, fetchFromGitHub
, cmake
, extra-cmake-modules
, fcitx5
, qtx11extras
, libxcb
, libXdmcp
}:
mkDerivation rec {
pname = "fcitx5-qt";
version = "5.0.1";
src = fetchFromGitHub {
owner = "fcitx";
repo = "fcitx5-qt";
rev = version;
sha256 = "BVOumk2xj3vmwmm4KwiktQhWyTuUA2OFwYXNR6HgwyM=";
};
cmakeFlags = [
"-DENABLE_QT4=0"
];
nativeBuildInputs = [
cmake
extra-cmake-modules
];
buildInputs = [
fcitx5
qtx11extras
libxcb
libXdmcp
];
2021-01-15 09:19:50 +00:00
meta = with lib; {
2020-12-13 03:07:21 +00:00
description = "Fcitx5 Qt Library";
homepage = "https://github.com/fcitx/fcitx5-qt";
license = with licenses; [ lgpl21Plus bsd3 ];
maintainers = with maintainers; [ poscat ];
platforms = platforms.linux;
};
}