1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-11-30 01:20:40 +00:00
nixpkgs/pkgs/tools/misc/less/default.nix
2015-11-16 17:20:12 +01:00

25 lines
621 B
Nix
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

{ stdenv, fetchurl, ncurses }:
stdenv.mkDerivation rec {
name = "less-481";
src = fetchurl {
url = "http://www.greenwoodsoftware.com/less/${name}.tar.gz";
sha256 = "19fxj0h10y5bhr3a1xa7kqvnwl44db3sdypz8jxl1q79yln8z8rz";
};
# Look for sysless in /etc.
configureFlags = "--sysconfdir=/etc";
preConfigure = "chmod +x ./configure";
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 ];
};
}