nixpkgs/pkgs/tools/misc/less/default.nix

23 lines
611 B
Nix
Raw Normal View History

{ stdenv, fetchurl, ncurses }:
stdenv.mkDerivation rec {
2014-12-18 04:15:44 -08:00
name = "less-471";
src = fetchurl {
2014-09-23 02:26:04 -07:00
url = "http://www.greenwoodsoftware.com/less/${name}.tar.gz";
2014-12-18 04:15:44 -08:00
sha256 = "1y17zfrn91fs71jry5gp9ibj7darglhr42krimw7hqsjkbx17xip";
};
# 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 02:13:26 -08:00
platforms = stdenv.lib.platforms.linux ++ stdenv.lib.platforms.darwin;
maintainers = [ stdenv.lib.maintainers.eelco ];
};
}