blob: 3dc93a0f3386a441e922aaecaa0f4a2ef33f8253 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
|
{ lib, stdenv
, fetchurl
, intltool
, pkg-config
, libX11
, gtk2
, gtk3
, wrapGAppsHook
, withGtk3 ? true
}:
stdenv.mkDerivation rec {
pname = "lxappearance";
version = "0.6.3";
src = fetchurl {
url = "mirror://sourceforge/project/lxde/LXAppearance/${pname}-${version}.tar.xz";
sha256 = "0f4bjaamfxxdr9civvy55pa6vv9dx1hjs522gjbbgx7yp1cdh8kj";
};
nativeBuildInputs = [
pkg-config
intltool
wrapGAppsHook
];
buildInputs = [
libX11
(if withGtk3 then gtk3 else gtk2)
];
patches = [
./lxappearance-0.6.3-xdg.system.data.dirs.patch
];
configureFlags = lib.optional withGtk3 "--enable-gtk3";
meta = with lib; {
description = "Lightweight program for configuring the theme and fonts of gtk applications";
mainProgram = "lxappearance";
homepage = "https://lxde.org/";
license = licenses.gpl2Plus;
platforms = platforms.linux;
maintainers = with maintainers; [ romildo ];
};
}
|