2017-06-09 21:57:39 +01:00
|
|
|
{ stdenv, fetchurl, intltool, pkgconfig, libX11, gtk2, withGtk3 ? false, gtk3 }:
|
2014-02-19 15:38:44 +00:00
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
2017-02-16 13:31:42 +00:00
|
|
|
name = "lxappearance-0.6.3";
|
2016-09-20 02:25:05 +01:00
|
|
|
|
2014-02-19 15:38:44 +00:00
|
|
|
src = fetchurl{
|
2016-02-28 12:07:42 +00:00
|
|
|
url = "mirror://sourceforge/project/lxde/LXAppearance/${name}.tar.xz";
|
2017-02-16 13:31:42 +00:00
|
|
|
sha256 = "0f4bjaamfxxdr9civvy55pa6vv9dx1hjs522gjbbgx7yp1cdh8kj";
|
2014-02-19 15:38:44 +00:00
|
|
|
};
|
2016-09-20 02:25:05 +01:00
|
|
|
|
|
|
|
nativeBuildInputs = [ pkgconfig intltool ];
|
|
|
|
|
2017-06-09 21:57:39 +01: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 02:25:05 +01:00
|
|
|
|
2014-02-19 15:38:44 +00:00
|
|
|
meta = {
|
|
|
|
description = "A lightweight program for configuring the theme and fonts of gtk applications";
|
2018-01-05 19:42:46 +00:00
|
|
|
homepage = https://lxde.org/;
|
2014-02-19 15:38:44 +00:00
|
|
|
maintainers = [ stdenv.lib.maintainers.hinton ];
|
2017-09-22 15:24:29 +01:00
|
|
|
platforms = stdenv.lib.platforms.linux;
|
2014-02-19 15:38:44 +00:00
|
|
|
license = stdenv.lib.licenses.gpl2;
|
|
|
|
};
|
|
|
|
}
|