mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-16 06:45:16 +01:00
add a decent pager
svn path=/nixpkgs/trunk/; revision=1202
This commit is contained in:
parent
705027be2d
commit
836511077d
4 changed files with 22 additions and 0 deletions
3
pkgs/applications/pagers/less/builder.sh
Normal file
3
pkgs/applications/pagers/less/builder.sh
Normal file
|
@ -0,0 +1,3 @@
|
|||
. $stdenv/setup
|
||||
|
||||
genericBuild
|
14
pkgs/applications/pagers/less/default.nix
Normal file
14
pkgs/applications/pagers/less/default.nix
Normal file
|
@ -0,0 +1,14 @@
|
|||
{stdenv, fetchurl, ncurses}:
|
||||
|
||||
stdenv.mkDerivation {
|
||||
name = "less-382";
|
||||
|
||||
builder = ./builder.sh;
|
||||
src = fetchurl {
|
||||
url = ftp://ftp.nluug.nl/pub/gnu/less/less-382.tar.gz;
|
||||
md5 = "103fe4aef6297b93f0f73f38cc3b1bd7";
|
||||
};
|
||||
|
||||
buildInputs = [ncurses];
|
||||
|
||||
}
|
|
@ -650,6 +650,10 @@ rec {
|
|||
inherit fetchurl stdenv ncurses;
|
||||
};
|
||||
|
||||
less = (import ../applications/pagers/less) {
|
||||
inherit fetchurl stdenv ncurses;
|
||||
};
|
||||
|
||||
### GAMES
|
||||
|
||||
zoom = (import ../games/zoom) {
|
||||
|
|
|
@ -60,6 +60,7 @@ let {
|
|||
ocaml
|
||||
hevea
|
||||
vim
|
||||
less
|
||||
;};
|
||||
|
||||
|
||||
|
|
Loading…
Reference in a new issue