Merge pull request #52921 from LnL7/editline-redisplay

editline: add redisplay patch
This commit is contained in:
Will Dietz 2018-12-28 17:31:11 -06:00 committed by GitHub
commit 4c1fd5b595
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

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" ];