nano: 2.5.0 -> 2.5.3

Also move build-time dependencies to nativeBuildInputs
This commit is contained in:
Joachim Fasting 2016-03-07 19:34:44 +01:00
parent 8291ea61b0
commit d43578b599

View File

@ -12,12 +12,13 @@ with stdenv.lib;
stdenv.mkDerivation rec {
name = "nano-${version}";
version = "2.5.0";
version = "2.5.3";
src = fetchurl {
url = "mirror://gnu/nano/${name}.tar.gz";
sha256 = "1vl9bim56k1b4zwc3icxp46w6pn6gb042j1h4jlz1jklxxpkwcpz";
sha256 = "1vhjrcydcfxqq1719vcsvqqnbjbq2523m00dhzag5vwzkc961c5j";
};
buildInputs = [ ncurses texinfo ] ++ optional enableNls gettext;
nativeBuildInputs = [ texinfo ] ++ optional enableNls gettext;
buildInputs = [ ncurses ];
outputs = [ "out" "info" ];
configureFlags = ''
--sysconfdir=/etc