1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-11-23 22:20:51 +00:00
nixpkgs/pkgs/tools/misc/most/default.nix
Ryan Mulligan 68abbd6f2e most: 5.0.0 -> 5.0.0a
Semi-automatic update generated by https://github.com/ryantm/nix-update tools. These checks were done:

- built on NixOS
- ran `/nix/store/hl99dyzq83jifdjg00d4zcdxj3j6hqxy-most-5.0.0a/bin/most -h` got 0 exit code
- ran `/nix/store/hl99dyzq83jifdjg00d4zcdxj3j6hqxy-most-5.0.0a/bin/most help` got 0 exit code
- ran `/nix/store/hl99dyzq83jifdjg00d4zcdxj3j6hqxy-most-5.0.0a/bin/most -h` and found version 5.0.0a
- found 5.0.0a with grep in /nix/store/hl99dyzq83jifdjg00d4zcdxj3j6hqxy-most-5.0.0a
- directory tree listing: https://gist.github.com/c97521034492f9bccb53c5402a867290
2018-03-17 00:30:54 -07:00

34 lines
982 B
Nix

{ stdenv, fetchurl, slang, ncurses }:
stdenv.mkDerivation {
name = "most-5.0.0a";
src = fetchurl {
url = ftp://space.mit.edu/pub/davis/most/most-5.0.0a.tar.bz2;
sha256 = "1aas904g8x48vsfh3wcr2k6mjzkm5808lfgl2qqhdfdnf4p5mjwl";
};
preConfigure = ''
sed -i -e "s|-ltermcap|-lncurses|" configure
sed -i autoconf/Makefile.in src/Makefile.in \
-e "s|/bin/cp|cp|" \
-e "s|/bin/rm|rm|"
'';
configureFlags = "--with-slang=${slang.dev}";
buildInputs = [ slang ncurses ];
meta = {
description = "A terminal pager similar to 'more' and 'less'";
longDescription = ''
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;
license = stdenv.lib.licenses.gpl2;
platforms = stdenv.lib.platforms.unix;
};
}