diff options
author | Yuri Aisaka <yuriaisaka@users.noreply.github.com> | 2017-10-28 20:23:42 +0900 |
---|---|---|
committer | Joachim F <joachifm@users.noreply.github.com> | 2017-10-28 11:23:42 +0000 |
commit | ad1bf413911d732b0677188bb77808ce0d7fe6f4 (patch) | |
tree | fd041a2da7428f87deae8109206b40df26adb239 /pkgs/tools/inputmethods/skk | |
parent | 722fdbe0807264527d141510caa9e25883332cee (diff) | |
download | nixpkgs-ad1bf413911d732b0677188bb77808ce0d7fe6f4.tar nixpkgs-ad1bf413911d732b0677188bb77808ce0d7fe6f4.tar.gz nixpkgs-ad1bf413911d732b0677188bb77808ce0d7fe6f4.tar.bz2 nixpkgs-ad1bf413911d732b0677188bb77808ce0d7fe6f4.tar.lz nixpkgs-ad1bf413911d732b0677188bb77808ce0d7fe6f4.tar.xz nixpkgs-ad1bf413911d732b0677188bb77808ce0d7fe6f4.tar.zst nixpkgs-ad1bf413911d732b0677188bb77808ce0d7fe6f4.zip |
skktools: init at 1.3.3 (#30778)
Diffstat (limited to 'pkgs/tools/inputmethods/skk')
-rw-r--r-- | pkgs/tools/inputmethods/skk/skktools/default.nix | 45 |
1 files changed, 45 insertions, 0 deletions
diff --git a/pkgs/tools/inputmethods/skk/skktools/default.nix b/pkgs/tools/inputmethods/skk/skktools/default.nix new file mode 100644 index 00000000000..8661da66b92 --- /dev/null +++ b/pkgs/tools/inputmethods/skk/skktools/default.nix @@ -0,0 +1,45 @@ +{ stdenv, fetchFromGitHub, pkgconfig, gdbm, glib }: + +# Note (2017-10-24, yuriaisaka): +# - Version 1.3.3 dates from Jul. 19, 2013. +# - The latest commit to the github repo dates from Mar. 05, 2017 +# - The repo since appears to have become a kitchen sink place to keep +# misc tools to handle SKK dictionaries, and these tools have runtime +# dependencies on a Ruby interpreter etc. +# - We for the moment do not package them to keep the dependencies slim. +# Probably, shall package the newer tools as skktools-extra in the future. +stdenv.mkDerivation rec { + name = "skktools-${version}"; + version = "1.3.3"; + src = fetchFromGitHub { + owner = "skk-dev"; + repo = "skktools"; + rev = "c8816fe720604d4fd79f3552e99e0430ca6f2769"; + sha256 = "11v1i5gkxvfsipigc1w1m16ijzh85drpl694kg6ih4jfam1q4vdh"; + }; + # # See "12.2. Package naming" + # name = "skktools-unstable-${version}"; + # version = "2017-03-05"; + # src = fetchFromGitHub { + # owner = "skk-dev"; + # repo = "skktools"; + # rev = "e14d98e734d2fdff611385c7df65826e94d929db"; + # sha256 = "1k9zxqybl1l5h0a8px2awc920qrdyp1qls50h3kfrj3g65d08aq2"; + # }; + + nativeBuildInputs = [ pkgconfig ]; + buildInputs = [ gdbm glib ]; + + meta = { + description = "A collection of tools to edit SKK dictionaries"; + longDescription = '' + This package provides a collection of tools to manipulate + (merge, sort etc.) the dictionaries formatted for SKK Japanese + input method. + ''; + homepage = https://github.com/skk-dev/skktools; + license = stdenv.lib.licenses.gpl2Plus; + maintainers = with stdenv.lib.maintainers; [ yuriaisaka ]; + platforms = with stdenv.lib.platforms; linux ++ darwin; + }; +} |