nixpkgs/pkgs/desktops/xfce/core/xfce4-settings.nix

38 lines
1.1 KiB
Nix
Raw Normal View History

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