@@ -1,4 +1,4 @@
1−{ lib, stdenv, fetchFromGitHub, autoreconfHook, pkg-config
1+{ lib, stdenv, fetchFromGitHub, fetchpatch, autoreconfHook, pkg-config
22, acl, librsync, ncurses, openssl, zlib, uthash }:
33
44stdenv.mkDerivation rec {
@@ -12,6 +12,15 @@ stdenv.mkDerivation rec {
1212 sha256 = "1zhq240kz881vs2s620qp0kifmgr582caalm85ls789w9rmdkhjl";
1313 };
1414
15+ patches = [
16+ # Pull upstream fix for ncurses-6.3 support
17+ (fetchpatch {
18+ name = "ncurses-6.3.patch";
19+ url = "https://github.com/grke/burp/commit/1d6c931af7c11f164cf7ad3479781e8f03413496.patch";
20+ sha256 = "14sfbfahlankz3xg6v10i8fnmpnmqpp73q9xm0l0hnjh25igv6bl";
21+ })
22+ ];
23+
1524 nativeBuildInputs = [ autoreconfHook pkg-config ];
1625 buildInputs = [ librsync ncurses openssl zlib uthash ]
1726 ++ lib.optional (!stdenv.isDarwin) acl;