@@ -1,5 +1,5 @@
11{ stdenv, fetchurl, intltool, pkgconfig, cmake
2−, ncurses, m17n_lib, m17n_db
2+, ncurses, m17n_lib, m17n_db, expat
33, withAnthy ? true, anthy ? null
44, withGtk ? true
55, withGtk2 ? withGtk, gtk2 ? null
@@ -29,6 +29,7 @@ stdenv.mkDerivation rec {
2929 cmake
3030 m17n_lib
3131 m17n_db
32+ expat
3233 ]
3334 ++ optional withAnthy anthy
3435 ++ optional withGtk2 gtk2
@@ -45,6 +46,7 @@ stdenv.mkDerivation rec {
4546 "--with-skk"
4647 "--with-x"
4748 "--with-xft"
49+ "--with-expat=${expat.dev}"
4850 ]
4951 ++ optional withAnthy "--with-anthy-utf8"
5052 ++ optional withGtk2 "--with-gtk2"