Merge pull request #145944 from trofi/fix-httping-for-ncurses-6.3

This commit is contained in:
Sandro 2021-11-28 03:04:53 +01:00 committed by GitHub
commit 5620395e75
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -1,4 +1,4 @@
{ lib, stdenv, fetchurl, gettext, libintl, ncurses, openssl
{ lib, stdenv, fetchurl, fetchpatch, gettext, libintl, ncurses, openssl
, fftw ? null }:
stdenv.mkDerivation rec {
@ -10,6 +10,15 @@ stdenv.mkDerivation rec {
sha256 = "1y7sbgkhgadmd93x1zafqc4yp26ssiv16ni5bbi9vmvvdl55m29y";
};
patches = [
# Upstream fix for ncurses-6.3.
(fetchpatch {
name = "ncurses-6.3.patch";
url = "https://github.com/folkertvanheusden/HTTPing/commit/4ea9d5b78540c972e3fe1bf44db9f7b3f87c0ad0.patch";
sha256 = "0w3kdkq6c6hz1d9jjnw0ldvd6dy39yamj8haf0hvcyb1sb67qjmp";
})
];
buildInputs = [ fftw libintl ncurses openssl ];
nativeBuildInputs = [ gettext ];