nixpkgs/pkgs/applications/editors/nano/default.nix
Armijn Hemel e0f50ecb39 update to 2.2.3
svn path=/nixpkgs/trunk/; revision=21008
2010-04-11 12:13:23 +00:00

30 lines
663 B
Nix

args: with args;
stdenv.mkDerivation (rec {
pname = "nano";
version = "2.2.3";
name = "${pname}-${version}";
src = fetchurl {
url = "mirror://gnu/nano/${name}.tar.gz";
sha256 = "1vpl993xrpj8bqi1ayga8fc0j2jag90xp6rqakzwm3bxw71hmwi2";
};
buildInputs = [ncurses gettext];
# 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/;
description = "A small, user-friendly console text editor";
};
})