editline: 1.17.0 -> 1.17.1

(cherry picked from commit c63268512b513cc31b2c55376245d9d8d1f0099a)
This commit is contained in:
oxalica 2021-05-29 15:25:45 +08:00 committed by github-actions[bot]
parent e2e4a34717
commit cc59369933

View File

@ -1,32 +1,31 @@
{ 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 {
name = "fix-for-multiline-as-one-line.patch";
url = "https://github.com/troglobit/editline/commit/ceee039cfc819c8e09eebbfca192091b0cf8df75.patch";
sha256 = "149fmfva05ghzwkd0bq1sahdbkys3qyyky28ssqb5jq7q9hw3ddm";
})
]; ];
nativeBuildInputs = [ autoreconfHook ]; nativeBuildInputs = [ autoreconfHook ];
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/editline.html";
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;
}; };
} }