about summary refs log tree commit diff
diff options
context:
space:
mode:
authorLuca Bruno <lucabru@src.gnome.org>2014-04-13 17:19:56 +0200
committerLuca Bruno <lucabru@src.gnome.org>2014-04-14 09:58:04 +0200
commitdd23d9a5a7d4bad9bdcccc5eeccd03bba4d2cdcb (patch)
treef2829fc4871816b1f3eec8c18998232084b875a6
parentc6383af311edacfb837be33ae00413b017bf52a9 (diff)
downloadnixlib-dd23d9a5a7d4bad9bdcccc5eeccd03bba4d2cdcb.tar
nixlib-dd23d9a5a7d4bad9bdcccc5eeccd03bba4d2cdcb.tar.gz
nixlib-dd23d9a5a7d4bad9bdcccc5eeccd03bba4d2cdcb.tar.bz2
nixlib-dd23d9a5a7d4bad9bdcccc5eeccd03bba4d2cdcb.tar.lz
nixlib-dd23d9a5a7d4bad9bdcccc5eeccd03bba4d2cdcb.tar.xz
nixlib-dd23d9a5a7d4bad9bdcccc5eeccd03bba4d2cdcb.tar.zst
nixlib-dd23d9a5a7d4bad9bdcccc5eeccd03bba4d2cdcb.zip
libnotify: enable gobject introspection
-rw-r--r--pkgs/development/libraries/libnotify/default.nix17
1 files changed, 5 insertions, 12 deletions
diff --git a/pkgs/development/libraries/libnotify/default.nix b/pkgs/development/libraries/libnotify/default.nix
index 00308bf9471a..2b82fe2a4bc5 100644
--- a/pkgs/development/libraries/libnotify/default.nix
+++ b/pkgs/development/libraries/libnotify/default.nix
@@ -1,4 +1,5 @@
-{ stdenv, fetchurl, pkgconfig, automake, autoconf, libtool, glib, gdk_pixbuf }:
+{ stdenv, fetchurl, pkgconfig, automake, autoconf, libtool
+, glib, gdk_pixbuf, gobjectIntrospection, autoreconfHook }:
 
 stdenv.mkDerivation rec {
   ver_maj = "0.7";
@@ -9,23 +10,15 @@ stdenv.mkDerivation rec {
     url = "mirror://gnome/sources/libnotify/${ver_maj}/${name}.tar.xz";
     sha256 = "0dyq8zgjnnzcah31axnx6afb21kl7bks1gvrg4hjh3nk02j1rxhf";
   };
-  src_m4 = fetchurl {
-    url = "mirror://gentoo/distfiles/introspection-20110205.m4.tar.bz2";
-    sha256 = "1cnqh7aaji648nfd5537v7xaak8hgww3bpifhwam7bl0sc3ad523";
-  };
 
   # see Gentoo ebuild - we don't need to depend on gtk+(2/3)
-  preConfigure = ''
-    cd m4
-    tar xvf ${src_m4}
-    cd ..
-
+  preAutoreconf = ''
     sed -i -e 's:noinst_PROG:check_PROG:' tests/Makefile.am || die
     sed -i -e '/PKG_CHECK_MODULES(TESTS/d' configure.ac || die
-    AT_M4DIR=. autoreconf
   '';
 
-  buildInputs = [ pkgconfig automake autoconf glib gdk_pixbuf ];
+  buildInputs = [ pkgconfig automake autoconf autoreconfHook
+                  libtool glib gdk_pixbuf gobjectIntrospection ];
 
   meta = {
     homepage = http://galago-project.org/; # very obsolete but found no better