nixpkgs mirror (for testing) github.com/NixOS/nixpkgs
nix
at netboot-syslinux-multiplatform 45 lines 1.7 kB view raw
1{ lib, stdenv, fetchFromGitHub, pkg-config, gdbm, glib }: 2 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. 11stdenv.mkDerivation rec { 12 pname = "skktools"; 13 version = "1.3.4"; 14 src = fetchFromGitHub { 15 owner = "skk-dev"; 16 repo = "skktools"; 17 rev = "skktools-${lib.replaceStrings ["."] ["_"] version}"; 18 sha256 = "1zway8jsm18279xq8zlpr84iqiw373x3v0ysay74n9bjqxbl234a"; 19 }; 20 # # See "12.2. Package naming" 21 # name = "skktools-unstable-${version}"; 22 # version = "2017-03-05"; 23 # src = fetchFromGitHub { 24 # owner = "skk-dev"; 25 # repo = "skktools"; 26 # rev = "e14d98e734d2fdff611385c7df65826e94d929db"; 27 # sha256 = "1k9zxqybl1l5h0a8px2awc920qrdyp1qls50h3kfrj3g65d08aq2"; 28 # }; 29 30 nativeBuildInputs = [ pkg-config ]; 31 buildInputs = [ gdbm glib ]; 32 33 meta = { 34 description = "A collection of tools to edit SKK dictionaries"; 35 longDescription = '' 36 This package provides a collection of tools to manipulate 37 (merge, sort etc.) the dictionaries formatted for SKK Japanese 38 input method. 39 ''; 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; 44 }; 45}