nixpkgs-suyu/pkgs/applications/editors/nano/default.nix
Eelco Dolstra 148f8d2c21 nano: Update to 2.2.6
Also enable all features that were disabled (mouse support!).  This
adds a whopping 48 KB to the binary.
2012-11-23 16:41:42 +01:00

20 lines
446 B
Nix

{ stdenv, fetchurl, ncurses, gettext }:
stdenv.mkDerivation (rec {
pname = "nano";
version = "2.2.6";
name = "${pname}-${version}";
src = fetchurl {
url = "mirror://gnu/nano/${name}.tar.gz";
sha256 = "0yp6pid67k8h7394spzw0067fl2r7rxm2b6kfccg87g8nlry2s5y";
};
buildInputs = [ ncurses gettext ];
meta = {
homepage = http://www.nano-editor.org/;
description = "A small, user-friendly console text editor";
};
})