From patchwork Mon Jan 11 18:23:43 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: aecepoglu X-Patchwork-Id: 26320 Return-Path: X-Original-To: patchwork@mira.cbaines.net Delivered-To: patchwork@mira.cbaines.net Received: by mira.cbaines.net (Postfix, from userid 113) id 799CF27BC10; Mon, 11 Jan 2021 19:42:54 +0000 (GMT) X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on mira.cbaines.net X-Spam-Level: X-Spam-Status: No, score=-2.8 required=5.0 tests=BAYES_00,DKIM_SIGNED, FREEMAIL_FROM,MAILING_LIST_MULTI,RCVD_IN_MSPIKE_H4,RCVD_IN_MSPIKE_WL, SPF_HELO_PASS,T_DKIM_INVALID,URIBL_BLOCKED autolearn=unavailable autolearn_force=no version=3.4.2 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mira.cbaines.net (Postfix) with ESMTPS id BA3BE27BC0F for ; Mon, 11 Jan 2021 19:42:53 +0000 (GMT) Received: from localhost ([::1]:53262 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1kz35Y-0002RH-PU for patchwork@mira.cbaines.net; Mon, 11 Jan 2021 14:42:52 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]:50254) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kz2ee-0001dH-H2 for guix-patches@gnu.org; Mon, 11 Jan 2021 14:15:05 -0500 Received: from debbugs.gnu.org ([209.51.188.43]:46750) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1kz2eb-0008LO-RV for guix-patches@gnu.org; Mon, 11 Jan 2021 14:15:03 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1kz2eb-0002ns-N7 for guix-patches@gnu.org; Mon, 11 Jan 2021 14:15:01 -0500 X-Loop: help-debbugs@gnu.org Subject: [bug#45796] [PATCH] shells: Add elvish Resent-From: aecepoglu Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Mon, 11 Jan 2021 19:15:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 45796 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 45796@debbugs.gnu.org X-Debbugs-Original-To: guix-patches@gnu.org Received: via spool by submit@debbugs.gnu.org id=B.161039245910707 (code B ref -1); Mon, 11 Jan 2021 19:15:01 +0000 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 Message-ID: <20210111182343.2ranmmefi3xbbxsq@minitower> MIME-Version: 1.0 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-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 X-Mailman-Approved-At: Mon, 11 Jan 2021 14:23:28 -0500 X-BeenThere: guix-patches@gnu.org List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-patches-bounces+patchwork=mira.cbaines.net@gnu.org Sender: "Guix-patches" X-getmail-retrieved-from-mailbox: Patches --- 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")