2014-04-29 12:40:19 +00:00
|
|
|
{ stdenv, fetchurl, pkgconfig, intltool, gtk, enableGtk3Support ? false, gtk3 }:
|
2011-08-22 22:51:23 +00:00
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
2013-02-21 11:16:51 +00:00
|
|
|
p_name = "gtk-xfce-engine";
|
|
|
|
ver_maj = "3.0";
|
|
|
|
ver_min = "1";
|
|
|
|
|
2011-08-22 22:51:23 +00:00
|
|
|
src = fetchurl {
|
2013-02-21 11:16:51 +00:00
|
|
|
url = "mirror://xfce/src/xfce/${p_name}/${ver_maj}/${name}.tar.bz2";
|
|
|
|
sha256 = "0vd0ly81540f9133abza56mlqqx1swp0j70ll8kf948sva0wy0zb";
|
2011-08-22 22:51:23 +00:00
|
|
|
};
|
2013-02-21 11:16:51 +00:00
|
|
|
name = "${p_name}-${ver_maj}.${ver_min}";
|
2011-08-22 22:51:23 +00:00
|
|
|
|
2013-02-21 11:16:51 +00:00
|
|
|
#TODO: gtk3
|
2014-04-29 12:40:19 +00:00
|
|
|
buildInputs = [ pkgconfig intltool gtk ] ++ stdenv.lib.optional enableGtk3Support gtk;
|
2011-08-22 22:51:23 +00:00
|
|
|
|
|
|
|
meta = {
|
|
|
|
homepage = http://www.xfce.org/;
|
|
|
|
description = "GTK+ theme engine for Xfce";
|
|
|
|
license = "GPLv2+";
|
2011-09-05 23:30:26 +00:00
|
|
|
platforms = stdenv.lib.platforms.linux;
|
|
|
|
maintainers = [ stdenv.lib.maintainers.eelco ];
|
2011-08-22 22:51:23 +00:00
|
|
|
};
|
|
|
|
}
|