Some checks failed
Periodic Merges (6h) / master → staging-nixos (push) Failing after 12m50s
Periodic Merges (6h) / master → staging-next (push) Failing after 12m54s
Periodic Merges (24h) / merge-base(master,staging) → haskell-updates (push) Failing after 11m54s
Periodic Merges (6h) / staging-next → staging (push) Failing after 12m13s
Periodic Merges (24h) / staging-next-25.05 → staging-25.05 (push) Failing after 13m24s
Periodic Merges (24h) / release-25.05 → staging-next-25.05 (push) Failing after 14m28s
61 lines
1.1 KiB
Nix
61 lines
1.1 KiB
Nix
{
|
|
lib,
|
|
stdenv,
|
|
fetchFromGitHub,
|
|
autoreconfHook,
|
|
intltool,
|
|
pkg-config,
|
|
libX11,
|
|
gtk2,
|
|
gtk3,
|
|
libxslt,
|
|
docbook_xsl,
|
|
wrapGAppsHook3,
|
|
withGtk3 ? true,
|
|
}:
|
|
|
|
stdenv.mkDerivation (finalAttrs: {
|
|
pname = "lxappearance";
|
|
version = "0.6.4";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "lxde";
|
|
repo = "lxappearance";
|
|
tag = finalAttrs.version;
|
|
hash = "sha256-t5P3JYGZzhTaJ3s23r6yrAQoFcCV5uteHh67sWY1KrI=";
|
|
};
|
|
|
|
enableParallelBuilding = true;
|
|
|
|
nativeBuildInputs = [
|
|
pkg-config
|
|
intltool
|
|
wrapGAppsHook3
|
|
autoreconfHook
|
|
libxslt
|
|
docbook_xsl
|
|
];
|
|
|
|
buildInputs = [
|
|
libX11
|
|
(if withGtk3 then gtk3 else gtk2)
|
|
];
|
|
|
|
patches = [
|
|
./lxappearance-0.6.3-xdg.system.data.dirs.patch
|
|
];
|
|
|
|
env.XSLTPROC = lib.getExe' libxslt "xsltproc";
|
|
|
|
configureFlags = lib.optional withGtk3 "--enable-gtk3";
|
|
|
|
meta = {
|
|
description = "Lightweight program for configuring the theme and fonts of gtk applications";
|
|
mainProgram = "lxappearance";
|
|
homepage = "https://lxde.org/";
|
|
license = lib.licenses.gpl2Plus;
|
|
platforms = lib.platforms.linux;
|
|
maintainers = with lib.maintainers; [ romildo ];
|
|
};
|
|
})
|