depot/third_party/nixpkgs/pkgs/tools/inputmethods/fcitx5/fcitx5-m17n.nix
Default email ca5ab3a501 Project import generated by Copybara.
GitOrigin-RevId: 4a01ca36d6bfc133bc617e661916a81327c9bbc8
2022-07-14 08:49:19 -04:00

46 lines
766 B
Nix

{ lib
, stdenv
, fetchFromGitHub
, cmake
, extra-cmake-modules
, pkg-config
, fcitx5
, m17n_lib
, m17n_db
, gettext
, fmt
}:
stdenv.mkDerivation rec {
pname = "fcitx5-m17n";
version = "5.0.10";
src = fetchFromGitHub {
owner = "fcitx";
repo = pname;
rev = version;
sha256 = "sha256-u4rW89ofuKYCn+NcvdIy0eU+lZ7Lp9kp/d0NdHW2V1s=";
};
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;
};
}