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

42 lines
1.2 KiB
Nix
Raw Normal View History

{ stdenv, fetchurl, pkgconfig, intltool, gtk, libxfce4util, libxfce4ui
, libwnck, exo, garcon, xfconf, libstartup_notification
, makeWrapper, xfce4mixer }:
stdenv.mkDerivation rec {
p_name = "xfce4-panel";
2015-03-12 22:46:47 +01:00
ver_maj = "4.12";
ver_min = "0";
src = fetchurl {
url = "mirror://xfce/src/xfce/${p_name}/${ver_maj}/${name}.tar.bz2";
2015-03-12 22:46:47 +01:00
sha256 = "1c4p3ckghvsad1sj5v8wmar5mh9cbhail9mmhad2f9pwwb10z4ih";
};
name = "${p_name}-${ver_maj}.${ver_min}";
patches = [ ./xfce4-panel-datadir.patch ];
patchFlags = "-p1";
buildInputs =
[ pkgconfig intltool gtk libxfce4util exo libwnck
garcon xfconf libstartup_notification makeWrapper
] ++ xfce4mixer.gst_plugins;
propagatedBuildInputs = [ libxfce4ui ];
postInstall = ''
wrapProgram "$out/bin/xfce4-panel" \
--prefix GST_PLUGIN_SYSTEM_PATH : "$GST_PLUGIN_SYSTEM_PATH"
'';
preFixup = "rm $out/share/icons/hicolor/icon-theme.cache";
enableParallelBuilding = true;
meta = {
homepage = http://www.xfce.org/projects/xfce4-panel;
description = "Xfce panel";
license = stdenv.lib.licenses.gpl2Plus;
platforms = stdenv.lib.platforms.linux;
maintainers = [ stdenv.lib.maintainers.eelco ];
};
}