2009-11-04 00:26:14 +01:00
|
|
|
{ stdenv, fetchurl, pkgconfig, dbus_glib, glib, ORBit2, libxml2
|
2012-03-08 23:45:25 +01:00
|
|
|
, polkit, intltool, dbus_libs, gtk }:
|
2009-09-30 07:27:34 +02:00
|
|
|
|
|
|
|
stdenv.mkDerivation {
|
2012-03-08 23:45:22 +01:00
|
|
|
name = "GConf-2.32.4";
|
2012-01-06 01:55:14 +01:00
|
|
|
|
2009-09-30 07:27:34 +02:00
|
|
|
src = fetchurl {
|
2012-03-08 23:45:22 +01:00
|
|
|
url = mirror://gnome/sources/GConf/2.32/GConf-2.32.4.tar.xz;
|
|
|
|
sha256 = "09ch709cb9fniwc4221xgkq0jf0x0lxs814sqig8p2dcll0llvzk";
|
2009-09-30 07:27:34 +02:00
|
|
|
};
|
2009-09-30 08:50:32 +02:00
|
|
|
|
2013-07-03 16:21:46 +02:00
|
|
|
buildInputs = [ ORBit2 dbus_libs dbus_glib libxml2 gtk ]
|
|
|
|
# polkit requires pam, which requires shadow.h, which is not available on
|
|
|
|
# darwin
|
|
|
|
++ stdenv.lib.optional (!stdenv.isDarwin) polkit;
|
|
|
|
|
2009-11-04 00:26:14 +01:00
|
|
|
propagatedBuildInputs = [ glib ];
|
2012-03-08 23:45:25 +01:00
|
|
|
|
2012-12-28 19:20:09 +01:00
|
|
|
nativeBuildInputs = [ pkgconfig intltool ];
|
2012-03-08 23:45:25 +01:00
|
|
|
|
2013-07-03 16:21:46 +02:00
|
|
|
configureFlags = [ "--with-gtk=2.0" ]
|
|
|
|
# fixes the "libgconfbackend-oldxml.so is not portable" error on darwin
|
|
|
|
++ stdenv.lib.optional stdenv.isDarwin [ "--enable-static" ];
|
2009-09-30 07:27:34 +02:00
|
|
|
}
|