2014-04-24 13:30:03 +00:00
|
|
|
{ stdenv, fetchurl, pkgconfig, glib, libX11, libXext, libXinerama }:
|
2013-07-17 16:02:53 +00:00
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
2019-06-01 21:07:48 +00:00
|
|
|
name = "herbstluftwm-0.7.2";
|
2013-07-17 16:02:53 +00:00
|
|
|
|
|
|
|
src = fetchurl {
|
2018-06-28 18:43:35 +00:00
|
|
|
url = "https://herbstluftwm.org/tarballs/${name}.tar.gz";
|
2019-06-01 21:07:48 +00:00
|
|
|
sha256 = "1kc18aj9j3nfz6fj4qxg9s3gg4jvn6kzi3ii24hfm0vqdpy17xnz";
|
2013-07-17 16:02:53 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
patchPhase = ''
|
2015-09-10 17:44:17 +00:00
|
|
|
substituteInPlace config.mk \
|
|
|
|
--replace "/usr/local" "$out" \
|
|
|
|
--replace "/etc" "$out/etc" \
|
2018-08-29 09:30:30 +00:00
|
|
|
--replace "/zsh/functions/Completion/X" "/zsh/site-functions" \
|
|
|
|
--replace "/usr/share" "\$(PREFIX)/share"
|
2013-07-17 16:02:53 +00:00
|
|
|
'';
|
|
|
|
|
2017-09-05 21:26:13 +00:00
|
|
|
nativeBuildInputs = [ pkgconfig ];
|
|
|
|
buildInputs = [ glib libX11 libXext libXinerama ];
|
2013-07-17 16:02:53 +00:00
|
|
|
|
|
|
|
meta = {
|
|
|
|
description = "A manual tiling window manager for X";
|
2020-04-01 01:11:51 +00:00
|
|
|
homepage = "http://herbstluftwm.org/";
|
2014-12-20 23:00:35 +00:00
|
|
|
license = stdenv.lib.licenses.bsd2;
|
2013-07-17 16:02:53 +00:00
|
|
|
platforms = stdenv.lib.platforms.linux;
|
2016-04-28 16:09:41 +00:00
|
|
|
maintainers = with stdenv.lib.maintainers; [ the-kenny ];
|
2013-07-17 16:02:53 +00:00
|
|
|
};
|
|
|
|
}
|