2013-02-21 12:16:51 +01:00
|
|
|
{ stdenv, fetchurl, pkgconfig, intltool, exo, gtk, libxfce4util, libxfce4ui
|
2015-03-12 22:46:47 +01:00
|
|
|
, libglade, xfconf, xorg, libwnck, libnotify, libxklavier, garcon, upower }:
|
2015-10-14 13:23:37 +02:00
|
|
|
let
|
2013-02-21 12:16:51 +01:00
|
|
|
p_name = "xfce4-settings";
|
2015-03-12 22:46:47 +01:00
|
|
|
ver_maj = "4.12";
|
2016-09-17 14:59:46 +02:00
|
|
|
ver_min = "1";
|
2015-10-14 13:23:37 +02:00
|
|
|
in
|
|
|
|
stdenv.mkDerivation rec {
|
|
|
|
name = "${p_name}-${ver_maj}.${ver_min}";
|
2013-02-21 12:16:51 +01:00
|
|
|
|
|
|
|
src = fetchurl {
|
|
|
|
url = "mirror://xfce/src/xfce/${p_name}/${ver_maj}/${name}.tar.bz2";
|
2016-09-17 14:59:46 +02:00
|
|
|
sha256 = "0x35i1cvkqp0hib1knwa58mckdwrfbhaisz4bsx6bbbx385llj7n";
|
2013-02-21 12:16:51 +01:00
|
|
|
};
|
2013-08-15 16:10:34 +02:00
|
|
|
|
|
|
|
patches = [ ./xfce4-settings-default-icon-theme.patch ];
|
|
|
|
|
2016-09-17 14:59:46 +02:00
|
|
|
nativeBuildInputs =
|
|
|
|
[ pkgconfig intltool
|
|
|
|
];
|
|
|
|
|
2013-02-21 12:16:51 +01:00
|
|
|
buildInputs =
|
2016-09-17 14:59:46 +02:00
|
|
|
[ exo gtk libxfce4util libxfce4ui libglade upower xfconf
|
|
|
|
xorg.libXi xorg.libXcursor libwnck libnotify libxklavier garcon
|
2015-10-14 13:23:37 +02:00
|
|
|
]; #TODO: optional packages
|
2013-08-15 16:10:34 +02:00
|
|
|
|
2015-10-14 13:23:37 +02:00
|
|
|
configureFlags = [ "--enable-pluggable-dialogs" "--enable-sound-settings" ];
|
2013-02-21 12:16:51 +01:00
|
|
|
|
2015-10-14 13:23:37 +02:00
|
|
|
meta = with stdenv.lib; {
|
2013-02-21 12:16:51 +01:00
|
|
|
homepage = http://www.xfce.org/projects/xfce4-settings;
|
|
|
|
description = "Settings manager for Xfce";
|
2015-10-14 13:23:37 +02:00
|
|
|
license = licenses.gpl2Plus;
|
|
|
|
platforms = platforms.linux;
|
|
|
|
maintainers = [ maintainers.eelco ];
|
2013-02-21 12:16:51 +01:00
|
|
|
};
|
|
|
|
}
|
2015-10-14 13:23:37 +02:00
|
|
|
|