kakasi: supports darwin

This commit is contained in:
Mario Rodas 2018-06-16 22:53:19 -05:00
parent 9aa1624e83
commit 764491f654

View File

@ -1,8 +1,10 @@
{ stdenv, fetchurl }:
{ stdenv, fetchurl, libiconv }:
stdenv.mkDerivation rec {
name = "kakasi-2.3.6";
buildInputs = stdenv.lib.optional stdenv.isDarwin [ libiconv ];
meta = with stdenv.lib; {
description = "Kanji Kana Simple Inverter";
longDescription = ''
@ -12,7 +14,7 @@ stdenv.mkDerivation rec {
'';
homepage = "http://kakasi.namazu.org/";
license = licenses.gpl2Plus;
platforms = platforms.linux;
platforms = platforms.unix;
};
src = fetchurl {