tasknc: fix build against upcoming ncurses-6.3

Without the change build fails as:

src/keys.c:122:6: error: 'KEY_EVENT' undeclared here (not in a function); did you mean 'KEY_SLEFT'?
122 | {KEY_EVENT, "event"},
| ^~~~~~~~~
| KEY_SLEFT

+11 -1
+11 -1
pkgs/applications/misc/tasknc/default.nix
··· 1 - { lib, stdenv, fetchFromGitHub, makeWrapper, perl, ncurses5, taskwarrior }: 1 + { lib, stdenv, fetchFromGitHub, fetchpatch, makeWrapper, perl, ncurses5, taskwarrior }: 2 2 3 3 stdenv.mkDerivation rec { 4 4 version = "2020-12-17"; ··· 10 10 rev = "a182661fbcc097a933d5e8cce3922eb1734a563e"; 11 11 sha256 = "0jrv2k1yizfdjndbl06lmy2bb62ky2rjdk308967j31c5kqqnw56"; 12 12 }; 13 + 14 + # Pull pending upstream inclusion for ncurses-6.3: 15 + # https://github.com/lharding/tasknc/pull/57 16 + patches = [ 17 + (fetchpatch { 18 + name = "ncurses-6.3.patch"; 19 + url = "https://github.com/lharding/tasknc/commit/f74ea0641e9bf287acf22fac9f6eeea571b01800.patch"; 20 + sha256 = "18a90zj85sw2zfnfcv055nvi0lx3h8lcgsyabdfk94ksn78pygrv"; 21 + }) 22 + ]; 13 23 14 24 nativeBuildInputs = [ 15 25 makeWrapper