diff options
author | Martin Bravenboer <martin.bravenboer@logicblox.com> | 2004-10-06 13:17:06 +0000 |
---|---|---|
committer | Martin Bravenboer <martin.bravenboer@logicblox.com> | 2004-10-06 13:17:06 +0000 |
commit | 6c0032f7d4c475764cd52d86effe17549494b6ff (patch) | |
tree | 9529e22292b9a11fe4d9be2b0f228f20ac6bb612 /pkgs | |
parent | 77d3911dbddff52d434fb85684f8dcb0be00c42b (diff) | |
download | nixpkgs-6c0032f7d4c475764cd52d86effe17549494b6ff.tar nixpkgs-6c0032f7d4c475764cd52d86effe17549494b6ff.tar.gz nixpkgs-6c0032f7d4c475764cd52d86effe17549494b6ff.tar.bz2 nixpkgs-6c0032f7d4c475764cd52d86effe17549494b6ff.tar.lz nixpkgs-6c0032f7d4c475764cd52d86effe17549494b6ff.tar.xz nixpkgs-6c0032f7d4c475764cd52d86effe17549494b6ff.tar.zst nixpkgs-6c0032f7d4c475764cd52d86effe17549494b6ff.zip |
emacs, vim, nano ... Nix is af.
svn path=/nixpkgs/trunk/; revision=1545
Diffstat (limited to 'pkgs')
-rw-r--r-- | pkgs/applications/editors/nano/builder.sh | 4 | ||||
-rw-r--r-- | pkgs/applications/editors/nano/default.nix | 13 | ||||
-rw-r--r-- | pkgs/system/all-packages-generic.nix | 4 |
3 files changed, 21 insertions, 0 deletions
diff --git a/pkgs/applications/editors/nano/builder.sh b/pkgs/applications/editors/nano/builder.sh new file mode 100644 index 00000000000..4e2b8c15b24 --- /dev/null +++ b/pkgs/applications/editors/nano/builder.sh @@ -0,0 +1,4 @@ +. $stdenv/setup + +export CFLAGS="$CFLAGS -I$ncurses/include/ncurses" +genericBuild diff --git a/pkgs/applications/editors/nano/default.nix b/pkgs/applications/editors/nano/default.nix new file mode 100644 index 00000000000..da63babb60e --- /dev/null +++ b/pkgs/applications/editors/nano/default.nix @@ -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]; +} diff --git a/pkgs/system/all-packages-generic.nix b/pkgs/system/all-packages-generic.nix index d3fc84c2d00..c1b141dff1f 100644 --- a/pkgs/system/all-packages-generic.nix +++ b/pkgs/system/all-packages-generic.nix @@ -872,6 +872,10 @@ rec { inherit fetchurl stdenv; }; + nano = (import ../applications/editors/nano) { + inherit fetchurl stdenv ncurses; + }; + vim = (import ../applications/editors/vim) { inherit fetchurl stdenv ncurses; }; |