Some checks failed
Periodic Merges (6h) / master → staging-nixos (push) Failing after 12m50s
Periodic Merges (6h) / master → staging-next (push) Failing after 12m54s
Periodic Merges (24h) / merge-base(master,staging) → haskell-updates (push) Failing after 11m54s
Periodic Merges (6h) / staging-next → staging (push) Failing after 12m13s
Periodic Merges (24h) / staging-next-25.05 → staging-25.05 (push) Failing after 13m24s
Periodic Merges (24h) / release-25.05 → staging-next-25.05 (push) Failing after 14m28s
51 lines
1.0 KiB
Nix
51 lines
1.0 KiB
Nix
{
|
|
lib,
|
|
stdenv,
|
|
fetchFromGitHub,
|
|
iconv,
|
|
nkf,
|
|
perl,
|
|
which,
|
|
skkDictionaries,
|
|
}:
|
|
|
|
stdenv.mkDerivation {
|
|
pname = "cmigemo";
|
|
version = "1.3e";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "koron";
|
|
repo = "cmigemo";
|
|
rev = "e0f6145f61e0b7058c3006f344e58571d9fdd83a";
|
|
sha256 = "00a6kdmxp16b8x0p04ws050y39qspd1bqlfq74bkirc55b77a2m1";
|
|
};
|
|
|
|
nativeBuildInputs = [
|
|
iconv
|
|
nkf
|
|
perl
|
|
which
|
|
];
|
|
|
|
postUnpack = ''
|
|
cp ${skkDictionaries.l}/share/skk/SKK-JISYO.L source/dict/
|
|
'';
|
|
|
|
patches = [ ./no-http-tool-check.patch ];
|
|
|
|
makeFlags = [ "INSTALL=install" ];
|
|
|
|
buildFlags = [ (if stdenv.hostPlatform.isDarwin then "osx-all" else "gcc-all") ];
|
|
|
|
installTargets = [ (if stdenv.hostPlatform.isDarwin then "osx-install" else "gcc-install") ];
|
|
|
|
meta = with lib; {
|
|
description = "Tool that supports Japanese incremental search with Romaji";
|
|
mainProgram = "cmigemo";
|
|
homepage = "https://www.kaoriya.net/software/cmigemo";
|
|
license = licenses.mit;
|
|
maintainers = [ maintainers.cohei ];
|
|
platforms = platforms.all;
|
|
};
|
|
}
|