Merge pull request #64516 from xrelkd/update/most
most: 5.0.0a -> 5.1.0
This commit is contained in:
commit
618be7de8c
@ -1,13 +1,20 @@
|
|||||||
{ stdenv, fetchurl, slang, ncurses }:
|
{ stdenv, fetchurl, slang, ncurses }:
|
||||||
|
|
||||||
stdenv.mkDerivation {
|
stdenv.mkDerivation rec {
|
||||||
name = "most-5.0.0a";
|
pname = "most";
|
||||||
|
version = "5.1.0";
|
||||||
|
|
||||||
src = fetchurl {
|
src = fetchurl {
|
||||||
url = ftp://space.mit.edu/pub/davis/most/most-5.0.0a.tar.bz2;
|
url = "https://www.jedsoft.org/releases/${pname}/${pname}-${version}.tar.gz";
|
||||||
sha256 = "1aas904g8x48vsfh3wcr2k6mjzkm5808lfgl2qqhdfdnf4p5mjwl";
|
sha256 = "008537ns659pw2aag15imwjrxj73j26aqq90h285is6kz8gmv06v";
|
||||||
};
|
};
|
||||||
|
|
||||||
|
outputs = [ "out" "doc" ];
|
||||||
|
|
||||||
|
makeFlags = [
|
||||||
|
"DOC_DIR=${placeholder ''doc''}/share/doc/most"
|
||||||
|
];
|
||||||
|
|
||||||
preConfigure = ''
|
preConfigure = ''
|
||||||
sed -i -e "s|-ltermcap|-lncurses|" configure
|
sed -i -e "s|-ltermcap|-lncurses|" configure
|
||||||
sed -i autoconf/Makefile.in src/Makefile.in \
|
sed -i autoconf/Makefile.in src/Makefile.in \
|
||||||
@ -19,15 +26,15 @@ stdenv.mkDerivation {
|
|||||||
|
|
||||||
buildInputs = [ slang ncurses ];
|
buildInputs = [ slang ncurses ];
|
||||||
|
|
||||||
meta = {
|
meta = with stdenv.lib; {
|
||||||
description = "A terminal pager similar to 'more' and 'less'";
|
description = "A terminal pager similar to 'more' and 'less'";
|
||||||
longDescription = ''
|
longDescription = ''
|
||||||
MOST is a powerful paging program for Unix, VMS, MSDOS, and win32
|
MOST is a powerful paging program for Unix, VMS, MSDOS, and win32
|
||||||
systems. Unlike other well-known paging programs most supports multiple
|
systems. Unlike other well-known paging programs most supports multiple
|
||||||
windows and can scroll left and right. Why settle for less?
|
windows and can scroll left and right. Why settle for less?
|
||||||
'';
|
'';
|
||||||
homepage = http://www.jedsoft.org/most/index.html;
|
homepage = "https://www.jedsoft.org/most/index.html";
|
||||||
license = stdenv.lib.licenses.gpl2;
|
license = licenses.gpl2;
|
||||||
platforms = stdenv.lib.platforms.unix;
|
platforms = platforms.unix;
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user