From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp1 ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms11 with LMTPS id WUDhOs64/F8cDgAA0tVLHw (envelope-from ) for ; Mon, 11 Jan 2021 20:45:02 +0000 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp1 with LMTPS id wKQ8Ns64/F9xWQAAbx9fmQ (envelope-from ) for ; Mon, 11 Jan 2021 20:45:02 +0000 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 604929402A9 for ; Mon, 11 Jan 2021 20:45:02 +0000 (UTC) Received: from localhost ([::1]:48804 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1kz43h-0003Nk-3M for larch@yhetil.org; Mon, 11 Jan 2021 15:45:01 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]:41862) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kz42k-00031I-5t for guix-patches@gnu.org; Mon, 11 Jan 2021 15:44:02 -0500 Received: from debbugs.gnu.org ([209.51.188.43]:46864) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1kz42j-0003XX-Tm for guix-patches@gnu.org; Mon, 11 Jan 2021 15:44:01 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1kz42j-00053p-Qm for guix-patches@gnu.org; Mon, 11 Jan 2021 15:44:01 -0500 X-Loop: help-debbugs@gnu.org Subject: [bug#45796] [PATCH] shells: Add elvish Resent-From: Leo Prikler Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Mon, 11 Jan 2021 20:44:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 45796 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: aecepoglu Received: via spool by 45796-submit@debbugs.gnu.org id=B45796.161039778619379 (code B ref 45796); Mon, 11 Jan 2021 20:44:01 +0000 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> From: Leo Prikler 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-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: , Cc: 45796@debbugs.gnu.org Errors-To: guix-patches-bounces+larch=yhetil.org@gnu.org Sender: "Guix-patches" X-Migadu-Flow: FLOW_IN X-Migadu-Spam-Score: -1.25 Authentication-Results: aspmx1.migadu.com; dkim=fail (headers rsa verify failed) header.d=tugraz.at header.s=mailrelay header.b=l6Lo1e14; dmarc=fail reason="SPF not aligned (relaxed)" header.from=student.tugraz.at (policy=none); spf=pass (aspmx1.migadu.com: domain of guix-patches-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=guix-patches-bounces@gnu.org X-Migadu-Queue-Id: 604929402A9 X-Spam-Score: -1.25 X-Migadu-Scanner: scn1.migadu.com X-TUID: 3i6Mp3aCy+5w 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