2013-08-26 14:50:45 +02:00
|
|
|
|
{ stdenv, fetchurl, ncurses }:
|
|
|
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
2015-04-14 13:19:44 +02:00
|
|
|
|
name = "less-475";
|
2013-08-26 14:50:45 +02:00
|
|
|
|
|
2004-07-30 15:38:10 +02:00
|
|
|
|
src = fetchurl {
|
2014-09-23 11:26:04 +02:00
|
|
|
|
url = "http://www.greenwoodsoftware.com/less/${name}.tar.gz";
|
2015-05-06 19:19:54 +02:00
|
|
|
|
sha256 = "16703m6g5l97af3jwpypgac7gpmh3yjkdpqygf5a2scfip0hxm2g";
|
2013-08-26 14:50:45 +02:00
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
# Look for ‘sysless’ in /etc.
|
|
|
|
|
configureFlags = "--sysconfdir=/etc";
|
|
|
|
|
|
2015-04-14 13:19:44 +02:00
|
|
|
|
preConfigure = "chmod +x ./configure";
|
|
|
|
|
|
2013-08-26 14:50:45 +02:00
|
|
|
|
buildInputs = [ ncurses ];
|
|
|
|
|
|
|
|
|
|
meta = {
|
|
|
|
|
homepage = http://www.greenwoodsoftware.com/less/;
|
|
|
|
|
description = "A more advanced file pager than ‘more’";
|
2014-01-28 11:13:26 +01:00
|
|
|
|
platforms = stdenv.lib.platforms.linux ++ stdenv.lib.platforms.darwin;
|
2013-08-26 14:50:45 +02:00
|
|
|
|
maintainers = [ stdenv.lib.maintainers.eelco ];
|
2004-07-30 15:38:10 +02:00
|
|
|
|
};
|
|
|
|
|
}
|