nano: bump to 2.4.0
Also set license, platforms, and add myself as maintainer. Changes in this version include a fully functional undo system, vim-compatible file locking, linter support, formatter support, and improved highlighter flexibility.
This commit is contained in:
parent
a00e19ceb9
commit
1533a9aef5
@ -1,22 +1,22 @@
|
|||||||
{ stdenv, fetchurl, ncurses, gettext }:
|
{ stdenv, fetchurl, ncurses, gettext }:
|
||||||
|
|
||||||
stdenv.mkDerivation (rec {
|
stdenv.mkDerivation rec {
|
||||||
pname = "nano";
|
name = "nano-${version}";
|
||||||
version = "2.3.6";
|
version = "2.4.0";
|
||||||
|
|
||||||
name = "${pname}-${version}";
|
|
||||||
|
|
||||||
src = fetchurl {
|
src = fetchurl {
|
||||||
url = "mirror://gnu/nano/${name}.tar.gz";
|
url = "mirror://gnu/nano/${name}.tar.gz";
|
||||||
sha256 = "a74bf3f18b12c1c777ae737c0e463152439e381aba8720b4bc67449f36a09534";
|
sha256 = "1gbm9bcv4k55y01r5q8a8a9s3yrrgq3z5jxxiij3wl404r8gnxjh";
|
||||||
};
|
};
|
||||||
|
|
||||||
buildInputs = [ ncurses gettext ];
|
buildInputs = [ ncurses gettext ];
|
||||||
|
configureFlags = ''
|
||||||
|
--sysconfdir=/etc
|
||||||
|
'';
|
||||||
|
|
||||||
configureFlags = "sysconfdir=/etc";
|
meta = with stdenv.lib; {
|
||||||
|
|
||||||
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";
|
||||||
|
license = licenses.gpl3Plus;
|
||||||
|
maintainers = with maintainers; [ joachifm ];
|
||||||
|
platforms = platforms.all;
|
||||||
};
|
};
|
||||||
})
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user