11 gobject-introspection,
18 stdenv.mkDerivation rec {
22 src = fetchFromGitHub {
26 hash = "sha256-xXed7mQqseefIldGjNsQf8n0YTcI9L9T1FkO/dhNR3g=";
30 NIX_CFLAGS_COMPILE = toString [
31 "-Wno-error=int-conversion"
36 # fix parse error in default.json
37 # https://github.com/ueno/libskk/pull/90
39 url = "https://github.com/ueno/libskk/commit/2382ebedc8dca88e745d223ad7badb8b73bbb0de.diff";
40 hash = "sha256-e1bKVteNjqmr40XI82Qar63LXPWYIfnUVlo5zQSkPNw=";
44 buildInputs = [ libxkbcommon ];
53 propagatedBuildInputs = [
58 configureScript = "./autogen.sh";
60 # link SKK-JISYO.L from skkdicts for the bundled tool `skk`
62 dictDir=$out/share/skk
64 ln -s ${skkDictionaries.l}/share/skk/SKK-JISYO.L $dictDir/
67 enableParallelBuilding = true;
70 description = "Library to deal with Japanese kana-to-kanji conversion method";
73 Libskk is a library that implements basic features of SKK including:
74 new word registration, completion, numeric conversion, abbrev mode, kuten input,
75 hankaku-katakana input, Lisp expression evaluation (concat only), and re-conversion.
76 It also supports various typing rules including: romaji-to-kana, AZIK, TUT-Code, and NICOLA,
77 as well as various dictionary types including: file dictionary (such as SKK-JISYO.[SML]),
78 user dictionary, skkserv, and CDB format dictionary.
80 homepage = "https://github.com/ueno/libskk";
81 license = lib.licenses.gpl3Plus;
82 maintainers = with lib.maintainers; [ yuriaisaka ];
83 platforms = lib.platforms.linux;