0f9f74f1d5
This is a fix for the current package source file http://www.greenwoodsoftware.com/less/less-483.tar.gz not being available anymore. We bump the less version back to 481, and adjust the source package hash accordingly. This is a (slight) downgrade from 483 as opposed to an upgrade since a) 481 is the current Recommended version by http://www.greenwoodsoftware.com/less/download.html b) Upstream is unreliable about keeping experimental versions around.
23 lines
659 B
Nix
23 lines
659 B
Nix
{ stdenv, fetchurl, ncurses, lessSecure ? false }:
|
||
|
||
stdenv.mkDerivation rec {
|
||
name = "less-481";
|
||
|
||
src = fetchurl {
|
||
url = "http://www.greenwoodsoftware.com/less/${name}.tar.gz";
|
||
sha256 = "19fxj0h10y5bhr3a1xa7kqvnwl44db3sdypz8jxl1q79yln8z8rz";
|
||
};
|
||
|
||
configureFlags = [ "--sysconfdir=/etc" ] # Look for ‘sysless’ in /etc.
|
||
++ stdenv.lib.optional lessSecure [ "--with-secure" ];
|
||
|
||
buildInputs = [ ncurses ];
|
||
|
||
meta = {
|
||
homepage = http://www.greenwoodsoftware.com/less/;
|
||
description = "A more advanced file pager than ‘more’";
|
||
platforms = stdenv.lib.platforms.unix;
|
||
maintainers = [ stdenv.lib.maintainers.eelco ];
|
||
};
|
||
}
|