Merge pull request #147196 from trofi/fix-bviplus-for-ncurses-6.3

This commit is contained in:
Sandro 2021-11-30 19:40:04 +01:00 committed by GitHub
commit ac72629607
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -1,4 +1,4 @@
{ lib, stdenv, fetchurl, ncurses }:
{ lib, stdenv, fetchurl, fetchpatch, ncurses }:
stdenv.mkDerivation rec {
pname = "bviplus";
@ -9,6 +9,18 @@ stdenv.mkDerivation rec {
sha256 = "08q2fdyiirabbsp5qpn3v8jxp4gd85l776w6gqvrbjwqa29a8arg";
};
patches = [
# Fix pending upstream inclusion for ncurses-6.3 support:
# https://sourceforge.net/p/bviplus/bugs/7/
(fetchpatch {
name = "ncurses-6.3.patch";
url = "https://sourceforge.net/p/bviplus/bugs/7/attachment/bviplus-ncurses-6.2.patch";
sha256 = "1g3s2fdly3qliy67f3dlb12a03a21zkjbya6gap4mqxhyyjbp46x";
# svn patch, rely on prefix added by fetchpatch:
extraPrefix = "";
})
];
buildInputs = [
ncurses
];