git.iko.soy/typeable/nixpkgs
on master help sign in
Merge pull request #146981 from trofi/fix-burp-for-ncurses-6.3

burp: pull upstream fix for ncurses-6.3

commit214fc66e1dbd25f4aba53b6fac2d7688b4ab34f0 authorBobby Rong <rjl931189261@126.com> dateMon 22 Nov 2021, 18:49 (5 years ago) parent119ff2dec713fe
1 file changed+10−1
pkgs/tools/backup/burp/default.nix+10−1
pkgs/tools/backup/burp/default.nix+10−1
@@ -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;