From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp10.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms5.migadu.com with LMTPS id cA0vMAE/HmNEJQAAbAwnHQ (envelope-from ) for ; Sun, 11 Sep 2022 22:03:13 +0200 Received: from aspmx1.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp10.migadu.com with LMTPS id INdbLwE/HmNjdQAAG6o9tA (envelope-from ) for ; Sun, 11 Sep 2022 22:03:13 +0200 Received: from lists.gnu.org (lists.gnu.org [209.51.188.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 868EA3A090 for ; Sun, 11 Sep 2022 22:03:13 +0200 (CEST) Received: from localhost ([::1]:48340 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1oXTAe-0001mY-MR for larch@yhetil.org; Sun, 11 Sep 2022 16:03:12 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:38104) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oXTAU-0001mG-TR for guix-patches@gnu.org; Sun, 11 Sep 2022 16:03:02 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:54921) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1oXTAU-0008QG-9o for guix-patches@gnu.org; Sun, 11 Sep 2022 16:03:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1oXTAT-0006Vd-U2 for guix-patches@gnu.org; Sun, 11 Sep 2022 16:03:01 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#57659] [PATCH] gnu: Add blesh. Resent-From: Christopher Baines Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Sun, 11 Sep 2022 20:03:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 57659 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: kiasoc5 Cc: 57659@debbugs.gnu.org Received: via spool by 57659-submit@debbugs.gnu.org id=B57659.166292656224996 (code B ref 57659); Sun, 11 Sep 2022 20:03:01 +0000 Received: (at 57659) by debbugs.gnu.org; 11 Sep 2022 20:02:42 +0000 Received: from localhost ([127.0.0.1]:43620 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oXTA9-0006V5-OT for submit@debbugs.gnu.org; Sun, 11 Sep 2022 16:02:42 -0400 Received: from mira.cbaines.net ([212.71.252.8]:41440) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oXTA5-0006Uj-BU for 57659@debbugs.gnu.org; Sun, 11 Sep 2022 16:02:38 -0400 Received: from localhost (180.249.6.51.dyn.plus.net [51.6.249.180]) by mira.cbaines.net (Postfix) with ESMTPSA id 7B89127BBE9; Sun, 11 Sep 2022 21:02:36 +0100 (BST) Received: from felis (localhost [127.0.0.1]) by localhost (OpenSMTPD) with ESMTP id 10284bfa; Sun, 11 Sep 2022 20:02:36 +0000 (UTC) References: <412cc868c48c12fd60239cea4bf2797daa93919c.1662603065.git.kiasoc5@disroot.org> User-agent: mu4e 1.6.11; emacs 28.1 From: Christopher Baines Date: Sun, 11 Sep 2022 20:59:15 +0100 In-reply-to: <412cc868c48c12fd60239cea4bf2797daa93919c.1662603065.git.kiasoc5@disroot.org> Message-ID: <87illtu1ba.fsf@cbaines.net> MIME-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha512; protocol="application/pgp-signature" X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list 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-Migadu-Flow: FLOW_IN X-Migadu-To: larch@yhetil.org X-Migadu-Country: US ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1662926593; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-type:content-type:resent-cc:resent-from:resent-sender: resent-message-id:in-reply-to:in-reply-to:references:references: list-id:list-help:list-unsubscribe:list-subscribe:list-post; bh=ktRALbFdud2AKVwoZOXOLzAEU+JGqS//txknEI0cTqg=; b=N1LJeXRxMGpckC7Qlva3WHBECCrhKklmJd5/Xes4AqJj9vOy5WbFa+2ffOrbLwo/M28FE6 WJKf/XP0HuaEqBAXbmWFAG0RSyvAxfZEIqbCCt2uMuVEHT7bI12aaRfIAYFh0vF/opgiaU vgTvYIjjLmD49HUUMsewh0K5dG8aotC5zonmzGbdpToyAuoW1GpTZIJcCYQsvamz58AaE3 3viKtJ42RjnpcAiW4tgjgWVqJwH85jVVEgDwEJINvO+ybOunN0QyNh0AjXrm8F43fElXb9 Q7ZN3OS0RnALJLluEoLODHrV9kn3MMg04Fo7HfHTAl5Y7vybzhLIsM9W4FDhsA== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1662926593; a=rsa-sha256; cv=none; b=rTe9oKpPkkym93PzzrzTGZRdV0sl4CsnemmqsYdodili+MEjZy43EvZ0bduOWDakv1mCCe lgzoD6B9VSkhIUXhYPI9nhdGrcFu1k2CwDezmHtZnaPjb4oIPJa5yc7StC28qybv9qMZ/A M1+e2k1jrcCfBu90kO9/tLnR8BBZaByuiq5rFICh10BODHNwhUR4p3VS5LY62VN1oUBH9U S1/6z/t2zznqk8IxWalFKM2JLlUSVtxYbBjvGhmLc4sOUmpHp2F/T1P9o6OKiLAk4Gp8uC fYTOgCqMegcXZdCE7QvgpapvLbbzZDqHmJbiCqcPylclNUgxyh8Wfz90tW1gMA== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=none; dmarc=none; spf=pass (aspmx1.migadu.com: domain of "guix-patches-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-patches-bounces+larch=yhetil.org@gnu.org" X-Migadu-Spam-Score: -4.90 Authentication-Results: aspmx1.migadu.com; dkim=none; dmarc=none; spf=pass (aspmx1.migadu.com: domain of "guix-patches-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-patches-bounces+larch=yhetil.org@gnu.org" X-Migadu-Queue-Id: 868EA3A090 X-Spam-Score: -4.90 X-Migadu-Scanner: scn1.migadu.com X-TUID: 7ZzFPuz54bw1 --=-=-= Content-Type: text/plain kiasoc5 via Guix-patches via writes: > * gnu/packages/bash.scm (blesh): New variable. > --- > gnu/packages/bash.scm | 23 +++++++++++++++++++++++ > 1 file changed, 23 insertions(+) > > diff --git a/gnu/packages/bash.scm b/gnu/packages/bash.scm > index 72758560cd..2460c7cc00 100644 > --- a/gnu/packages/bash.scm > +++ b/gnu/packages/bash.scm > @@ -44,6 +44,7 @@ (define-module (gnu packages bash) > #:use-module (guix gexp) > #:use-module (guix monads) > #:use-module (guix store) > + #:use-module (guix build-system copy) > #:use-module (guix build-system gnu) > #:use-module (guix build-system trivial) > #:autoload (guix gnupg) (gnupg-verify*) > @@ -456,3 +457,25 @@ (define-public bash-ctypes > function interface (FFI) directly in your shell. In other words, it allows > you to call routines in shared libraries from within Bash.") > (license license:expat))) > + > +(define-public blesh > + (package > + (name "blesh") > + (version "0.3.3") > + (source > + (origin > + (method url-fetch) > + (uri (string-append "https://github.com/akinomyoga/ble.sh/releases/download/v" > + version "/ble-" version ".tar.xz")) > + (sha256 > + (base32 > + "0fpkacw0r5zhby1wpsirlzq4w1yq1fmhivik47l891c2pn1n7rm7")))) > + (build-system copy-build-system) > + (inputs (list bash)) > + (arguments > + (list > + #:install-plan #~'(("." "share/blesh")))) > + (home-page "https://github.com/akinomyoga/ble.sh/") > + (synopsis "A line editor written in pure Bash") > + (description "Bash Line Editor (ble.sh) is a command line editor written in pure Bash which replaces the default GNU Readline. It adds syntax highlighting, auto suggestions, vim modes, and more to Bash interactive sessions.") > + (license license:bsd-3))) Simple things first, the linter makes a number of complaints. There are tab characters on a couple of lines and some issues with the formatting of the description. Maybe more importantly, this package uses the copy build system, but it looks like ble.sh should be built with make. I realise that the output of this build process is a mostly readable shell script, but the Guix package should still build the source to generate it. Does that make sense? Thanks, Chris --=-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQKlBAEBCgCPFiEEPonu50WOcg2XVOCyXiijOwuE9XcFAmMePtlfFIAAAAAALgAo aXNzdWVyLWZwckBub3RhdGlvbnMub3BlbnBncC5maWZ0aGhvcnNlbWFuLm5ldDNF ODlFRUU3NDU4RTcyMEQ5NzU0RTBCMjVFMjhBMzNCMEI4NEY1NzcRHG1haWxAY2Jh aW5lcy5uZXQACgkQXiijOwuE9XeJ8Q/9GHj20kQBIZiwnn2SSFcVRxChpn4vVKzZ pNQ6jpwMwm4YZHteyvyhFLELMiK/lFx45weVccJ30fxY05Wjg7oNAKrIH90WgW/T NyRhXbNHG5dfllCPOUmTcQHMjUXOt/nkxcmxwAagV0Cw2eqt/5v1owDdcmYEQQ2H Y3CHFJ/L2ZRyWBC7i5CZAWvdlJmfbMZgoi07hPKI0v/8oklqpSPbV+ZtF+rfaoa+ PrhgTyz0W/dFVbQx1569QH1335Fr5hVaOfZgvyAc76SGecGFfiYNWAsrKuS1xkrZ mor6p1vKRMhXcu0oN0+MV4VnofSQOsIVPMm/O3eyiDwCCcSeXzljgL2EyP6xt3RO DIDkMamzvjP2o6uclAUcuUMY7t6/sEuHN2J0dzw2aJnHfUjIa8x1ujgVVoOCl6ak vliv6k0nLbzEXe33dIsZfZRLSDpBbd34G4C6eH3qt0BCrxVnmWZbqo0oGchShSw/ wSkUVcsHDgWRSHRuflM7DE3CEGJAVrkGaK1AP850ZqIwGeiCq/P3GV7zsmx5kdMk cdO2vSDk9N0DyOnJRkXqFNJjNIUgCcQxO0h4GbRVKT8bINLp8BeYIFxVeA8ACKSy mQaHxgsoP99j+pNySXziaSGzv8Lpj5c/tQxu/pyIZi+wINIAZ3/5RufRXgmWfmzc lSKf9kx/0Ws= =wkZg -----END PGP SIGNATURE----- --=-=-=--