Merge pull request #3807 from iyzsong/fcitx
fcitx: update and add anthy addon
This commit is contained in:
commit
4fa0a59753
@ -5,11 +5,11 @@
|
|||||||
}:
|
}:
|
||||||
|
|
||||||
stdenv.mkDerivation rec {
|
stdenv.mkDerivation rec {
|
||||||
name = "fcitx-4.2.8.3";
|
name = "fcitx-4.2.8.4";
|
||||||
|
|
||||||
src = fetchurl {
|
src = fetchurl {
|
||||||
url = "http://download.fcitx-im.org/fcitx/${name}_dict.tar.xz";
|
url = "http://download.fcitx-im.org/fcitx/${name}_dict.tar.xz";
|
||||||
sha256 = "05dw6cbjh2jyjrkr4qx2bcq6nyhhrs0akf6fcjk5a72bgphhwqnb";
|
sha256 = "1yhvqg4q0knywdrh8sljqjn1i72rd8ya0fr70pc0w7fq25013x37";
|
||||||
};
|
};
|
||||||
|
|
||||||
patchPhase = ''
|
patchPhase = ''
|
||||||
|
24
pkgs/tools/inputmethods/fcitx/fcitx-anthy.nix
Normal file
24
pkgs/tools/inputmethods/fcitx/fcitx-anthy.nix
Normal file
@ -0,0 +1,24 @@
|
|||||||
|
{ stdenv, fetchurl, cmake, fcitx, anthy }:
|
||||||
|
|
||||||
|
stdenv.mkDerivation rec {
|
||||||
|
name = "fcitx-anthy-0.2.1";
|
||||||
|
|
||||||
|
meta = with stdenv.lib; {
|
||||||
|
description = "Fcitx Wrapper for anthy";
|
||||||
|
license = licenses.gpl2Plus;
|
||||||
|
platforms = platforms.linux;
|
||||||
|
maintainers = with maintainers; [ iyzsong ];
|
||||||
|
};
|
||||||
|
|
||||||
|
src = fetchurl {
|
||||||
|
url = "http://download.fcitx-im.org/fcitx-anthy/${name}.tar.xz";
|
||||||
|
sha256 = "13fpfhhxkzbq53h10i3hifa37nngm47jq361i70z22bgcrs8887x";
|
||||||
|
};
|
||||||
|
|
||||||
|
buildInputs = [ cmake fcitx anthy ];
|
||||||
|
|
||||||
|
preInstall = ''
|
||||||
|
substituteInPlace src/cmake_install.cmake \
|
||||||
|
--replace ${fcitx} $out
|
||||||
|
'';
|
||||||
|
}
|
@ -1032,6 +1032,8 @@ let
|
|||||||
|
|
||||||
fcitx = callPackage ../tools/inputmethods/fcitx { };
|
fcitx = callPackage ../tools/inputmethods/fcitx { };
|
||||||
|
|
||||||
|
fcitx-anthy = callPackage ../tools/inputmethods/fcitx/fcitx-anthy.nix { };
|
||||||
|
|
||||||
fcron = callPackage ../tools/system/fcron { };
|
fcron = callPackage ../tools/system/fcron { };
|
||||||
|
|
||||||
fdm = callPackage ../tools/networking/fdm {};
|
fdm = callPackage ../tools/networking/fdm {};
|
||||||
|
Loading…
x
Reference in New Issue
Block a user