goocanvas_2: support gobjectIntrospection

This commit is contained in:
Florian Klink 2018-04-23 20:37:03 +02:00
parent d0b24f28fa
commit 8647df2fb6

View File

@ -13,11 +13,13 @@ in stdenv.mkDerivation rec {
}; };
nativeBuildInputs = [ pkgconfig gettext gtk-doc python2 ]; nativeBuildInputs = [ pkgconfig gettext gtk-doc python2 ];
buildInputs = [ gtk3 cairo glib ]; buildInputs = [ gtk3 cairo glib gobjectIntrospection ];
configureFlags = [ configureFlags = [
"--disable-python" "--disable-python"
]; ];
PKG_CONFIG_GOBJECT_INTROSPECTION_1_0_GIRDIR = "$(dev)/share/gir-1.0";
PKG_CONFIG_GOBJECT_INTROSPECTION_1_0_TYPELIBDIR = "$(out)/lib/girepository-1.0";
meta = with stdenv.lib; { meta = with stdenv.lib; {
description = "Canvas widget for GTK+ based on the the Cairo 2D library"; description = "Canvas widget for GTK+ based on the the Cairo 2D library";