From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp0 ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms11 with LMTPS id SL3sHKYDr16jFQAA0tVLHw (envelope-from ) for ; Sun, 03 May 2020 17:47:18 +0000 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp0 with LMTPS id oIQeF7ADr14dFQAA1q6Kng (envelope-from ) for ; Sun, 03 May 2020 17:47:28 +0000 Received: from lists.gnu.org (lists.gnu.org [IPv6:2001:470:142::17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id 586E19445D8 for ; Sun, 3 May 2020 17:47:27 +0000 (UTC) Received: from localhost ([::1]:42856 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jVIi5-0003y9-UP for larch@yhetil.org; Sun, 03 May 2020 13:47:26 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:53890) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1jVIhi-0003xe-5D for guix-patches@gnu.org; Sun, 03 May 2020 13:47:02 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:46432) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1jVIhh-00045r-RR for guix-patches@gnu.org; Sun, 03 May 2020 13:47:01 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1jVIhh-0003In-Q6 for guix-patches@gnu.org; Sun, 03 May 2020 13:47:01 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#41056] [PATCH 1/2] gnu: Add editline. References: In-Reply-To: Resent-From: Giacomo Leidi Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Sun, 03 May 2020 17:47:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 41056 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 41056@debbugs.gnu.org Cc: Giacomo Leidi Received: via spool by 41056-submit@debbugs.gnu.org id=B41056.158852800012653 (code B ref 41056); Sun, 03 May 2020 17:47:01 +0000 Received: (at 41056) by debbugs.gnu.org; 3 May 2020 17:46:40 +0000 Received: from localhost ([127.0.0.1]:57976 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jVIhL-0003Hy-Uk for submit@debbugs.gnu.org; Sun, 03 May 2020 13:46:40 -0400 Received: from latitanza.investici.org ([82.94.249.234]:39733) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jVIhJ-0003Hj-8p for 41056@debbugs.gnu.org; Sun, 03 May 2020 13:46:39 -0400 Received: from mx3.investici.org (unknown [127.0.0.1]) by latitanza.investici.org (Postfix) with ESMTP id A2FAC12164E; Sun, 3 May 2020 17:46:35 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=autistici.org; s=stigmate; t=1588527995; bh=hgnBB9Ftz3656ZiWD0VxO356WW9rEyssdk73xNsTDRE=; h=From:To:Cc:Subject:Date:From; b=iLZFRrGoppS8mynIrupIr6zFISjObZBpptArdDBN1lBtvn7XG1ra7USXklvcsEBlC oDhYrI1ZikUxIlsTeoUV6SEBfDjZLs9+Xf24bIrSE3WGR8FQ/oyhL1sCZ2P0O1dtQl FuEvdDhz0Kf/ctCGdyirdQ8XwGDawo8rxCYVGTWY= Received: from [82.94.249.234] (mx3.investici.org [82.94.249.234]) (Authenticated sender: goodoldpaul@autistici.org) by localhost (Postfix) with ESMTPSA id 29AFC121621; Sun, 3 May 2020 17:46:34 +0000 (UTC) From: Giacomo Leidi Date: Sun, 3 May 2020 19:46:19 +0200 Message-Id: <20200503174620.9307-1-goodoldpaul@autistici.org> X-Mailer: git-send-email 2.26.2 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-Spam-Score: -0.0 (/) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-Spam-Score: -1.0 (-) X-BeenThere: guix-patches@gnu.org List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-patches-bounces+larch=yhetil.org@gnu.org Sender: "Guix-patches" X-Scanner: scn0 X-Spam-Score: 0.99 Authentication-Results: aspmx1.migadu.com; dkim=fail (rsa verify failed) header.d=autistici.org header.s=stigmate header.b=iLZFRrGo; dmarc=none; spf=pass (aspmx1.migadu.com: domain of guix-patches-bounces@gnu.org designates 2001:470:142::17 as permitted sender) smtp.mailfrom=guix-patches-bounces@gnu.org X-Scan-Result: default: False [0.99 / 13.00]; RCVD_VIA_SMTP_AUTH(0.00)[]; GENERIC_REPUTATION(0.00)[-0.49384296700753]; TO_DN_SOME(0.00)[]; R_SPF_ALLOW(-0.20)[+ip6:2001:470:142::/48:c]; R_DKIM_REJECT(1.00)[autistici.org:s=stigmate]; DWL_DNSWL_FAIL(0.00)[2001:470:142::17:server fail]; IP_REPUTATION_HAM(0.00)[asn: 22989(0.14), country: US(-0.00), ip: 2001:470:142::17(-0.49)]; DKIM_TRACE(0.00)[autistici.org:-]; RCPT_COUNT_TWO(0.00)[2]; MX_GOOD(-0.50)[cached: eggs.gnu.org]; MAILLIST(-0.20)[mailman]; FORGED_RECIPIENTS_MAILLIST(0.00)[]; RCVD_IN_DNSWL_FAIL(0.00)[2001:470:142::17:server fail]; MIME_TRACE(0.00)[0:+]; RCVD_TLS_LAST(0.00)[]; ASN(0.00)[asn:22989, ipnet:2001:470:142::/48, country:US]; TAGGED_FROM(0.00)[larch=yhetil.org]; FROM_NEQ_ENVFROM(0.00)[goodoldpaul@autistici.org,guix-patches-bounces@gnu.org]; ARC_NA(0.00)[]; URIBL_BLOCKED(0.00)[tobias.gr:email,autistici.org:email,troglobit.com:url,elephly.net:email]; FROM_HAS_DN(0.00)[]; MIME_GOOD(-0.10)[text/plain]; DMARC_NA(0.00)[autistici.org]; HAS_LIST_UNSUB(-0.01)[]; MID_CONTAINS_FROM(1.00)[]; RCVD_COUNT_SEVEN(0.00)[9]; FORGED_SENDER_MAILLIST(0.00)[] X-TUID: WIslNVY4bJkp * gnu/packages/libedit.scm (editline): New variable. --- gnu/packages/libedit.scm | 30 ++++++++++++++++++++++++++++++ 1 file changed, 30 insertions(+) diff --git a/gnu/packages/libedit.scm b/gnu/packages/libedit.scm index 37638a2b6a..9ebe987b6c 100644 --- a/gnu/packages/libedit.scm +++ b/gnu/packages/libedit.scm @@ -3,6 +3,7 @@ ;;; Copyright © 2015 Ricardo Wurmus ;;; Copyright © 2018, 2019 Tobias Geerinckx-Rice ;;; Copyright © 2019 Gábor Boskovits +;;; Copyright © 2020 Giacomo Leidi ;;; ;;; This file is part of GNU Guix. ;;; @@ -23,7 +24,9 @@ #:use-module (guix licenses) #:use-module (guix packages) #:use-module (guix download) + #:use-module (guix git-download) #:use-module (guix build-system gnu) + #:use-module (gnu packages autotools) #:use-module (gnu packages ncurses)) (define-public libedit @@ -48,3 +51,30 @@ library (libedit). This Berkeley-style licensed command line editor library provides generic line editing, history, and tokenization functions, similar to those found in GNU Readline.") (license bsd-3))) + +(define-public editline + (package + (name "editline") + (version "1.17.1") + (source (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/troglobit/editline.git") + (commit version))) + (file-name (git-file-name name version)) + (sha256 + (base32 + "0y7vis52kfq2km9isrlzakpf7bn1k7v9vf3xg3q1cslla18q6myh")))) + (build-system gnu-build-system) + (native-inputs + `(("automake" ,automake) + ("autoconf" ,autoconf) + ("libtool" ,libtool))) + (home-page "https://troglobit.com/projects/editline/") + (synopsis "Small replacement for GNU readline() for UNIX") + (description + "@{editline} is a small line editing library. It can be linked into almost +any program to provide command line editing and history functions. It is call +compatible with the FSF @code{readline} library, but at a fraction of the size, +and as a result fewer features.") + (license bsd-4))) -- 2.26.2