emacs, vim, nano ... Nix is af.
svn path=/nixpkgs/trunk/; revision=1545
This commit is contained in:
parent
77d3911dbd
commit
6c0032f7d4
4
pkgs/applications/editors/nano/builder.sh
Normal file
4
pkgs/applications/editors/nano/builder.sh
Normal file
@ -0,0 +1,4 @@
|
|||||||
|
. $stdenv/setup
|
||||||
|
|
||||||
|
export CFLAGS="$CFLAGS -I$ncurses/include/ncurses"
|
||||||
|
genericBuild
|
13
pkgs/applications/editors/nano/default.nix
Normal file
13
pkgs/applications/editors/nano/default.nix
Normal file
@ -0,0 +1,13 @@
|
|||||||
|
{stdenv, fetchurl, ncurses}:
|
||||||
|
|
||||||
|
stdenv.mkDerivation {
|
||||||
|
name = "nano-1.2.4";
|
||||||
|
builder = ./builder.sh;
|
||||||
|
src = fetchurl {
|
||||||
|
url = http://www.nano-editor.org/dist/v1.2/nano-1.2.4.tar.gz;
|
||||||
|
md5 = "2c513310ec5e8b63abaecaf48670ac7a";
|
||||||
|
};
|
||||||
|
|
||||||
|
inherit ncurses;
|
||||||
|
buildInputs = [ncurses];
|
||||||
|
}
|
@ -872,6 +872,10 @@ rec {
|
|||||||
inherit fetchurl stdenv;
|
inherit fetchurl stdenv;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
nano = (import ../applications/editors/nano) {
|
||||||
|
inherit fetchurl stdenv ncurses;
|
||||||
|
};
|
||||||
|
|
||||||
vim = (import ../applications/editors/vim) {
|
vim = (import ../applications/editors/vim) {
|
||||||
inherit fetchurl stdenv ncurses;
|
inherit fetchurl stdenv ncurses;
|
||||||
};
|
};
|
||||||
|
Loading…
x
Reference in New Issue
Block a user