nixpkgs-suyu/pkgs/tools/inputmethods/fcitx5/fcitx5-chewing.nix

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

41 lines
710 B
Nix
Raw Normal View History

2022-02-02 17:33:49 +01:00
{ lib
, stdenv
, fetchFromGitHub
, cmake
, extra-cmake-modules
, gettext
, fcitx5
, libchewing
}:
stdenv.mkDerivation rec {
pname = "fcitx5-chewing";
2022-05-25 19:33:42 +02:00
version = "5.0.11";
2022-02-02 17:33:49 +01:00
src = fetchFromGitHub {
owner = "fcitx";
repo = pname;
rev = version;
2022-05-25 19:33:42 +02:00
sha256 = "sha256-w5ogK0jjvAEslXiCJvuhsS+z/Afy1KqDG7PzRQ+CMkY=";
2022-02-02 17:33:49 +01:00
};
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;
};
}