2009-11-04 23:38:26 +01:00
|
|
|
{stdenv, fetchurl, ncurses, pkgconfig, glib, libviper, libpseudo, gpm,
|
|
|
|
libvterm}:
|
2009-04-22 23:33:24 +02:00
|
|
|
|
2009-11-04 23:38:26 +01:00
|
|
|
stdenv.mkDerivation rec {
|
|
|
|
name = "vwm-2.1.3";
|
2009-04-22 23:33:24 +02:00
|
|
|
|
|
|
|
src = fetchurl {
|
2009-11-04 23:38:26 +01:00
|
|
|
url = "mirror://sourceforge/vwm/${name}.tar.gz";
|
|
|
|
sha256 = "1r5wiqyfqwnyx7dfihixlnavbvg8rni36i4gq169aisjcg7laxaf";
|
2009-04-22 23:33:24 +02:00
|
|
|
};
|
|
|
|
|
|
|
|
prePatch = ''
|
|
|
|
sed -i -e s@/usr/local@$out@ \
|
|
|
|
-e s@/usr/lib@$out/lib@ \
|
|
|
|
-e 's@tic vwmterm@tic -o '$out/lib/terminfo' vwmterm@' \
|
|
|
|
-e /ldconfig/d Makefile modules/*/Makefile vwm.h
|
|
|
|
'';
|
|
|
|
|
|
|
|
preInstall = ''
|
|
|
|
ensureDir $out/bin $out/include
|
|
|
|
'';
|
|
|
|
|
2009-11-04 23:38:26 +01:00
|
|
|
buildInputs = [ ncurses pkgconfig glib libviper libpseudo gpm libvterm ];
|
2009-04-22 23:33:24 +02:00
|
|
|
|
|
|
|
meta = {
|
|
|
|
homepage = http://vwm.sourceforge.net/;
|
|
|
|
description = "Dynamic window manager for the console";
|
|
|
|
license="GPLv2+";
|
2009-11-04 23:38:26 +01:00
|
|
|
maintainers = with stdenv.lib.maintainers; [viric];
|
|
|
|
platforms = with stdenv.lib.platforms; linux;
|
2009-04-22 23:33:24 +02:00
|
|
|
};
|
|
|
|
}
|