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 {
|
2016-04-28 17:09:41 +01:00
|
|
|
name = "herbstluftwm-0.7.0";
|
2013-07-17 17:02:53 +01:00
|
|
|
|
|
|
|
src = fetchurl {
|
2018-06-28 19:43:35 +01:00
|
|
|
url = "https://herbstluftwm.org/tarballs/${name}.tar.gz";
|
2016-04-28 17:09:41 +01:00
|
|
|
sha256 = "09xfs213vg1dpird61wik5bqb9yf8kh63ssy18ihf54inwqgqbvy";
|
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
|
|
|
'';
|
|
|
|
|
2017-09-05 22:26:13 +01:00
|
|
|
nativeBuildInputs = [ pkgconfig ];
|
|
|
|
buildInputs = [ glib libX11 libXext libXinerama ];
|
2013-07-17 17:02:53 +01:00
|
|
|
|
|
|
|
meta = {
|
|
|
|
description = "A manual tiling window manager for X";
|
2017-08-01 21:03:30 +01:00
|
|
|
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;
|
2016-04-28 17:09:41 +01:00
|
|
|
maintainers = with stdenv.lib.maintainers; [ the-kenny ];
|
2013-07-17 17:02:53 +01:00
|
|
|
};
|
|
|
|
}
|