2008-02-18 08:21:35 +00:00
|
|
|
args: with args;
|
|
|
|
stdenv.mkDerivation (rec {
|
|
|
|
pname = "nano";
|
|
|
|
version = "2.0.7";
|
|
|
|
|
|
|
|
name = "${pname}-${version}";
|
2004-10-06 14:17:06 +01:00
|
|
|
|
|
|
|
src = fetchurl {
|
2008-02-18 08:21:35 +00:00
|
|
|
url = "mirror://gnu/nano/${name}.tar.gz";
|
|
|
|
sha256 = "5dc783c412c4d1ff463c450d2a2f9e1ea53a43d9ba1dda92bbf5182f60db532f";
|
2004-10-06 14:17:06 +01:00
|
|
|
};
|
2006-08-30 01:14:13 +01:00
|
|
|
buildInputs = [ncurses gettext];
|
2008-02-18 08:21:35 +00:00
|
|
|
# configureFlags = "--enable-tiny";
|
|
|
|
configureFlags = "
|
|
|
|
--disable-browser
|
|
|
|
--disable-help
|
|
|
|
--disable-justify
|
|
|
|
--disable-mouse
|
|
|
|
--disable-operatingdir
|
|
|
|
--disable-speller
|
|
|
|
--disable-tabcomp
|
|
|
|
--disable-wrapping
|
|
|
|
";
|
2008-01-30 19:49:42 +00:00
|
|
|
|
|
|
|
meta = {
|
2008-02-18 14:59:48 +00:00
|
|
|
homepage = http://www.nano-editor.org/;
|
|
|
|
description = "A small, user-friendly console text editor";
|
2008-01-30 19:49:42 +00:00
|
|
|
};
|
2008-02-18 08:21:35 +00:00
|
|
|
})
|