nixpkgs/pkgs/desktops/xfce/core/gtk-xfce-engine.nix

26 lines
771 B
Nix
Raw Normal View History

2016-05-03 19:18:23 +01:00
{ stdenv, fetchurl, pkgconfig, intltool, gtk, withGtk3 ? false, gtk3 }:
stdenv.mkDerivation rec {
p_name = "gtk-xfce-engine";
2016-05-03 19:14:50 +01:00
ver_maj = "3.2";
ver_min = "0";
src = fetchurl {
url = "mirror://xfce/src/xfce/${p_name}/${ver_maj}/${name}.tar.bz2";
2016-05-03 19:14:50 +01:00
sha256 = "1va71f3gpl8gikfkmqsd5ikgp7qj8b64jii2l98g1ylnv8xrqp47";
};
name = "${p_name}-${ver_maj}.${ver_min}";
2016-05-03 19:18:23 +01:00
buildInputs = [ pkgconfig intltool gtk ] ++ stdenv.lib.optional withGtk3 gtk3;
configureFlags = stdenv.lib.optional withGtk3 "--enable-gtk3";
meta = {
homepage = http://www.xfce.org/;
description = "GTK+ theme engine for Xfce";
license = stdenv.lib.licenses.gpl2Plus;
platforms = stdenv.lib.platforms.linux;
maintainers = [ stdenv.lib.maintainers.eelco ];
};
}