openbox: fix openbox-xdg-autostart

Also add more optional dependencies.
This commit is contained in:
Nikolay Amiantov 2017-02-16 11:05:11 +03:00
parent 3c0b1919e7
commit 434affb14d

View File

@ -1,5 +1,5 @@
{ stdenv, fetchurl, pkgconfig
, libxml2, libXinerama, libXcursor, libXau, libXrandr
{ stdenv, fetchurl, pkgconfig, python2
, libxml2, libXinerama, libXcursor, libXau, libXrandr, libICE, libSM
, imlib2, pango, libstartup_notification, makeWrapper }:
stdenv.mkDerivation rec {
@ -8,8 +8,13 @@ stdenv.mkDerivation rec {
buildInputs = [
pkgconfig libxml2
libXinerama libXcursor libXau libXrandr
libXinerama libXcursor libXau libXrandr libICE libSM
libstartup_notification makeWrapper
python2.pkgs.wrapPython
];
pythonPath = with python2.pkgs; [
pyxdg
];
propagatedBuildInputs = [
@ -35,7 +40,8 @@ stdenv.mkDerivation rec {
wrapProgram "$out/bin/openbox-session" --prefix XDG_DATA_DIRS : "$out/share"
wrapProgram "$out/bin/openbox-gnome-session" --prefix XDG_DATA_DIRS : "$out/share"
wrapProgram "$out/bin/openbox-kde-session" --prefix XDG_DATA_DIRS : "$out/share"
'';
wrapPythonPrograms
'';
meta = {
description = "X window manager for non-desktop embedded systems";