mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-12-25 20:34:52 +03:00
add a decent pager
svn path=/nixpkgs/trunk/; revision=1202
This commit is contained in:
parent
705027be2d
commit
836511077d
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 New Issue
Block a user