1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-12-04 11:32:03 +00:00
nixpkgs/pkgs/development/libraries/libskk/default.nix
R. RyanTM bcebd1f8ef libskk: 1.0.3 -> 1.0.4 (#42997)
Semi-automatic update generated by https://github.com/ryantm/nixpkgs-update tools.

This update was made based on information from https://repology.org/metapackage/libskk/versions.

Version release notes (from GitHub):
 * Don't consume key release events [#52]
 * Improve hankaku katakana conversion [#51]
 * Use the same typing rule in dict-edit mode [#50]
 * Add `abort-to-latin` and `abort-to-latin-unhandled` command [#48]
 * Add more z-* shortcuts from DDSKK
 * Fix memory leak caused by Vala array conversion
 * Bump build requirements (glib >= 2.36, valadoc >= 0.40)

These checks were done:

- built on NixOS
- /nix/store/bdfn6ravpxm5qrgf8j9zfip4w98d76i9-libskk-1.0.4/bin/skk passed the binary check.
- 1 of 1 passed binary check by having a zero exit code.
- 0 of 1 passed binary check by having the new version present in output.
- found 1.0.4 with grep in /nix/store/bdfn6ravpxm5qrgf8j9zfip4w98d76i9-libskk-1.0.4
- directory tree listing: https://gist.github.com/5b1ab808d49b2ef79a30b2188305f5e4
- du listing: https://gist.github.com/3dc4ba1b5b8124a3ac41c17b89fb5260
2018-07-09 00:01:52 +02:00

50 lines
1.6 KiB
Nix

{ stdenv, fetchurl, fetchFromGitHub,
libtool, gettext, pkgconfig,
vala, gnome-common, gobjectIntrospection,
libgee, json-glib, skk-dicts }:
stdenv.mkDerivation rec {
name = "libskk-${version}";
version = "1.0.4";
src = fetchFromGitHub {
owner = "ueno";
repo = "libskk";
rev = version;
sha256 = "1yvyscr22rrh0jja1bz70jzwi5776jyw39pgbgrx00j79vsv7b51";
};
buildInputs = [ skk-dicts ];
nativeBuildInputs = [ vala gnome-common gobjectIntrospection libtool gettext pkgconfig ];
propagatedBuildInputs = [ libgee json-glib ];
preConfigure = ''
./autogen.sh
'';
# link SKK-JISYO.L from skkdicts for the bundled tool `skk`
preInstall = ''
dictDir=$out/share/skk
mkdir -p $dictDir
ln -s ${skk-dicts}/share/SKK-JISYO.L $dictDir/
'';
enableParallelBuilding = true;
meta = {
description = "A library to deal with Japanese kana-to-kanji conversion method";
longDescription = ''
Libskk is a library that implements basic features of SKK including:
new word registration, completion, numeric conversion, abbrev mode, kuten input,
hankaku-katakana input, Lisp expression evaluation (concat only), and re-conversion.
It also supports various typing rules including: romaji-to-kana, AZIK, TUT-Code, and NICOLA,
as well as various dictionary types including: file dictionary (such as SKK-JISYO.[SML]),
user dictionary, skkserv, and CDB format dictionary.
'';
homepage = https://github.com/ueno/libskk;
license = stdenv.lib.licenses.gpl3Plus;
maintainers = with stdenv.lib.maintainers; [ yuriaisaka ];
platforms = stdenv.lib.platforms.linux;
};
}