2012-01-18 20:44:16 +01:00
|
|
|
{ stdenv, fetchurl, slang, ncurses }:
|
2010-04-30 11:21:18 +02:00
|
|
|
|
|
|
|
stdenv.mkDerivation {
|
2010-04-30 18:05:55 +02:00
|
|
|
name = "most-5.0.0";
|
2010-04-30 11:21:18 +02:00
|
|
|
|
2010-04-30 18:05:55 +02:00
|
|
|
src = fetchurl {
|
2012-01-18 20:44:16 +01:00
|
|
|
url = ftp://space.mit.edu/pub/davis/most/most-5.0.0.tar.bz2;
|
|
|
|
sha256 = "1f5x7rvjg89b5klfqs1gb91jmbnd3fy08d8rwgdvgg0plqkxr7ja";
|
2010-04-30 18:05:55 +02:00
|
|
|
};
|
2010-04-30 11:21:18 +02:00
|
|
|
|
2010-04-30 18:05:55 +02:00
|
|
|
preConfigure = ''
|
2012-01-18 20:44:16 +01:00
|
|
|
sed -i -e "s|-ltermcap|-lncurses|" configure
|
2010-04-30 18:05:55 +02:00
|
|
|
sed -i autoconf/Makefile.in src/Makefile.in \
|
|
|
|
-e "s|/bin/cp|cp|" \
|
|
|
|
-e "s|/bin/rm|rm|"
|
|
|
|
'';
|
2012-01-18 20:44:16 +01:00
|
|
|
|
2010-04-30 18:05:55 +02:00
|
|
|
configureFlags = "--with-slang=${slang}";
|
2010-04-30 11:21:18 +02:00
|
|
|
|
2012-01-18 20:44:16 +01:00
|
|
|
buildInputs = [ slang ncurses ];
|
2010-04-30 11:21:18 +02:00
|
|
|
|
2010-04-30 18:05:55 +02:00
|
|
|
meta = {
|
|
|
|
description = ''
|
|
|
|
MOST is a powerful paging program for Unix, VMS, MSDOS, and win32
|
|
|
|
systems. Unlike other well-known paging programs most supports multiple
|
|
|
|
windows and can scroll left and right. Why settle for less?
|
|
|
|
'';
|
|
|
|
homepage = http://www.jedsoft.org/most/index.html;
|
2010-04-30 18:06:01 +02:00
|
|
|
license = "GPLv2";
|
2012-01-06 00:15:41 +01:00
|
|
|
platforms = stdenv.lib.platforms.gnu; # random choice
|
2010-04-30 18:05:55 +02:00
|
|
|
};
|
2010-04-30 11:21:18 +02:00
|
|
|
}
|