2012-01-18 19:44:16 +00:00
|
|
|
{ stdenv, fetchurl, slang, ncurses }:
|
2010-04-30 10:21:18 +01:00
|
|
|
|
|
|
|
stdenv.mkDerivation {
|
2018-03-17 07:30:54 +00:00
|
|
|
name = "most-5.0.0a";
|
2010-04-30 10:21:18 +01:00
|
|
|
|
2010-04-30 17:05:55 +01:00
|
|
|
src = fetchurl {
|
2018-03-17 07:30:54 +00:00
|
|
|
url = ftp://space.mit.edu/pub/davis/most/most-5.0.0a.tar.bz2;
|
|
|
|
sha256 = "1aas904g8x48vsfh3wcr2k6mjzkm5808lfgl2qqhdfdnf4p5mjwl";
|
2010-04-30 17:05:55 +01:00
|
|
|
};
|
2010-04-30 10:21:18 +01:00
|
|
|
|
2010-04-30 17:05:55 +01:00
|
|
|
preConfigure = ''
|
2012-01-18 19:44:16 +00:00
|
|
|
sed -i -e "s|-ltermcap|-lncurses|" configure
|
2010-04-30 17:05:55 +01:00
|
|
|
sed -i autoconf/Makefile.in src/Makefile.in \
|
|
|
|
-e "s|/bin/cp|cp|" \
|
|
|
|
-e "s|/bin/rm|rm|"
|
|
|
|
'';
|
2017-07-30 08:18:12 +01:00
|
|
|
|
2016-04-16 18:46:45 +01:00
|
|
|
configureFlags = "--with-slang=${slang.dev}";
|
2010-04-30 10:21:18 +01:00
|
|
|
|
2012-01-18 19:44:16 +00:00
|
|
|
buildInputs = [ slang ncurses ];
|
2010-04-30 10:21:18 +01:00
|
|
|
|
2010-04-30 17:05:55 +01:00
|
|
|
meta = {
|
2014-08-24 15:21:08 +01:00
|
|
|
description = "A terminal pager similar to 'more' and 'less'";
|
|
|
|
longDescription = ''
|
2010-04-30 17:05:55 +01: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 05:19:00 +01:00
|
|
|
license = stdenv.lib.licenses.gpl2;
|
2017-07-30 08:18:12 +01:00
|
|
|
platforms = stdenv.lib.platforms.unix;
|
2010-04-30 17:05:55 +01:00
|
|
|
};
|
2010-04-30 10:21:18 +01:00
|
|
|
}
|