Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)

libnotify: enable gobject introspection

+5 -12
+5 -12
pkgs/development/libraries/libnotify/default.nix
··· 1 - { stdenv, fetchurl, pkgconfig, automake, autoconf, libtool, glib, gdk_pixbuf }: 1 + { stdenv, fetchurl, pkgconfig, automake, autoconf, libtool 2 + , glib, gdk_pixbuf, gobjectIntrospection, autoreconfHook }: 2 3 3 4 stdenv.mkDerivation rec { 4 5 ver_maj = "0.7"; ··· 9 10 url = "mirror://gnome/sources/libnotify/${ver_maj}/${name}.tar.xz"; 10 11 sha256 = "0dyq8zgjnnzcah31axnx6afb21kl7bks1gvrg4hjh3nk02j1rxhf"; 11 12 }; 12 - src_m4 = fetchurl { 13 - url = "mirror://gentoo/distfiles/introspection-20110205.m4.tar.bz2"; 14 - sha256 = "1cnqh7aaji648nfd5537v7xaak8hgww3bpifhwam7bl0sc3ad523"; 15 - }; 16 13 17 14 # see Gentoo ebuild - we don't need to depend on gtk+(2/3) 18 - preConfigure = '' 19 - cd m4 20 - tar xvf ${src_m4} 21 - cd .. 22 - 15 + preAutoreconf = '' 23 16 sed -i -e 's:noinst_PROG:check_PROG:' tests/Makefile.am || die 24 17 sed -i -e '/PKG_CHECK_MODULES(TESTS/d' configure.ac || die 25 - AT_M4DIR=. autoreconf 26 18 ''; 27 19 28 - buildInputs = [ pkgconfig automake autoconf glib gdk_pixbuf ]; 20 + buildInputs = [ pkgconfig automake autoconf autoreconfHook 21 + libtool glib gdk_pixbuf gobjectIntrospection ]; 29 22 30 23 meta = { 31 24 homepage = http://galago-project.org/; # very obsolete but found no better