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 12:15:44 +00:00
name = "less-471";
src = fetchurl {
2014-09-23 10:26:04 +01:00
url = "http://www.greenwoodsoftware.com/less/${name}.tar.gz";
2014-12-18 12:15:44 +00: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 10:13:26 +00:00
platforms = stdenv.lib.platforms.linux ++ stdenv.lib.platforms.darwin;
maintainers = [ stdenv.lib.maintainers.eelco ];
};
}