2017-06-09 22:57:39 +02:00
|
|
|
{ stdenv, fetchurl, intltool, pkgconfig, libX11, gtk2, withGtk3 ? false, gtk3 }:
|
2014-02-19 16:38:44 +01:00
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
2017-02-16 14:31:42 +01:00
|
|
|
name = "lxappearance-0.6.3";
|
2016-09-20 03:25:05 +02:00
|
|
|
|
2014-02-19 16:38:44 +01:00
|
|
|
src = fetchurl{
|
2016-02-28 13:07:42 +01:00
|
|
|
url = "mirror://sourceforge/project/lxde/LXAppearance/${name}.tar.xz";
|
2017-02-16 14:31:42 +01:00
|
|
|
sha256 = "0f4bjaamfxxdr9civvy55pa6vv9dx1hjs522gjbbgx7yp1cdh8kj";
|
2014-02-19 16:38:44 +01:00
|
|
|
};
|
2016-09-20 03:25:05 +02:00
|
|
|
|
|
|
|
nativeBuildInputs = [ pkgconfig intltool ];
|
|
|
|
|
2017-06-09 22:57:39 +02:00
|
|
|
buildInputs = [ libX11 (if withGtk3 then gtk3 else gtk2) ];
|
|
|
|
|
|
|
|
patches = [ ./lxappearance-0.6.3-xdg.system.data.dirs.patch ];
|
|
|
|
|
|
|
|
configureFlags = stdenv.lib.optional withGtk3 "--enable-gtk3";
|
2016-09-20 03:25:05 +02:00
|
|
|
|
2014-02-19 16:38:44 +01:00
|
|
|
meta = {
|
|
|
|
description = "A lightweight program for configuring the theme and fonts of gtk applications";
|
2017-08-01 22:03:30 +02:00
|
|
|
homepage = http://lxde.org/;
|
2014-02-19 16:38:44 +01:00
|
|
|
maintainers = [ stdenv.lib.maintainers.hinton ];
|
2017-09-22 16:24:29 +02:00
|
|
|
platforms = stdenv.lib.platforms.linux;
|
2014-02-19 16:38:44 +01:00
|
|
|
license = stdenv.lib.licenses.gpl2;
|
|
|
|
};
|
|
|
|
}
|