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