2021-01-11 07:54:33 +00:00
|
|
|
{ lib, stdenv
|
2020-06-03 16:34:08 +01:00
|
|
|
, fetchurl
|
|
|
|
, intltool
|
|
|
|
, pkg-config
|
|
|
|
, libX11
|
|
|
|
, gtk2
|
|
|
|
, gtk3
|
2021-02-04 11:15:08 +00:00
|
|
|
, wrapGAppsHook
|
2020-06-03 16:34:08 +01:00
|
|
|
, withGtk3 ? true
|
|
|
|
}:
|
2014-02-19 15:38:44 +00:00
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
2021-02-08 05:14:47 +00:00
|
|
|
pname = "lxappearance";
|
|
|
|
version = "0.6.3";
|
2016-09-20 02:25:05 +01:00
|
|
|
|
2020-06-03 16:34:08 +01:00
|
|
|
src = fetchurl {
|
2021-02-08 05:14:47 +00:00
|
|
|
url = "mirror://sourceforge/project/lxde/LXAppearance/${pname}-${version}.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
|
|
|
|
2020-06-03 16:34:08 +01:00
|
|
|
nativeBuildInputs = [
|
|
|
|
pkg-config
|
|
|
|
intltool
|
2021-02-04 11:15:08 +00:00
|
|
|
wrapGAppsHook
|
2020-06-03 16:34:08 +01:00
|
|
|
];
|
2016-09-20 02:25:05 +01:00
|
|
|
|
2020-06-03 16:34:08 +01:00
|
|
|
buildInputs = [
|
|
|
|
libX11
|
|
|
|
(if withGtk3 then gtk3 else gtk2)
|
|
|
|
];
|
2017-06-09 21:57:39 +01:00
|
|
|
|
2020-06-03 16:34:08 +01:00
|
|
|
patches = [
|
|
|
|
./lxappearance-0.6.3-xdg.system.data.dirs.patch
|
|
|
|
];
|
2017-06-09 21:57:39 +01:00
|
|
|
|
2021-01-15 13:21:58 +00:00
|
|
|
configureFlags = lib.optional withGtk3 "--enable-gtk3";
|
2016-09-20 02:25:05 +01:00
|
|
|
|
2021-01-11 07:54:33 +00:00
|
|
|
meta = with lib; {
|
2020-06-03 16:34:08 +01:00
|
|
|
description = "Lightweight program for configuring the theme and fonts of gtk applications";
|
2020-04-01 02:11:51 +01:00
|
|
|
homepage = "https://lxde.org/";
|
2021-02-08 05:14:47 +00:00
|
|
|
license = licenses.gpl2Plus;
|
2020-06-03 16:34:08 +01:00
|
|
|
platforms = platforms.linux;
|
|
|
|
maintainers = with maintainers; [ hinton romildo ];
|
2014-02-19 15:38:44 +00:00
|
|
|
};
|
|
|
|
}
|