1 { lib, stdenv, fetchFromGitHub, pkg-config, gdbm, glib }:
3 # Note (2017-10-24, yuriaisaka):
4 # - Version 1.3.3 dates from Jul. 19, 2013.
5 # - The latest commit to the github repo dates from Mar. 05, 2017
6 # - The repo since appears to have become a kitchen sink place to keep
7 # misc tools to handle SKK dictionaries, and these tools have runtime
8 # dependencies on a Ruby interpreter etc.
9 # - We for the moment do not package them to keep the dependencies slim.
10 # Probably, shall package the newer tools as skktools-extra in the future.
11 stdenv.mkDerivation rec {
14 src = fetchFromGitHub {
17 rev = "skktools-${lib.replaceStrings ["."] ["_"] version}";
18 sha256 = "1zway8jsm18279xq8zlpr84iqiw373x3v0ysay74n9bjqxbl234a";
20 # # See "12.2. Package naming"
21 # name = "skktools-unstable-${version}";
22 # version = "2017-03-05";
23 # src = fetchFromGitHub {
26 # rev = "e14d98e734d2fdff611385c7df65826e94d929db";
27 # sha256 = "1k9zxqybl1l5h0a8px2awc920qrdyp1qls50h3kfrj3g65d08aq2";
30 nativeBuildInputs = [ pkg-config ];
31 buildInputs = [ gdbm glib ];
34 description = "Collection of tools to edit SKK dictionaries";
36 This package provides a collection of tools to manipulate
37 (merge, sort etc.) the dictionaries formatted for SKK Japanese
40 homepage = "https://github.com/skk-dev/skktools";
41 license = lib.licenses.gpl2Plus;
42 maintainers = with lib.maintainers; [ yuriaisaka ];
43 platforms = with lib.platforms; linux ++ darwin;