uim: use system expat

This commit is contained in:
Jan Malakhovski 2017-12-05 11:44:30 +00:00
parent 2d6c56e457
commit 8c877804e3

View file

@ -1,5 +1,5 @@
{ stdenv, fetchurl, intltool, pkgconfig, cmake { stdenv, fetchurl, intltool, pkgconfig, cmake
, ncurses, m17n_lib, m17n_db , ncurses, m17n_lib, m17n_db, expat
, withAnthy ? true, anthy ? null , withAnthy ? true, anthy ? null
, withGtk ? true , withGtk ? true
, withGtk2 ? withGtk, gtk2 ? null , withGtk2 ? withGtk, gtk2 ? null
@ -29,6 +29,7 @@ stdenv.mkDerivation rec {
cmake cmake
m17n_lib m17n_lib
m17n_db m17n_db
expat
] ]
++ optional withAnthy anthy ++ optional withAnthy anthy
++ optional withGtk2 gtk2 ++ optional withGtk2 gtk2
@ -45,6 +46,7 @@ stdenv.mkDerivation rec {
"--with-skk" "--with-skk"
"--with-x" "--with-x"
"--with-xft" "--with-xft"
"--with-expat=${expat.dev}"
] ]
++ optional withAnthy "--with-anthy-utf8" ++ optional withAnthy "--with-anthy-utf8"
++ optional withGtk2 "--with-gtk2" ++ optional withGtk2 "--with-gtk2"