nixpkgs/pkgs/desktops/gnome-2.28/platform/GConf/default.nix

18 lines
708 B
Nix
Raw Normal View History

{ stdenv, fetchurl, pkgconfig, dbus_glib, glib, gtk, ORBit2, libxml2
, expat, policykit, intltool, dbus_libs}:
stdenv.mkDerivation {
name = "GConf-2.28.0";
src = fetchurl {
url = mirror://gnome/sources/GConf/2.28/GConf-2.28.0.tar.bz2;
sha256 = "1j3ah0f71yv4di3fvv1aahcjvqfwsxw2m71ljbjq0apv5gzdqmyh";
};
preConfigure = ''
export NIX_CFLAGS_COMPILE="$NIX_CFLAGS_COMPILE -I${dbus_glib}/include/dbus-1.0 -I${policykit}/include/PolicyKit -I${glib}/include/glib-2.0 -I${glib}/lib/glib-2.0/include -I${dbus_libs}/include/dbus-1.0 -I${dbus_libs}/lib/dbus-1.0/include"
'';
buildInputs = [ pkgconfig glib gtk dbus_glib ORBit2 libxml2
expat policykit intltool dbus_libs];
}