2021-04-13 20:44:15 +01:00
|
|
|
{ lib
|
|
|
|
, stdenv
|
|
|
|
, fetchFromGitHub
|
|
|
|
, cmake
|
|
|
|
, extra-cmake-modules
|
|
|
|
, pkg-config
|
|
|
|
, fcitx5
|
|
|
|
, m17n_lib
|
|
|
|
, m17n_db
|
|
|
|
, gettext
|
|
|
|
, fmt
|
|
|
|
}:
|
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
|
|
|
pname = "fcitx5-m17n";
|
2021-05-06 16:07:45 +01:00
|
|
|
version = "5.0.5";
|
2021-04-13 20:44:15 +01:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "fcitx";
|
|
|
|
repo = pname;
|
|
|
|
rev = version;
|
2021-05-06 16:07:45 +01:00
|
|
|
sha256 = "sha256-duL9FgXPCr4/rMuguw8cf3EIdK6MW/alUNeh1yduY68=";
|
2021-04-13 20:44:15 +01:00
|
|
|
};
|
|
|
|
|
|
|
|
nativeBuildInputs = [
|
|
|
|
cmake
|
|
|
|
extra-cmake-modules
|
|
|
|
pkg-config
|
|
|
|
gettext
|
|
|
|
];
|
|
|
|
|
|
|
|
buildInputs = [
|
|
|
|
fcitx5
|
|
|
|
m17n_db
|
|
|
|
m17n_lib
|
|
|
|
fmt
|
|
|
|
];
|
|
|
|
|
|
|
|
meta = with lib; {
|
|
|
|
description = "m17n support for Fcitx5";
|
|
|
|
homepage = "https://github.com/fcitx/fcitx5-m17n";
|
|
|
|
license = licenses.lgpl21Plus;
|
|
|
|
maintainers = with maintainers; [ Technical27 ];
|
|
|
|
platforms = platforms.linux;
|
|
|
|
};
|
|
|
|
}
|