Merge pull request #146600 from trofi/fix-wiimms-iso-tools-for-ncurses-6.3

wiimms-iso-tools: pull pending upstream inclusion fix for ncurses-6.3
This commit is contained in:
Jörg Thalheim 2021-12-01 08:55:16 +00:00 committed by GitHub
commit 7e513adf85
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -1,4 +1,4 @@
{lib, stdenv, fetchurl, zlib, ncurses, fuse}:
{lib, stdenv, fetchurl, fetchpatch, zlib, ncurses, fuse}:
stdenv.mkDerivation rec {
name = "wiimms-iso-tools";
@ -11,7 +11,19 @@ stdenv.mkDerivation rec {
buildInputs = [ zlib ncurses fuse ];
patches = [ ./fix-paths.diff ];
patches = [
./fix-paths.diff
# Pull pending upstream fix for ncurses-6.3:
# https://github.com/Wiimm/wiimms-iso-tools/pull/14
(fetchpatch {
name = "ncurses-6.3.patch";
url = "https://github.com/Wiimm/wiimms-iso-tools/commit/3f1e84ec6915cc4f658092d33411985bd3eaf4e6.patch";
sha256 = "18cfri4y1082phg6fzh402gk5ri24wr8ff4zl8v5rlgjndh610im";
stripLen = 1;
})
];
postPatch = ''
patchShebangs setup.sh
patchShebangs gen-template.sh