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