@@ -1,4 +1,4 @@
1−{ lib, stdenv, fetchurl, ncurses }:
1+{ lib, stdenv, fetchurl, fetchpatch, ncurses }:
22
33stdenv.mkDerivation rec {
44 pname = "bviplus";
@@ -9,6 +9,18 @@ stdenv.mkDerivation rec {
99 sha256 = "08q2fdyiirabbsp5qpn3v8jxp4gd85l776w6gqvrbjwqa29a8arg";
1010 };
1111
12+ patches = [
13+ # Fix pending upstream inclusion for ncurses-6.3 support:
14+ # https://sourceforge.net/p/bviplus/bugs/7/
15+ (fetchpatch {
16+ name = "ncurses-6.3.patch";
17+ url = "https://sourceforge.net/p/bviplus/bugs/7/attachment/bviplus-ncurses-6.2.patch";
18+ sha256 = "1g3s2fdly3qliy67f3dlb12a03a21zkjbya6gap4mqxhyyjbp46x";
19+ # svn patch, rely on prefix added by fetchpatch:
20+ extraPrefix = "";
21+ })
22+ ];
23+
1224 buildInputs = [
1325 ncurses
1426 ];