3
0
Fork 0
forked from mirrors/nixpkgs
nixpkgs/pkgs/desktops/xfce4-13/xfce4-session/default.nix
2019-05-20 23:53:29 +00:00

29 lines
940 B
Nix

{ mkXfceDerivation, polkit, exo, libxfce4util, libxfce4ui, xfconf, dbus-glib, dbus, iceauth, gtk3, libwnck3, xorg }:
mkXfceDerivation rec {
category = "xfce";
pname = "xfce4-session";
version = "4.14pre1";
rev = "xfce-4.14pre1";
sha256 = "14bn3wn5qrciy2nbhbx634bz0d6lnxb135bx1qglcf35wn6f0hqk";
buildInputs = [ exo dbus-glib dbus gtk3 libxfce4ui libxfce4util libwnck3 xfconf polkit iceauth ];
configureFlags = [ "--with-xsession-prefix=$(out)" ];
NIX_CFLAGS_COMPILE = [ "-I${dbus-glib.dev}/include/dbus-1.0"
"-I${dbus.dev}/include/dbus-1.0"
"-I${dbus.lib}/lib/dbus-1.0/include"
];
postPatch = ''
substituteInPlace configure.ac.in --replace gio-2.0 gio-unix-2.0
substituteInPlace scripts/xflock4 --replace PATH=/bin:/usr/bin "PATH=\$PATH:$out/bin:${xorg.xset}/bin"
'';
meta = {
description = "Session manager for Xfce";
};
}