diff options
author | Eric Sagnes <eric.sagnes@gmail.com> | 2016-02-20 10:22:54 +0900 |
---|---|---|
committer | Eric Sagnes <eric.sagnes@gmail.com> | 2016-02-20 10:50:52 +0900 |
commit | 2d5537d89efb93eda88e96beb13ab169f2e08c37 (patch) | |
tree | 4b91cf664a763e57714107d40a1a4fed865047f7 /pkgs/tools/inputmethods | |
parent | 3ad12f2decdab0da872899107917e8c247fd07dc (diff) | |
download | nixlib-2d5537d89efb93eda88e96beb13ab169f2e08c37.tar nixlib-2d5537d89efb93eda88e96beb13ab169f2e08c37.tar.gz nixlib-2d5537d89efb93eda88e96beb13ab169f2e08c37.tar.bz2 nixlib-2d5537d89efb93eda88e96beb13ab169f2e08c37.tar.lz nixlib-2d5537d89efb93eda88e96beb13ab169f2e08c37.tar.xz nixlib-2d5537d89efb93eda88e96beb13ab169f2e08c37.tar.zst nixlib-2d5537d89efb93eda88e96beb13ab169f2e08c37.zip |
fcitx-m17n: init at 0.2.3
Diffstat (limited to 'pkgs/tools/inputmethods')
-rw-r--r-- | pkgs/tools/inputmethods/fcitx-engines/fcitx-m17n/default.nix | 29 |
1 files changed, 29 insertions, 0 deletions
diff --git a/pkgs/tools/inputmethods/fcitx-engines/fcitx-m17n/default.nix b/pkgs/tools/inputmethods/fcitx-engines/fcitx-m17n/default.nix new file mode 100644 index 000000000000..ff42bbbbcc8e --- /dev/null +++ b/pkgs/tools/inputmethods/fcitx-engines/fcitx-m17n/default.nix @@ -0,0 +1,29 @@ +{ stdenv, fetchurl, cmake, fcitx, gettext, m17n_lib, m17n_db, pkgconfig }: + +stdenv.mkDerivation rec { + name = "fcitx-m17n-${version}"; + version = "0.2.3"; + + src = fetchurl { + url = "http://download.fcitx-im.org/fcitx-m17n/${name}.tar.xz"; + sha256 = "0ffyhsg7bc6525k94kfhnja1h6ajlfprq72d286dp54cksnakyc4"; + }; + + buildInputs = [ cmake fcitx gettext m17n_lib m17n_db pkgconfig ]; + + preInstall = '' + substituteInPlace im/cmake_install.cmake \ + --replace ${fcitx} $out + ''; + + meta = with stdenv.lib; { + isFcitxEngine = true; + homepage = "https://github.com/fcitx/fcitx-m17n"; + downloadPage = "http://download.fcitx-im.org/fcitx-table-other/"; + description = "Fcitx wrapper for m17n"; + license = licenses.gpl3Plus; + platforms = platforms.linux; + maintainers = with maintainers; [ ericsagnes ]; + }; + +} |