nixpkgs-suyu/pkgs/applications/window-managers/herbstluftwm/default.nix
2014-04-24 21:30:03 +08:00

25 lines
683 B
Nix

{ stdenv, fetchurl, pkgconfig, glib, libX11, libXext, libXinerama }:
stdenv.mkDerivation rec {
name = "herbstluftwm-0.6.2";
src = fetchurl {
url = "http://herbstluftwm.org/tarballs/${name}.tar.gz";
sha256 = "1b7h2zi0i9j17k1z62qw5zq7j9i8gv33pmcxnfiilzzfg8wmr7x8";
};
patchPhase = ''
sed -i -e "s:/usr/local:$\{out}:" \
-e "s:/etc:$\{out}/etc:" \
config.mk
'';
buildInputs = [ pkgconfig glib libX11 libXext libXinerama ];
meta = {
description = "A manual tiling window manager for X";
homepage = "http://herbstluftwm.org/";
license = "BSD"; # Simplified BSD License
platforms = stdenv.lib.platforms.linux;
};
}