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|"
|
|
|
|
'';
|
2017-07-30 09:18:12 +02:00
|
|
|
|
2016-04-16 19:46:45 +02:00
|
|
|
configureFlags = "--with-slang=${slang.dev}";
|
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 = {
|
2014-08-24 16:21:08 +02:00
|
|
|
description = "A terminal pager similar to 'more' and 'less'";
|
|
|
|
longDescription = ''
|
2010-04-30 18:05:55 +02: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 06:19:00 +02:00
|
|
|
license = stdenv.lib.licenses.gpl2;
|
2017-07-30 09:18:12 +02:00
|
|
|
platforms = stdenv.lib.platforms.unix;
|
2010-04-30 18:05:55 +02:00
|
|
|
};
|
2010-04-30 11:21:18 +02:00
|
|
|
}
|