git.iko.soy/typeable/nixpkgs
on master help sign in
Merge pull request #147196 from trofi/fix-bviplus-for-ncurses-6.3
commitac72629607dbdbfda0ed399439df62605749c20d authorSandro <sandro.jaeckel@gmail.com> dateTue 30 Nov 2021, 19:40 (5 years ago) parentaae62ad1e31ea1
1 file changed+13−1
pkgs/applications/editors/bviplus/default.nix+13−1
pkgs/applications/editors/bviplus/default.nix+13−1
@@ -1,4 +1,4 @@
1−{ lib, stdenv, fetchurl, ncurses }:
1+{ lib, stdenv, fetchurl, fetchpatch, ncurses }:
22
33stdenv.mkDerivation rec {
44 pname = "bviplus";
@@ -9,6 +9,18 @@ stdenv.mkDerivation rec {
99 sha256 = "08q2fdyiirabbsp5qpn3v8jxp4gd85l776w6gqvrbjwqa29a8arg";
1010 };
1111
12+ patches = [
13+ # Fix pending upstream inclusion for ncurses-6.3 support:
14+ # https://sourceforge.net/p/bviplus/bugs/7/
15+ (fetchpatch {
16+ name = "ncurses-6.3.patch";
17+ url = "https://sourceforge.net/p/bviplus/bugs/7/attachment/bviplus-ncurses-6.2.patch";
18+ sha256 = "1g3s2fdly3qliy67f3dlb12a03a21zkjbya6gap4mqxhyyjbp46x";
19+ # svn patch, rely on prefix added by fetchpatch:
20+ extraPrefix = "";
21+ })
22+ ];
23+
1224 buildInputs = [
1325 ncurses
1426 ];