2013-08-26 13:50:45 +01:00
|
|
|
|
{ stdenv, fetchurl, ncurses }:
|
|
|
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
2014-10-08 18:58:52 +01:00
|
|
|
|
name = "less-470";
|
2013-08-26 13:50:45 +01:00
|
|
|
|
|
2004-07-30 14:38:10 +01:00
|
|
|
|
src = fetchurl {
|
2014-09-23 10:26:04 +01:00
|
|
|
|
url = "http://www.greenwoodsoftware.com/less/${name}.tar.gz";
|
2014-10-08 18:58:52 +01:00
|
|
|
|
sha256 = "1vw6bp9wkr2ymvhmf0ikrv8m1zm5ww78s48ny7ks0zjf2i8xr4gi";
|
2013-08-26 13:50:45 +01:00
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
# Look for ‘sysless’ in /etc.
|
|
|
|
|
configureFlags = "--sysconfdir=/etc";
|
|
|
|
|
|
|
|
|
|
buildInputs = [ ncurses ];
|
|
|
|
|
|
|
|
|
|
meta = {
|
|
|
|
|
homepage = http://www.greenwoodsoftware.com/less/;
|
|
|
|
|
description = "A more advanced file pager than ‘more’";
|
2014-01-28 10:13:26 +00:00
|
|
|
|
platforms = stdenv.lib.platforms.linux ++ stdenv.lib.platforms.darwin;
|
2013-08-26 13:50:45 +01:00
|
|
|
|
maintainers = [ stdenv.lib.maintainers.eelco ];
|
2004-07-30 14:38:10 +01:00
|
|
|
|
};
|
|
|
|
|
}
|