1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-11-25 23:20:55 +00:00

fcitx-chewing: init at 0.2.2

This commit is contained in:
Eric Sagnes 2015-11-25 15:31:28 +09:00
parent e2a62868d9
commit 3068f632c7
2 changed files with 32 additions and 0 deletions

View file

@ -0,0 +1,30 @@
{ stdenv, fetchurl, cmake, fcitx, gettext, libchewing, pkgconfig }:
stdenv.mkDerivation rec {
name = "fcitx-chewing-${version}";
version = "0.2.2";
src = fetchurl {
url = "http://download.fcitx-im.org/fcitx-chewing/${name}.tar.xz";
sha256 = "0l548xdx2fvjya1ixp37pn382yak0m4kwfh9lgh7l3y2sblqw9zs";
};
buildInputs = [ cmake fcitx gettext libchewing pkgconfig ];
preInstall = ''
substituteInPlace src/cmake_install.cmake \
--replace ${fcitx} $out
substituteInPlace data/cmake_install.cmake \
--replace ${fcitx} $out
'';
meta = with stdenv.lib; {
homepage = "https://github.com/fcitx/fcitx-chewing";
downloadPage = "http://download.fcitx-im.org/fcitx-chewing/";
description = "Fcitx engine for chewing";
license = licenses.gpl2;
platforms = platforms.linux;
maintainers = with maintainers; [ ericsagnes ];
};
}

View file

@ -1513,6 +1513,8 @@ let
fcitx-anthy = callPackage ../tools/inputmethods/fcitx-engines/fcitx-anthy { };
fcitx-chewing = callPackage ../tools/inputmethods/fcitx-engines/fcitx-chewing { };
fcitx-configtool = callPackage ../tools/inputmethods/fcitx/fcitx-configtool.nix { };
fcitx-with-plugins = callPackage ../tools/inputmethods/fcitx/wrapper.nix {