2021-01-18 22:50:56 -08:00
|
|
|
{lib, stdenv, fetchurl, ncurses, pkg-config, glib, libviper, libpseudo, gpm,
|
2009-11-04 14:38:26 -08:00
|
|
|
libvterm}:
|
2009-04-22 14:33:24 -07:00
|
|
|
|
2009-11-04 14:38:26 -08:00
|
|
|
stdenv.mkDerivation rec {
|
|
|
|
name = "vwm-2.1.3";
|
2009-04-22 14:33:24 -07:00
|
|
|
|
|
|
|
src = fetchurl {
|
2009-11-04 14:38:26 -08:00
|
|
|
url = "mirror://sourceforge/vwm/${name}.tar.gz";
|
|
|
|
sha256 = "1r5wiqyfqwnyx7dfihixlnavbvg8rni36i4gq169aisjcg7laxaf";
|
2009-04-22 14:33:24 -07: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 = ''
|
2012-01-18 12:16:00 -08:00
|
|
|
mkdir -p $out/bin $out/include
|
2009-04-22 14:33:24 -07:00
|
|
|
'';
|
|
|
|
|
2021-01-18 22:50:56 -08:00
|
|
|
nativeBuildInputs = [ pkg-config ];
|
2017-09-05 14:26:13 -07:00
|
|
|
buildInputs = [ ncurses glib libviper libpseudo gpm libvterm ];
|
2009-04-22 14:33:24 -07:00
|
|
|
|
2021-01-10 23:54:33 -08:00
|
|
|
meta = with lib; {
|
2020-03-31 18:11:51 -07:00
|
|
|
homepage = "http://vwm.sourceforge.net/";
|
2009-04-22 14:33:24 -07:00
|
|
|
description = "Dynamic window manager for the console";
|
2015-05-28 10:20:29 -07:00
|
|
|
license = licenses.gpl2Plus;
|
2018-07-22 12:50:19 -07:00
|
|
|
maintainers = with maintainers; [ ];
|
2015-11-17 12:29:29 -08:00
|
|
|
platforms = platforms.linux;
|
2009-04-22 14:33:24 -07:00
|
|
|
};
|
|
|
|
}
|