From 5d1cf55dc1c5e429f821d11e2b6e3c35276886bf Mon Sep 17 00:00:00 2001 From: Armijn Hemel Date: Fri, 30 Jul 2004 12:57:27 +0000 Subject: [PATCH] add vim svn path=/nixpkgs/trunk/; revision=1200 --- pkgs/applications/editors/vim/builder.sh | 3 +++ pkgs/applications/editors/vim/default.nix | 14 ++++++++++++++ pkgs/system/all-packages-generic.nix | 3 +++ pkgs/system/populate-cache.nix | 1 + 4 files changed, 21 insertions(+) create mode 100644 pkgs/applications/editors/vim/builder.sh create mode 100644 pkgs/applications/editors/vim/default.nix diff --git a/pkgs/applications/editors/vim/builder.sh b/pkgs/applications/editors/vim/builder.sh new file mode 100644 index 00000000000..d38440648e9 --- /dev/null +++ b/pkgs/applications/editors/vim/builder.sh @@ -0,0 +1,3 @@ +. $stdenv/setup + +genericBuild diff --git a/pkgs/applications/editors/vim/default.nix b/pkgs/applications/editors/vim/default.nix new file mode 100644 index 00000000000..519b582975d --- /dev/null +++ b/pkgs/applications/editors/vim/default.nix @@ -0,0 +1,14 @@ +{stdenv, fetchurl, ncurses}: + +stdenv.mkDerivation { + name = "vim-6.3.tar.bz2"; + + builder = ./builder.sh; + src = fetchurl { + url = ftp://ftp.vim.org/mirror/vim/unix/vim-6.3.tar.bz2; + md5 = "821fda8f14d674346b87e3ef9cb96389"; + }; + + inherit ncurses; + buildInputs = [ncurses]; +} diff --git a/pkgs/system/all-packages-generic.nix b/pkgs/system/all-packages-generic.nix index 61dd88ba7f6..0d421e8a0ce 100644 --- a/pkgs/system/all-packages-generic.nix +++ b/pkgs/system/all-packages-generic.nix @@ -646,6 +646,9 @@ rec { inherit fetchurl stdenv; }; + vim = (import ../applications/editors/vim) { + inherit fetchurl stdenv ncurses; + }; ### GAMES diff --git a/pkgs/system/populate-cache.nix b/pkgs/system/populate-cache.nix index 0970a87880f..4a12787c568 100644 --- a/pkgs/system/populate-cache.nix +++ b/pkgs/system/populate-cache.nix @@ -59,6 +59,7 @@ let { nix ocaml hevea + vim ;};