4523a86c92
svn path=/nixpkgs/trunk/; revision=20394
33 lines
1.1 KiB
Nix
33 lines
1.1 KiB
Nix
{stdenv, fetchurl, xz, cmake, gperf, imagemagick, pkgconfig, lua
|
|
, glib, cairo, pango, imlib2, libxcb, libxdg_basedir, xcbutil
|
|
, libstartup_notification, libev, asciidoc, xmlto, dbus, docbook_xsl
|
|
, docbook_xml_dtd_45, libxslt}:
|
|
|
|
stdenv.mkDerivation rec {
|
|
name = "awesome-3.4.4";
|
|
|
|
src = fetchurl {
|
|
url = http://awesome.naquadah.org/download/awesome-3.4.4.tar.xz;
|
|
sha256 = "1d1ida8mznn02pzj2kfh6m59mwrz8vk1cy66npgyfpzyrv8a558y";
|
|
};
|
|
|
|
buildInputs = [ xz cmake gperf imagemagick pkgconfig lua glib cairo pango
|
|
imlib2 libxcb libxdg_basedir xcbutil libstartup_notification libev
|
|
asciidoc xmlto dbus docbook_xsl docbook_xml_dtd_45 libxslt ];
|
|
|
|
# Somehow libev does not get into the rpath, although it should.
|
|
# Something may be wrong in the gcc wrapper.
|
|
preBuild = ''
|
|
export NIX_LDFLAGS_BEFORE="-lev";
|
|
'';
|
|
|
|
# Cmake fails strangely at finding lua. Looks to me like a cmake 2.8 error.
|
|
cmakeFlags = [ "-DLUA_LIBRARIES=${lua}/lib/liblua.a" ];
|
|
|
|
meta = {
|
|
homepage = http://awesome.naquadah.org/;
|
|
description = "Highly configurable, dynamic window manager for X";
|
|
license = "GPLv2+";
|
|
};
|
|
}
|