Skip to content

Commit

Permalink
fcitx5-m17n: init at 5.0.4 (#119357)
Browse files Browse the repository at this point in the history
Co-authored-by: Sandro <sandro.jaeckel@gmail.com>
  • Loading branch information
Technical27 and SuperSandro2000 committed Apr 13, 2021
1 parent 863e450 commit e019872
Show file tree
Hide file tree
Showing 2 changed files with 48 additions and 0 deletions.
46 changes: 46 additions & 0 deletions pkgs/tools/inputmethods/fcitx5/fcitx5-m17n.nix
@@ -0,0 +1,46 @@
{ 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.4";

src = fetchFromGitHub {
owner = "fcitx";
repo = pname;
rev = version;
sha256 = "sha256-yI6Svr1KEdHqAX3qd7t7GvD0EcWg0A2vZpuJw1U9oKQ=";
};

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;
};
}
2 changes: 2 additions & 0 deletions pkgs/top-level/all-packages.nix
Expand Up @@ -4356,6 +4356,8 @@ in

fcitx5-lua = callPackage ../tools/inputmethods/fcitx5/fcitx5-lua.nix { };

fcitx5-m17n = callPackage ../tools/inputmethods/fcitx5/fcitx5-m17n.nix { };

fcitx5-gtk = callPackage ../tools/inputmethods/fcitx5/fcitx5-gtk.nix { };

fcitx5-rime = callPackage ../tools/inputmethods/fcitx5/fcitx5-rime.nix { };
Expand Down

0 comments on commit e019872

Please sign in to comment.