about summary refs log tree commit diff
path: root/pkgs/applications/editors/nano/default.nix
blob: 62d5347d0ea7f4d5cec2190c4bd50df172c8bad1 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
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";
  };
})