1 { lib, stdenv, fetchFromGitHub
2 , iconv, nkf, perl, which
10 src = fetchFromGitHub {
13 rev = "e0f6145f61e0b7058c3006f344e58571d9fdd83a";
14 sha256 = "00a6kdmxp16b8x0p04ws050y39qspd1bqlfq74bkirc55b77a2m1";
17 nativeBuildInputs = [ iconv nkf perl which ];
20 cp ${skkDictionaries.l}/share/skk/SKK-JISYO.L source/dict/
23 patches = [ ./no-http-tool-check.patch ];
25 makeFlags = [ "INSTALL=install" ];
27 buildFlags = [ (if stdenv.hostPlatform.isDarwin then "osx-all" else "gcc-all") ];
29 installTargets = [ (if stdenv.hostPlatform.isDarwin then "osx-install" else "gcc-install") ];
32 description = "Tool that supports Japanese incremental search with Romaji";
33 mainProgram = "cmigemo";
34 homepage = "https://www.kaoriya.net/software/cmigemo";
35 license = licenses.mit;
36 maintainers = [ maintainers.cohei ];
37 platforms = platforms.all;