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