2014-01-11 17:28:57 +01:00
|
|
|
{ fetchurl, stdenv, pkgconfig, gnome3, glib, dbus_glib, json_glib, upower
|
2014-01-26 00:20:49 +01:00
|
|
|
, libxslt, intltool, makeWrapper, systemd }:
|
2014-01-11 17:28:57 +01:00
|
|
|
|
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
|
|
|
name = "gnome-session-3.10.1";
|
|
|
|
|
|
|
|
src = fetchurl {
|
|
|
|
url = "mirror://gnome/sources/gnome-session/3.10/${name}.tar.xz";
|
|
|
|
sha256 = "1k59yss7r748nvr0cdjrqmx0zy26b93rfn66lsdg9fz60x77087n";
|
|
|
|
};
|
|
|
|
|
2014-01-26 00:20:49 +01:00
|
|
|
configureFlags = "--enable-systemd";
|
|
|
|
|
2014-01-11 17:28:57 +01:00
|
|
|
buildInputs = with gnome3;
|
|
|
|
[ pkgconfig glib gnome_desktop gtk dbus_glib json_glib libxslt
|
2014-04-05 15:51:42 +02:00
|
|
|
gnome3.gnome_settings_daemon
|
2014-01-26 00:20:49 +01:00
|
|
|
gsettings_desktop_schemas upower intltool gconf makeWrapper systemd ];
|
2014-01-11 17:28:57 +01:00
|
|
|
|
2014-04-05 15:51:42 +02:00
|
|
|
preFixup = ''
|
2014-01-11 17:28:57 +01:00
|
|
|
wrapProgram "$out/bin/gnome-session" \
|
|
|
|
--prefix GI_TYPELIB_PATH : "$GI_TYPELIB_PATH" \
|
2014-04-05 15:51:42 +02:00
|
|
|
--prefix XDG_DATA_DIRS : "$out/share:$GSETTINGS_SCHEMAS_PATH"
|
2014-01-11 17:28:57 +01:00
|
|
|
'';
|
|
|
|
|
|
|
|
meta = with stdenv.lib; {
|
|
|
|
platforms = platforms.linux;
|
|
|
|
};
|
|
|
|
|
|
|
|
}
|