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