editline: add redisplay patch

This commit is contained in:
Daiderd Jordan 2018-12-26 13:16:25 +01:00
parent 98436ba55a
commit 238f4a0a90
No known key found for this signature in database
GPG key ID: D02435D05B810C96

View file

@ -1,4 +1,4 @@
{ stdenv, fetchFromGitHub, autoreconfHook }:
{ stdenv, fetchFromGitHub, fetchpatch, autoreconfHook }:
stdenv.mkDerivation rec {
name = "editline-${version}";
@ -10,6 +10,15 @@ stdenv.mkDerivation rec {
sha256 = "0a751dp34mk9hwv59ss447csknpm5i5cgd607m3fqf24rszyhbf2";
};
patches = [
# will be in 1.17.0
(fetchpatch {
name = "redisplay-clear-screen.patch";
url = "https://github.com/troglobit/editline/commit/a4b67d226829a55bc8501f36708d5e104a52fbe4.patch";
sha256 = "0dbgdqxa4x9wgr9kx89ql74np4qq6fzdbph9j9c65ns3gnaanjkw";
})
];
nativeBuildInputs = [ autoreconfHook ];
outputs = [ "out" "dev" "man" "doc" ];