Merge pull request #117197 from dotlambda/newsboat-2.23

newsboat: 2.22.1 -> 2.23
This commit is contained in:
Doron Behar 2021-03-22 11:11:35 +00:00 committed by GitHub
commit d3e65f1a42
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 9 additions and 13 deletions

View File

@ -3,27 +3,23 @@
rustPlatform.buildRustPackage rec { rustPlatform.buildRustPackage rec {
pname = "newsboat"; pname = "newsboat";
version = "2.22.1"; version = "2.23";
src = fetchFromGitHub { src = fetchFromGitHub {
owner = "newsboat"; owner = "newsboat";
repo = "newsboat"; repo = "newsboat";
rev = "r${version}"; rev = "r${version}";
sha256 = "1j3z34dhqw0f1v6v2lfwcvzqnm2kr2940bgxibfi0npacp74izh3"; sha256 = "0a0g9km515kipqmz6c09aj3lgy3nkzqwgnp87fh8f2vr098fn144";
}; };
cargoSha256 = "08ywaka1lib8yrqjmfx1i37f7b33y3i6jj7f50pwhw8n6lr9f7lc"; cargoSha256 = "11dn1ixc7i29cv8kpqfkmikdqzr2v79vlyfxcvjwhgd0r34w4xhn";
postPatch = '' # TODO: Check if that's still needed
substituteInPlace Makefile --replace "|| true" "" postPatch = lib.optionalString stdenv.isDarwin ''
'' # Allow other ncurses versions on Darwin
# TODO: Check if that's still needed substituteInPlace config.sh \
+ lib.optionalString stdenv.isDarwin '' --replace "ncurses5.4" "ncurses"
# Allow other ncurses versions on Darwin '';
substituteInPlace config.sh \
--replace "ncurses5.4" "ncurses"
''
;
nativeBuildInputs = [ nativeBuildInputs = [
pkg-config pkg-config