1 { lib, stdenv, fetchFromGitHub, autoreconfHook, nix-update-script, fetchpatch }:
3 stdenv.mkDerivation rec {
6 src = fetchFromGitHub {
10 sha256 = "sha256-0FeDUVCUahbweH24nfaZwa7j7lSfZh1TnQK7KYqO+3g=";
15 name = "fix-for-home-end-in-tmux.patch";
16 url = "https://github.com/troglobit/editline/commit/265c1fb6a0b99bedb157dc7c320f2c9629136518.patch";
17 sha256 = "sha256-9fhQH0hT8BcykGzOUoT18HBtWjjoXnePSGDJQp8GH30=";
21 nativeBuildInputs = [ autoreconfHook ];
23 outputs = [ "out" "dev" "man" "doc" ];
25 passthru.updateScript = nix-update-script {
30 homepage = "https://troglobit.com/projects/editline/";
31 description = "A readline() replacement for UNIX without termcap (ncurses)";
32 license = licenses.bsdOriginal;
33 maintainers = with maintainers; [ dtzWill oxalica ];
34 platforms = platforms.all;