1 { lib, stdenv, fetchurl, slang, ncurses }:
3 stdenv.mkDerivation rec {
8 url = "https://www.jedsoft.org/releases/${pname}/${pname}-${version}.tar.gz";
9 sha256 = "008537ns659pw2aag15imwjrxj73j26aqq90h285is6kz8gmv06v";
13 # Upstream patch to fix parallel build failure
17 outputs = [ "out" "doc" ];
20 "DOC_DIR=${placeholder "doc"}/share/doc/most"
24 sed -i -e "s|-ltermcap|-lncurses|" configure
25 sed -i autoconf/Makefile.in src/Makefile.in \
30 configureFlags = [ "--with-slang=${slang.dev}" ];
32 buildInputs = [ slang ncurses ];
34 enableParallelBuilding = true;
37 description = "A terminal pager similar to 'more' and 'less'";
39 MOST is a powerful paging program for Unix, VMS, MSDOS, and win32
40 systems. Unlike other well-known paging programs most supports multiple
41 windows and can scroll left and right. Why settle for less?
43 homepage = "https://www.jedsoft.org/most/index.html";
44 license = licenses.gpl2;
45 platforms = platforms.unix;