2012-01-18 23:44:16 +04:00
|
|
|
{ stdenv, fetchurl, slang, ncurses }:
|
2010-04-30 13:21:18 +04:00
|
|
|
|
|
|
|
stdenv.mkDerivation {
|
2010-04-30 20:05:55 +04:00
|
|
|
name = "most-5.0.0";
|
2010-04-30 13:21:18 +04:00
|
|
|
|
2010-04-30 20:05:55 +04:00
|
|
|
src = fetchurl {
|
2012-01-18 23:44:16 +04:00
|
|
|
url = ftp://space.mit.edu/pub/davis/most/most-5.0.0.tar.bz2;
|
|
|
|
sha256 = "1f5x7rvjg89b5klfqs1gb91jmbnd3fy08d8rwgdvgg0plqkxr7ja";
|
2010-04-30 20:05:55 +04:00
|
|
|
};
|
2010-04-30 13:21:18 +04:00
|
|
|
|
2010-04-30 20:05:55 +04:00
|
|
|
preConfigure = ''
|
2012-01-18 23:44:16 +04:00
|
|
|
sed -i -e "s|-ltermcap|-lncurses|" configure
|
2010-04-30 20:05:55 +04:00
|
|
|
sed -i autoconf/Makefile.in src/Makefile.in \
|
|
|
|
-e "s|/bin/cp|cp|" \
|
|
|
|
-e "s|/bin/rm|rm|"
|
|
|
|
'';
|
2012-01-18 23:44:16 +04:00
|
|
|
|
2010-04-30 20:05:55 +04:00
|
|
|
configureFlags = "--with-slang=${slang}";
|
2010-04-30 13:21:18 +04:00
|
|
|
|
2012-01-18 23:44:16 +04:00
|
|
|
buildInputs = [ slang ncurses ];
|
2010-04-30 13:21:18 +04:00
|
|
|
|
2010-04-30 20:05:55 +04:00
|
|
|
meta = {
|
2014-08-24 18:21:08 +04:00
|
|
|
description = "A terminal pager similar to 'more' and 'less'";
|
|
|
|
longDescription = ''
|
2010-04-30 20:05:55 +04:00
|
|
|
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;
|
2014-06-19 08:19:00 +04:00
|
|
|
license = stdenv.lib.licenses.gpl2;
|
2012-01-06 03:15:41 +04:00
|
|
|
platforms = stdenv.lib.platforms.gnu; # random choice
|
2010-04-30 20:05:55 +04:00
|
|
|
};
|
2010-04-30 13:21:18 +04:00
|
|
|
}
|