From debbugs-submit-bounces@debbugs.gnu.org Mon Jan 11 14:14:19 2021 Received: (at submit) by debbugs.gnu.org; 11 Jan 2021 19:14:19 +0000 Received: from localhost ([127.0.0.1]:58295 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kz2du-0002mc-CZ for submit@debbugs.gnu.org; Mon, 11 Jan 2021 14:14:19 -0500 Received: from lists.gnu.org ([209.51.188.17]:49666) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kz1pN-0001SO-Gh for submit@debbugs.gnu.org; Mon, 11 Jan 2021 13:22:07 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]:38372) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kz1pN-0002Tq-96 for guix-patches@gnu.org; Mon, 11 Jan 2021 13:22:05 -0500 Received: from wout1-smtp.messagingengine.com ([64.147.123.24]:53351) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kz1pJ-0001B7-SX for guix-patches@gnu.org; Mon, 11 Jan 2021 13:22:05 -0500 Received: from compute1.internal (compute1.nyi.internal [10.202.2.41]) by mailout.west.internal (Postfix) with ESMTP id 332CD201A for ; Mon, 11 Jan 2021 13:21:59 -0500 (EST) Received: from mailfrontend2 ([10.202.2.163]) by compute1.internal (MEProxy); Mon, 11 Jan 2021 13:21:59 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=fastmail.fm; h= date:from:to:subject:message-id:mime-version:content-type; s= fm2; bh=bcqbczBZGcPQhFMmNJNtPcB6bMJMAEVpdzkdlnSh0U8=; b=ik63iWeh SHAm0z2kSD1WItnqkv77ZXPTxyI1iMTX99zLwCS0lq1vpPeuwletKLL7OiJDBASn HjjjxRUNO7fUcLtBkCHkJ2Eddh03UMXuxpnUELXF7F82BrOnTlnssuSUAkd3WaR1 hmjt7hYyRlHtKyIvpEZJJ+QEx7/m63+WdAsbcPk1ddvYhxHH8OJj8s0isyD2juZ4 e4Kbk/v5zzQPdzaKP9wLYuev6fNXtGiSDE9GtbYxZ3tS+mJ0lc4vXTnbrkGCp7Uy n+8ENl9WbTzwrR2oL+6p9V+u5Xhp2o+FSZXqcLktRpMEGkneQd5H5d0Skgh3OyAE jlk1z5p/UizNmw== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=content-type:date:from:message-id :mime-version:subject:to:x-me-proxy:x-me-proxy:x-me-sender :x-me-sender:x-sasl-enc; s=fm1; bh=bcqbczBZGcPQhFMmNJNtPcB6bMJMA EVpdzkdlnSh0U8=; b=p9MxGUAN++JNriFm68SDQvajDVk/SMiwGrDy6jOvBhSjw IjI0abl+oQMDsnRle776O63+YkM6I791t6NGKwo9vCl5N2PxaxNxrbBolNFkMcWR YKBeyrZ3jT9ea8l5r1MRnjUschI3WoXR0zwICKHZITrwK1Zi1QLPZUBe8EJlY8n3 9r/7otmX4jSPz9hJso1Kgk0Fd+yhlKbJ2b16V5w6u6j7Cw22cf2Q4kRi2R3E+cA8 QXxB/NfzcVHyVbaAjBtzOI4BmgGLrxgiC1j6lZ02eZ4KYOcG2iMo1jBy9qtSGvYr 5kEBmcnTGoLrBU+YATarNjT+U1ZvB9AaqPeMvV2Mg== X-ME-Sender: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedujedrvdehuddguddufecutefuodetggdotefrod ftvfcurfhrohhfihhlvgemucfhrghsthforghilhdpqfgfvfdpuffrtefokffrpgfnqfgh necuuegrihhlohhuthemuceftddtnecunecujfgurhepfffhvffukfggtggusehttdertd dttddvnecuhfhrohhmpegrvggtvghpohhglhhuuceorggvtggvphhoghhluhesfhgrshht mhgrihhlrdhfmheqnecuggftrfgrthhtvghrnhepudekkeejheetvdehtdevieehheekge efiefgleekgeetueehueegveffhfeltdejnecuffhomhgrihhnpegvlhhvrdhshhenucfk phepudejiedrgedurddvledrudektdenucevlhhushhtvghrufhiiigvpedtnecurfgrrh grmhepmhgrihhlfhhrohhmpegrvggtvghpohhglhhusehfrghsthhmrghilhdrfhhm X-ME-Proxy: Received: from localhost (unknown [176.41.29.180]) by mail.messagingengine.com (Postfix) with ESMTPA id 445661080059 for ; Mon, 11 Jan 2021 13:21:58 -0500 (EST) Date: Mon, 11 Jan 2021 21:23:43 +0300 From: aecepoglu To: guix-patches@gnu.org Subject: [PATCH] shells: Add elvish Message-ID: <20210111182343.2ranmmefi3xbbxsq@minitower> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Received-SPF: pass client-ip=64.147.123.24; envelope-from=aecepoglu@fastmail.fm; helo=wout1-smtp.messagingengine.com X-Spam_score_int: -27 X-Spam_score: -2.8 X-Spam_bar: -- X-Spam_report: (-2.8 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_LOW=-0.7, RCVD_IN_MSPIKE_H4=0.001, RCVD_IN_MSPIKE_WL=0.001, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-Spam-Score: -0.1 (/) X-Debbugs-Envelope-To: submit X-Mailman-Approved-At: Mon, 11 Jan 2021 14:14:16 -0500 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -2.6 (--) --- gnu/packages/shells.scm | 38 +++++++++++++++++++++++++++++++++++++- 1 file changed, 37 insertions(+), 1 deletion(-) diff --git a/gnu/packages/shells.scm b/gnu/packages/shells.scm index 0b4edbe452..2866567f10 100644 --- a/gnu/packages/shells.scm +++ b/gnu/packages/shells.scm @@ -52,8 +52,9 @@ #:use-module (gnu packages python-xyz) #:use-module (gnu packages readline) #:use-module (gnu packages scheme) - #:use-module (guix build-system cmake) #:use-module (guix build-system gnu) + #:use-module (guix build-system cmake) + #:use-module (guix build-system copy) #:use-module (guix build-system python) #:use-module (guix build-system trivial) #:use-module (guix download) @@ -97,6 +98,41 @@ direct descendant of NetBSD's Almquist Shell (@command{ash}).") (license (list bsd-3 gpl2+)))) ; mksignames.c +(define-public elvish + (package + (name "elvish") + (version "0.14.1") + (source (origin + (method url-fetch/tarbomb) + (uri (string-append "https://dl.elv.sh/linux-amd64/elvish-v" + version + ".tar.gz")) + (sha256 + (base32 + "14ga1i32mr90lh4sn8n473bwc4kg5whhg9iqlqag5yj5agp1dx51")))) + (build-system copy-build-system) + (arguments + `(#:install-plan + `((,(string-append "elvish-v" ,version) "bin/elvish")))) + (home-page "https://elv.sh") + (synopsis "Interactive shell and an expressive programming language") + (description " +It has support for: + +* Pipelines: Pipelines in Elvish can carry structured data, + not just text. You can stream lists, maps and even functions through the pipeline. + +* Intuitive Control Structures: Comes with a standard set of control structures: + conditional control with `if`, loops with `for` and `while`, + and exception handling with `try`. All of them have a familiar C-like syntax. +* Directory History: Backed by a real database, it remembers all the directories + you have been to, all the time. Just press `Ctrl-L` and search, + as you do in a browser. +* Command History: Press `Ctrl-R` and start searching your entire command history. +* Build-in File Manager: Press `Ctrl-N` to start exploring directories + and preview files, with the full power of a shell still under your fingertip.") + (license license:bsd-2))) + (define-public fish (package (name "fish") -- 2.29.2 From debbugs-submit-bounces@debbugs.gnu.org Mon Jan 11 15:43:06 2021 Received: (at 45796) by debbugs.gnu.org; 11 Jan 2021 20:43:06 +0000 Received: from localhost ([127.0.0.1]:58410 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kz41q-00052V-3V for submit@debbugs.gnu.org; Mon, 11 Jan 2021 15:43:06 -0500 Received: from mailrelay.tugraz.at ([129.27.2.202]:11863) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kz41n-000529-6S for 45796@debbugs.gnu.org; Mon, 11 Jan 2021 15:43:04 -0500 Received: from nijino.local (217-149-169-137.nat.highway.telekom.at [217.149.169.137]) by mailrelay.tugraz.at (Postfix) with ESMTPSA id 4DF5J35Shmz3wQ2; Mon, 11 Jan 2021 21:42:59 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=tugraz.at; s=mailrelay; t=1610397779; bh=/0tmlpYlpPLLbTx1/G6pR5KUw2QeK3+hllR2mYY8TYY=; h=Subject:From:To:Cc:Date:In-Reply-To:References; b=l6Lo1e14uF4kHdFe96+djC6KMDK9J00Vch9C7sI7IPxPOHPDWmxRlCoxP2O8zE0FI 3e13E0li530r3OS7UcS8rQhiN2oUVomC2RrE6SOmKs1nS/nxrO98c8mqUbvQzSyNZq /MD8t66RTjlItUoEIe4n3Ewh7qnv+RWfbOy6B2z8= Message-ID: <6a8e5f0f388f8d92a3109f0dfa6c85dcbed1408f.camel@student.tugraz.at> Subject: Re: [PATCH] shells: Add elvish From: Leo Prikler To: aecepoglu Date: Mon, 11 Jan 2021 21:42:58 +0100 In-Reply-To: <20210111182343.2ranmmefi3xbbxsq@minitower> References: <20210111182343.2ranmmefi3xbbxsq@minitower> Content-Type: text/plain; charset="UTF-8" User-Agent: Evolution 3.34.2 MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-TUG-Backscatter-control: bt4lQm5Tva3SBgCuw0EnZw X-Spam-Scanner: SpamAssassin 3.003001 X-Spam-Score-relay: -1.9 X-Scanned-By: MIMEDefang 2.74 on 129.27.10.116 X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: 45796 Cc: 45796@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -3.3 (---) Hello, Am Montag, den 11.01.2021, 21:23 +0300 schrieb aecepoglu: > --- > gnu/packages/shells.scm | 38 +++++++++++++++++++++++++++++++++++++- > 1 file changed, 37 insertions(+), 1 deletion(-) > > diff --git a/gnu/packages/shells.scm b/gnu/packages/shells.scm > index 0b4edbe452..2866567f10 100644 > --- a/gnu/packages/shells.scm > +++ b/gnu/packages/shells.scm > @@ -52,8 +52,9 @@ > #:use-module (gnu packages python-xyz) > #:use-module (gnu packages readline) > #:use-module (gnu packages scheme) > - #:use-module (guix build-system cmake) > #:use-module (guix build-system gnu) > + #:use-module (guix build-system cmake) > + #:use-module (guix build-system copy) > #:use-module (guix build-system python) > #:use-module (guix build-system trivial) > #:use-module (guix download) > @@ -97,6 +98,41 @@ direct descendant of NetBSD's Almquist Shell > (@command{ash}).") > (license (list bsd-3 > gpl2+)))) ; mksignames.c > > +(define-public elvish > + (package > + (name "elvish") > + (version "0.14.1") > + (source (origin > + (method url-fetch/tarbomb) > + (uri (string-append " > https://dl.elv.sh/linux-amd64/elvish-v" > + version > + ".tar.gz")) > + (sha256 > + (base32 > + "14ga1i32mr90lh4sn8n473bwc4kg5whhg9iqlqag5yj5agp1dx51 > ")))) > + (build-system copy-build-system) > + (arguments > + `(#:install-plan > + `((,(string-append "elvish-v" ,version) "bin/elvish")))) Ehm, we're not really big on the downloading bizarre binaries business. Perhaps you want to try building it from source [1] instead? > + (home-page "https://elv.sh") > + (synopsis "Interactive shell and an expressive programming > language") > + (description " > +It has support for: > + > +* Pipelines: Pipelines in Elvish can carry structured data, > + not just text. You can stream lists, maps and even functions > through the pipeline. > + > +* Intuitive Control Structures: Comes with a standard set of control > structures: > + conditional control with `if`, loops with `for` and `while`, > + and exception handling with `try`. All of them have a familiar C- > like syntax. > +* Directory History: Backed by a real database, it remembers all the > directories > + you have been to, all the time. Just press `Ctrl-L` and search, > + as you do in a browser. > +* Command History: Press `Ctrl-R` and start searching your entire > command history. > +* Build-in File Manager: Press `Ctrl-N` to start exploring > directories > + and preview files, with the full power of a shell still under your > fingertip.") > + (license license:bsd-2))) Try to shorten the description, especially cutting down on the marketing lingo. Also use Texinfo markup where appropriate. Regards, Leo [1] https://github.com/elves/elvish