83405b6dd2
GitOrigin-RevId: ac718d02867a84b42522a0ece52d841188208f2c
40 lines
710 B
Nix
40 lines
710 B
Nix
{ lib
|
|
, stdenv
|
|
, fetchFromGitHub
|
|
, cmake
|
|
, extra-cmake-modules
|
|
, gettext
|
|
, fcitx5
|
|
, libchewing
|
|
}:
|
|
|
|
stdenv.mkDerivation rec {
|
|
pname = "fcitx5-chewing";
|
|
version = "5.0.14";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "fcitx";
|
|
repo = pname;
|
|
rev = version;
|
|
sha256 = "sha256-zfaq5pkHcB12iFvXWvvzmX9mpcXAZSri9lVlzfePLAQ=";
|
|
};
|
|
|
|
nativeBuildInputs = [
|
|
cmake
|
|
extra-cmake-modules
|
|
gettext
|
|
];
|
|
|
|
buildInputs = [
|
|
fcitx5
|
|
libchewing
|
|
];
|
|
|
|
meta = with lib; {
|
|
description = "Chewing wrapper for Fcitx5";
|
|
homepage = "https://github.com/fcitx/fcitx5-chewing";
|
|
license = licenses.lgpl21Plus;
|
|
maintainers = with maintainers; [ xrelkd ];
|
|
platforms = platforms.linux;
|
|
};
|
|
}
|