![Joachim Fasting](/assets/img/avatar_default.png)
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.
22 lines
600 B
Nix
22 lines
600 B
Nix
{ stdenv, fetchurl, ncurses, gettext }:
|
|
|
|
stdenv.mkDerivation rec {
|
|
name = "nano-${version}";
|
|
version = "2.4.0";
|
|
src = fetchurl {
|
|
url = "mirror://gnu/nano/${name}.tar.gz";
|
|
sha256 = "1gbm9bcv4k55y01r5q8a8a9s3yrrgq3z5jxxiij3wl404r8gnxjh";
|
|
};
|
|
buildInputs = [ ncurses gettext ];
|
|
configureFlags = ''
|
|
--sysconfdir=/etc
|
|
'';
|
|
|
|
meta = with stdenv.lib; {
|
|
homepage = http://www.nano-editor.org/;
|
|
description = "A small, user-friendly console text editor";
|
|
license = licenses.gpl3Plus;
|
|
maintainers = with maintainers; [ joachifm ];
|
|
platforms = platforms.all;
|
|
};
|
|
}
|