{ fetchurl, stdenv, pkgconfig, gnome3, glib, dbus_glib, json_glib, upower , libxslt, intltool, makeWrapper, systemd }: stdenv.mkDerivation rec { name = "gnome-session-3.10.1"; src = fetchurl { url = "mirror://gnome/sources/gnome-session/3.10/${name}.tar.xz"; sha256 = "1k59yss7r748nvr0cdjrqmx0zy26b93rfn66lsdg9fz60x77087n"; }; configureFlags = "--enable-systemd"; buildInputs = with gnome3; [ pkgconfig glib gnome_desktop gtk dbus_glib json_glib libxslt gsettings_desktop_schemas upower intltool gconf makeWrapper systemd ]; postInstall = '' wrapProgram "$out/bin/gnome-session" \ --prefix GI_TYPELIB_PATH : "$GI_TYPELIB_PATH" \ --prefix XDG_DATA_DIRS : "${gnome3.gsettings_desktop_schemas}/share:$out/share" ''; meta = with stdenv.lib; { platforms = platforms.linux; }; }