2014-04-24 14:30:03 +01:00
|
|
|
{ stdenv, fetchurl, pkgconfig, glib, libX11, libXext, libXinerama }:
|
2013-07-17 17:02:53 +01:00
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
2014-04-24 14:30:03 +01:00
|
|
|
name = "herbstluftwm-0.6.2";
|
2013-07-17 17:02:53 +01:00
|
|
|
|
|
|
|
src = fetchurl {
|
|
|
|
url = "http://herbstluftwm.org/tarballs/${name}.tar.gz";
|
2014-04-24 14:30:03 +01:00
|
|
|
sha256 = "1b7h2zi0i9j17k1z62qw5zq7j9i8gv33pmcxnfiilzzfg8wmr7x8";
|
2013-07-17 17:02:53 +01:00
|
|
|
};
|
|
|
|
|
|
|
|
patchPhase = ''
|
2015-09-10 18:44:17 +01:00
|
|
|
substituteInPlace config.mk \
|
|
|
|
--replace "/usr/local" "$out" \
|
|
|
|
--replace "/etc" "$out/etc" \
|
|
|
|
--replace "/zsh/functions/Completion/X" "/zsh/site-functions"
|
2013-07-17 17:02:53 +01:00
|
|
|
'';
|
|
|
|
|
2014-04-24 14:30:03 +01:00
|
|
|
buildInputs = [ pkgconfig glib libX11 libXext libXinerama ];
|
2013-07-17 17:02:53 +01:00
|
|
|
|
|
|
|
meta = {
|
|
|
|
description = "A manual tiling window manager for X";
|
|
|
|
homepage = "http://herbstluftwm.org/";
|
2014-12-20 23:00:35 +00:00
|
|
|
license = stdenv.lib.licenses.bsd2;
|
2013-07-17 17:02:53 +01:00
|
|
|
platforms = stdenv.lib.platforms.linux;
|
|
|
|
};
|
|
|
|
}
|