3
0
Fork 0
forked from mirrors/nixpkgs
nixpkgs/pkgs/applications/window-managers/herbstluftwm/default.nix

30 lines
889 B
Nix
Raw Normal View History

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 {
name = "herbstluftwm-0.7.2";
2013-07-17 17:02:53 +01:00
src = fetchurl {
url = "https://herbstluftwm.org/tarballs/${name}.tar.gz";
sha256 = "1kc18aj9j3nfz6fj4qxg9s3gg4jvn6kzi3ii24hfm0vqdpy17xnz";
2013-07-17 17:02:53 +01:00
};
patchPhase = ''
substituteInPlace config.mk \
--replace "/usr/local" "$out" \
--replace "/etc" "$out/etc" \
2018-08-29 10:30:30 +01:00
--replace "/zsh/functions/Completion/X" "/zsh/site-functions" \
--replace "/usr/share" "\$(PREFIX)/share"
2013-07-17 17:02:53 +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";
homepage = http://herbstluftwm.org/;
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
};
}