mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-23 07:23:20 +00:00
skk-dicts-unstable: enable to build on mac
This commit is contained in:
parent
9b3bc6b46e
commit
ce1985159d
@ -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;
|
||||
};
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user