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