From b8c086008602dcac53875e89c8aa0e3b46a65d20 Mon Sep 17 00:00:00 2001 From: musjj <72612857+musjj@users.noreply.github.com> Date: Tue, 8 Oct 2024 22:06:16 +0700 Subject: [PATCH] mozc-ut: move to by-name --- pkgs/by-name/mo/mozc-ut/package.nix | 23 +++++++++++++++++++++++ pkgs/top-level/all-packages.nix | 11 ----------- 2 files changed, 23 insertions(+), 11 deletions(-) create mode 100644 pkgs/by-name/mo/mozc-ut/package.nix diff --git a/pkgs/by-name/mo/mozc-ut/package.nix b/pkgs/by-name/mo/mozc-ut/package.nix new file mode 100644 index 0000000000000..a758f1e8d6220 --- /dev/null +++ b/pkgs/by-name/mo/mozc-ut/package.nix @@ -0,0 +1,23 @@ +{ + mozc, + mozcdic-ut-alt-cannadic, + mozcdic-ut-edict2, + mozcdic-ut-jawiki, + mozcdic-ut-neologd, + mozcdic-ut-personal-names, + mozcdic-ut-place-names, + mozcdic-ut-skk-jisyo, + mozcdic-ut-sudachidict, +}: +mozc.override { + dictionaries = [ + mozcdic-ut-alt-cannadic + mozcdic-ut-edict2 + mozcdic-ut-jawiki + mozcdic-ut-neologd + mozcdic-ut-personal-names + mozcdic-ut-place-names + mozcdic-ut-skk-jisyo + mozcdic-ut-sudachidict + ]; +} diff --git a/pkgs/top-level/all-packages.nix b/pkgs/top-level/all-packages.nix index 147714e846fc3..5658fc2028a76 100644 --- a/pkgs/top-level/all-packages.nix +++ b/pkgs/top-level/all-packages.nix @@ -6467,17 +6467,6 @@ with pkgs; libskk = callPackage ../development/libraries/libskk { }; - mozc-ut = mozc.override { dictionaries = [ - mozcdic-ut-alt-cannadic - mozcdic-ut-edict2 - mozcdic-ut-jawiki - mozcdic-ut-neologd - mozcdic-ut-personal-names - mozcdic-ut-place-names - mozcdic-ut-skk-jisyo - mozcdic-ut-sudachidict - ]; }; - m17-cxx-demod = callPackage ../applications/radio/m17-cxx-demod { }; m17n_db = callPackage ../tools/inputmethods/m17n-db { };