update to version 2.0.7, removed --enable-tiny because it breaks the user interface when the terminal where nano is running is resized

all featues disabled by --enable-tiny are still disabled

svn path=/nixpkgs/trunk/; revision=10719
This commit is contained in:
Tobias Hammerschmidt 2008-02-18 08:21:35 +00:00
parent 93c4507257
commit f724e92f0f

View File

@ -1,15 +1,28 @@
{stdenv, fetchurl, ncurses, gettext}:
args: with args;
stdenv.mkDerivation (rec {
pname = "nano";
version = "2.0.7";
name = "${pname}-${version}";
stdenv.mkDerivation {
name = "nano-2.0.6";
src = fetchurl {
url = mirror://gnu/nano/nano-2.0.6.tar.gz;
sha256 = "0p2xfs4jzj7dvp208qdrxij7x8gbwxgnrdm7zafgpbbg1bvxh40d";
url = "mirror://gnu/nano/${name}.tar.gz";
sha256 = "5dc783c412c4d1ff463c450d2a2f9e1ea53a43d9ba1dda92bbf5182f60db532f";
};
buildInputs = [ncurses gettext];
configureFlags = "--enable-tiny";
# configureFlags = "--enable-tiny";
configureFlags = "
--disable-browser
--disable-help
--disable-justify
--disable-mouse
--disable-operatingdir
--disable-speller
--disable-tabcomp
--disable-wrapping
";
meta = {
homepage = http://www.nano-editor.org;
};
}
})