summary refs log tree commit diff
path: root/pkgs/applications/editors/nano/default.nix
blob: 61cea68fa78dafd0ae15fb0702fe7ce5ef467532 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
{ stdenv, fetchurl, ncurses, gettext }:

stdenv.mkDerivation (rec {
  pname = "nano";
  version = "2.3.2";

  name = "${pname}-${version}";

  src = fetchurl {
    url = "mirror://gnu/nano/${name}.tar.gz";
    sha256 = "1s3b21h5p7r8xafw0gahswj16ai6k2vnjhmd15b491hl0x494c7z";
  };

  buildInputs = [ ncurses gettext ];

  configureFlags = "sysconfdir=/etc";

  meta = {
    homepage = http://www.nano-editor.org/;
    description = "A small, user-friendly console text editor";
  };
})