nixpkgs/pkgs/desktops/lxde/core/lxappearance/default.nix

27 lines
838 B
Nix
Raw Normal View History

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