Merge pull request #146559 from trofi/fix-sngrep-for-ncurses-6.3

sngrep: pull upstream fix for ncurses-6.3

authored by ajs124 and committed by GitHub 91ec4e28 63da4b6e

+11
+11
pkgs/applications/networking/sniffers/sngrep/default.nix
··· 3 3 , autoconf 4 4 , automake 5 5 , fetchFromGitHub 6 + , fetchpatch 6 7 , libpcap 7 8 , ncurses 8 9 , openssl ··· 19 20 rev = "v${version}"; 20 21 sha256 = "sha256-92wPRDFSoIOYFv3XKdsuYH8j3D8kXyg++q6VpIIMGDg="; 21 22 }; 23 + 24 + patches = [ 25 + # Pull fix pending upstream inclusion for ncurses-6.3 support: 26 + # https://github.com/irontec/sngrep/pull/382 27 + (fetchpatch { 28 + name = "ncurses-6.3.patch"; 29 + url = "https://github.com/irontec/sngrep/commit/d09e1c323dbd7fc899e8985899baec568f045601.patch"; 30 + sha256 = "sha256-nY5i3WQh/oKboEAh4wvxF5Imf2BHYEKdFj+WF1M3SSA="; 31 + }) 32 + ]; 22 33 23 34 nativeBuildInputs = [ 24 35 autoconf