···14141515stdenv.mkDerivation rec {
1616 # Note the revision needs to be adjusted.
1717- version = "6.1-20190112";
1717+ version = "6.2";
1818 name = "ncurses-${version}" + lib.optionalString (abiVersion == "5") "-abi5-compat";
19192020 # We cannot use fetchFromGitHub (which calls fetchzip)
2121 # because we need to be able to use fetchurlBoot.
2222 src = let
2323 # Note the version needs to be adjusted.
2424- rev = "acb4184f8f69fddd052a3daa8c8675f4bf8ce369";
2424+ rev = "v${version}";
2525 in fetchurl {
2626 url = "https://github.com/mirror/ncurses/archive/${rev}.tar.gz";
2727- sha256 = "1z8v63cj2y7dxf4m1api8cvk0ns9frif9c60m2sxhibs06pjy4q0";
2727+ sha256 = "15r2456g0mlq2q7gh2z52vl6zv6y0z8sdchrs80kg4idqd8sm8fd";
2828 };
29293030 patches = lib.optional (!stdenv.cc.isClang) ./clang.patch;