nano: Update to 2.2.6
Also enable all features that were disabled (mouse support!). This adds a whopping 48 KB to the binary.
This commit is contained in:
parent
9ba89899d5
commit
148f8d2c21
@ -2,28 +2,17 @@
|
|||||||
|
|
||||||
stdenv.mkDerivation (rec {
|
stdenv.mkDerivation (rec {
|
||||||
pname = "nano";
|
pname = "nano";
|
||||||
version = "2.2.3";
|
version = "2.2.6";
|
||||||
|
|
||||||
name = "${pname}-${version}";
|
name = "${pname}-${version}";
|
||||||
|
|
||||||
src = fetchurl {
|
src = fetchurl {
|
||||||
url = "mirror://gnu/nano/${name}.tar.gz";
|
url = "mirror://gnu/nano/${name}.tar.gz";
|
||||||
sha256 = "1vpl993xrpj8bqi1ayga8fc0j2jag90xp6rqakzwm3bxw71hmwi2";
|
sha256 = "0yp6pid67k8h7394spzw0067fl2r7rxm2b6kfccg87g8nlry2s5y";
|
||||||
};
|
};
|
||||||
|
|
||||||
buildInputs = [ ncurses gettext ];
|
buildInputs = [ ncurses gettext ];
|
||||||
|
|
||||||
configureFlags = ''
|
|
||||||
--disable-browser
|
|
||||||
--disable-help
|
|
||||||
--disable-justify
|
|
||||||
--disable-mouse
|
|
||||||
--disable-operatingdir
|
|
||||||
--disable-speller
|
|
||||||
--disable-tabcomp
|
|
||||||
--disable-wrapping
|
|
||||||
'';
|
|
||||||
|
|
||||||
meta = {
|
meta = {
|
||||||
homepage = http://www.nano-editor.org/;
|
homepage = http://www.nano-editor.org/;
|
||||||
description = "A small, user-friendly console text editor";
|
description = "A small, user-friendly console text editor";
|
||||||
|
Loading…
x
Reference in New Issue
Block a user