diff --git a/fcitx5/default.nix b/fcitx5/default.nix index 72ebd32..4ad50e5 100644 --- a/fcitx5/default.nix +++ b/fcitx5/default.nix @@ -6,7 +6,7 @@ in { i18n.inputMethod = { enabled = "fcitx5"; - fcitx5.addons = [ (pkgs.callPackage ./fcitx5-anthy.nix {}) ]; + fcitx5.addons = with pkgs; [ fcitx5-anthy ]; }; home.file = { diff --git a/fcitx5/fcitx5-anthy.nix b/fcitx5/fcitx5-anthy.nix deleted file mode 100644 index f797ab2..0000000 --- a/fcitx5/fcitx5-anthy.nix +++ /dev/null @@ -1,22 +0,0 @@ -{ lib, stdenv, fetchurl, cmake, extra-cmake-modules, pkg-config, fcitx5, anthy, gettext }: - -stdenv.mkDerivation rec { - pname = "fcitx5-anthy"; - version = "5.0.13"; - - src = fetchurl { - url = "https://download.fcitx-im.org/fcitx5/fcitx5-anthy/${pname}-${version}.tar.xz"; - sha256 = "EGpyYiNalm4En3Oa++hyOSPLhjbkVcDyZt3LqamfSOI="; - }; - - nativeBuildInputs = [ cmake extra-cmake-modules pkg-config ]; - buildInputs = [ fcitx5 anthy gettext ]; - - meta = with lib; { - description = "Anthy Wrapper for Fcitx5"; - homepage = "https://github.com/fcitx/fcitx5-anthy"; - license = licenses.gpl2Plus; - maintainers = with maintainers; [ elnudev ]; - platforms = platforms.linux; - }; -}