editline: 1.17.0 -> 1.17.1 and add patch to fix Home and End key in tmux (#124853)
Co-authored-by: Sandro <sandro.jaeckel@gmail.com>
This commit is contained in:
parent
38e88107f6
commit
eefa2ee38e
@ -1,20 +1,20 @@
|
|||||||
{ lib, stdenv, fetchFromGitHub, autoreconfHook, fetchpatch }:
|
{ lib, stdenv, fetchFromGitHub, autoreconfHook, nix-update-script, fetchpatch }:
|
||||||
|
|
||||||
stdenv.mkDerivation rec {
|
stdenv.mkDerivation rec {
|
||||||
pname = "editline";
|
pname = "editline";
|
||||||
version = "1.17.0";
|
version = "1.17.1";
|
||||||
src = fetchFromGitHub {
|
src = fetchFromGitHub {
|
||||||
owner = "troglobit";
|
owner = "troglobit";
|
||||||
repo = "editline";
|
repo = "editline";
|
||||||
rev = version;
|
rev = version;
|
||||||
sha256 = "0vjm42y6zjmi6hdcng0l7wkksw7s50agbmk5dxsc3292q8mvq8v6";
|
sha256 = "sha256-0FeDUVCUahbweH24nfaZwa7j7lSfZh1TnQK7KYqO+3g=";
|
||||||
};
|
};
|
||||||
|
|
||||||
patches = [
|
patches = [
|
||||||
(fetchpatch {
|
(fetchpatch {
|
||||||
name = "fix-for-multiline-as-one-line.patch";
|
name = "fix-for-home-end-in-tmux.patch";
|
||||||
url = "https://github.com/troglobit/editline/commit/ceee039cfc819c8e09eebbfca192091b0cf8df75.patch";
|
url = "https://github.com/troglobit/editline/commit/265c1fb6a0b99bedb157dc7c320f2c9629136518.patch";
|
||||||
sha256 = "149fmfva05ghzwkd0bq1sahdbkys3qyyky28ssqb5jq7q9hw3ddm";
|
sha256 = "sha256-9fhQH0hT8BcykGzOUoT18HBtWjjoXnePSGDJQp8GH30=";
|
||||||
})
|
})
|
||||||
];
|
];
|
||||||
|
|
||||||
@ -22,11 +22,15 @@ stdenv.mkDerivation rec {
|
|||||||
|
|
||||||
outputs = [ "out" "dev" "man" "doc" ];
|
outputs = [ "out" "dev" "man" "doc" ];
|
||||||
|
|
||||||
|
passthru.updateScript = nix-update-script {
|
||||||
|
attrPath = pname;
|
||||||
|
};
|
||||||
|
|
||||||
meta = with lib; {
|
meta = with lib; {
|
||||||
homepage = "https://troglobit.com/editline.html";
|
homepage = "https://troglobit.com/projects/editline/";
|
||||||
description = "A readline() replacement for UNIX without termcap (ncurses)";
|
description = "A readline() replacement for UNIX without termcap (ncurses)";
|
||||||
license = licenses.bsdOriginal;
|
license = licenses.bsdOriginal;
|
||||||
maintainers = with maintainers; [ dtzWill ];
|
maintainers = with maintainers; [ dtzWill oxalica ];
|
||||||
platforms = platforms.all;
|
platforms = platforms.all;
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user