Merge pull request #146559 from trofi/fix-sngrep-for-ncurses-6.3
sngrep: pull upstream fix for ncurses-6.3
commit91ec4e2897ccab3dc05512162604cdac5f7d9d38
authorajs124 <ajs124@users.noreply.github.com>
dateFri 19 Nov 2021, 16:04 (5 years ago)
parent63da4b67bb21fc
pkgs/applications/networking/sniffers/sngrep/default.nix+11
@@ -3,6 +3,7 @@
33, autoconf
44, automake
55, fetchFromGitHub
6+, fetchpatch
67, libpcap
78, ncurses
89, openssl
@@ -20,6 +21,16 @@ stdenv.mkDerivation rec {
2021 sha256 = "sha256-92wPRDFSoIOYFv3XKdsuYH8j3D8kXyg++q6VpIIMGDg=";
2122 };
2223
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+ ];
33+
2334 nativeBuildInputs = [
2435 autoconf
2536 automake