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