nixpkgs/pkgs/applications/window-managers/herbstluftwm/default.nix

28 lines
813 B
Nix
Raw Normal View History

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 {
2016-04-28 16:09:41 +00:00
name = "herbstluftwm-0.7.0";
2013-07-17 16:02:53 +00:00
src = fetchurl {
url = "http://herbstluftwm.org/tarballs/${name}.tar.gz";
2016-04-28 16:09:41 +00:00
sha256 = "09xfs213vg1dpird61wik5bqb9yf8kh63ssy18ihf54inwqgqbvy";
2013-07-17 16:02:53 +00:00
};
patchPhase = ''
substituteInPlace config.mk \
--replace "/usr/local" "$out" \
--replace "/etc" "$out/etc" \
--replace "/zsh/functions/Completion/X" "/zsh/site-functions"
2013-07-17 16:02:53 +00:00
'';
2014-04-24 13:30:03 +00:00
buildInputs = [ pkgconfig glib libX11 libXext libXinerama ];
2013-07-17 16:02:53 +00:00
meta = {
description = "A manual tiling window manager for X";
homepage = "http://herbstluftwm.org/";
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
};
}