bwm_ng: pull upstream fix for upcoming ncurses-6.3

+12
+12
pkgs/tools/networking/bwm-ng/default.nix
··· 2 2 , stdenv 3 3 , autoreconfHook 4 4 , fetchurl 5 + , fetchpatch 5 6 , ncurses 6 7 }: 7 8 ··· 13 14 url = "https://www.gropp.org/bwm-ng/${pname}-${version}.tar.gz"; 14 15 sha256 = "0ikzyvnb73msm9n7ripg1dsw9av1i0c7q2hi2173xsj8zyv559f1"; 15 16 }; 17 + 18 + patches = [ 19 + # Pull upstream fix for ncurses-6.3 support. 20 + (fetchpatch { 21 + name = "ncurses-6.3.patch"; 22 + url = "https://github.com/vgropp/bwm-ng/commit/6a2087db6cc7ac5b5f667fcd17c262c079e8dcf2.patch"; 23 + sha256 = "1l5dii9d52v0x0sq458ybw7m9p8aan2vl94gwx5s8mgxsnbcmzzx"; 24 + # accidentally committed changes 25 + excludes = [ "config.h.in~" "configure.in" "configure~" ]; 26 + }) 27 + ]; 16 28 17 29 nativeBuildInputs = [ 18 30 autoreconfHook