2010-07-28 15:55:54 +04:00
|
|
|
{ stdenv, fetchurl, ncurses, gettext }:
|
|
|
|
|
2008-02-18 11:21:35 +03:00
|
|
|
stdenv.mkDerivation (rec {
|
|
|
|
pname = "nano";
|
2012-11-23 19:40:37 +04:00
|
|
|
version = "2.2.6";
|
2008-02-18 11:21:35 +03:00
|
|
|
|
|
|
|
name = "${pname}-${version}";
|
2004-10-06 17:17:06 +04:00
|
|
|
|
|
|
|
src = fetchurl {
|
2008-02-18 11:21:35 +03:00
|
|
|
url = "mirror://gnu/nano/${name}.tar.gz";
|
2012-11-23 19:40:37 +04:00
|
|
|
sha256 = "0yp6pid67k8h7394spzw0067fl2r7rxm2b6kfccg87g8nlry2s5y";
|
2004-10-06 17:17:06 +04:00
|
|
|
};
|
2012-11-23 19:40:37 +04:00
|
|
|
|
2010-07-28 15:55:54 +04:00
|
|
|
buildInputs = [ ncurses gettext ];
|
2008-01-30 22:49:42 +03:00
|
|
|
|
|
|
|
meta = {
|
2008-02-18 17:59:48 +03:00
|
|
|
homepage = http://www.nano-editor.org/;
|
|
|
|
description = "A small, user-friendly console text editor";
|
2008-01-30 22:49:42 +03:00
|
|
|
};
|
2008-02-18 11:21:35 +03:00
|
|
|
})
|