skk-dicts-unstable: enable to build on mac

This commit is contained in:
TANIGUCHI Kohei 2020-09-08 16:33:03 +09:00
parent 9b3bc6b46e
commit ce1985159d

View File

@ -1,4 +1,4 @@
{ stdenv, fetchurl, skktools }:
{ stdenv, fetchurl, libiconv, skktools }:
let
# kana to kanji
@ -31,7 +31,7 @@ stdenv.mkDerivation {
pname = "skk-dicts-unstable";
version = "2017-10-26";
srcs = [ small medium large edict assoc ];
nativeBuildInputs = [ skktools ];
nativeBuildInputs = [ skktools ] ++ stdenv.lib.optional stdenv.isDarwin libiconv;
phases = [ "installPhase" ];
installPhase = ''
@ -68,6 +68,6 @@ stdenv.mkDerivation {
homepage = "https://github.com/skk-dev/dict";
license = stdenv.lib.licenses.gpl2Plus;
maintainers = with stdenv.lib.maintainers; [ yuriaisaka ];
platforms = with stdenv.lib.platforms; linux;
platforms = with stdenv.lib.platforms; linux ++ darwin;
};
}