1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-12-18 02:46:28 +00:00
nixpkgs/pkgs/applications/window-managers/herbstluftwm/default.nix
Moritz Ulrich 3e03b921a1 Herbstluftwm: Fix zsh completion.
Files where installed in the wrong directory. This commit also replaces
sed with substituteInPlace.
2015-09-10 19:44:17 +02:00

27 lines
751 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 = ''
substituteInPlace config.mk \
--replace "/usr/local" "$out" \
--replace "/etc" "$out/etc" \
--replace "/zsh/functions/Completion/X" "/zsh/site-functions"
'';
buildInputs = [ pkgconfig glib libX11 libXext libXinerama ];
meta = {
description = "A manual tiling window manager for X";
homepage = "http://herbstluftwm.org/";
license = stdenv.lib.licenses.bsd2;
platforms = stdenv.lib.platforms.linux;
};
}