Merge pull request #147196 from trofi/fix-bviplus-for-ncurses-6.3

authored by Sandro and committed by GitHub ac726296 aae62adc

+13 -1
+13 -1
pkgs/applications/editors/bviplus/default.nix
··· 1 - { lib, stdenv, fetchurl, ncurses }: 1 + { lib, stdenv, fetchurl, fetchpatch, ncurses }: 2 2 3 3 stdenv.mkDerivation rec { 4 4 pname = "bviplus"; ··· 8 8 url = "mirror://sourceforge/project/bviplus/bviplus/${version}/bviplus-${version}.tgz"; 9 9 sha256 = "08q2fdyiirabbsp5qpn3v8jxp4gd85l776w6gqvrbjwqa29a8arg"; 10 10 }; 11 + 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 + ]; 11 23 12 24 buildInputs = [ 13 25 ncurses