ncurses 6.1: fix URL, accomodate captoinfo/infotocap along with tic

This commit is contained in:
Will Dietz 2018-02-20 14:30:20 -06:00
parent edf201583d
commit be6e6d2e04

View File

@ -15,7 +15,7 @@ stdenv.mkDerivation rec {
name = "ncurses-${version}" + lib.optionalString (abiVersion == "5") "-abi5-compat"; name = "ncurses-${version}" + lib.optionalString (abiVersion == "5") "-abi5-compat";
src = fetchurl { src = fetchurl {
url = "mirror://gnu/ncurses/${name}.tar.gz"; url = "mirror://gnu/ncurses/ncurses-${version}.tar.gz";
sha256 = "05qdmbmrrn88ii9f66rkcmcyzp1kb1ymkx7g040lfkd1nkp7w1da"; sha256 = "05qdmbmrrn88ii9f66rkcmcyzp1kb1ymkx7g040lfkd1nkp7w1da";
}; };
@ -117,6 +117,8 @@ stdenv.mkDerivation rec {
moveToOutput "bin/tic" "$out" moveToOutput "bin/tic" "$out"
moveToOutput "bin/tput" "$out" moveToOutput "bin/tput" "$out"
moveToOutput "bin/tset" "$out" moveToOutput "bin/tset" "$out"
moveToOutput "bin/captoinfo" "$out"
moveToOutput "bin/infotocap" "$out"
''; '';
preFixup = lib.optionalString (!hostPlatform.isCygwin) '' preFixup = lib.optionalString (!hostPlatform.isCygwin) ''