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