From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp1 ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms0.migadu.com with LMTPS id IL0ZGJ4g22ABKAEAgWs5BA (envelope-from ) for ; Tue, 29 Jun 2021 15:31:10 +0200 Received: from aspmx1.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp1 with LMTPS id SFbLE54g22ASegAAbx9fmQ (envelope-from ) for ; Tue, 29 Jun 2021 13:31:10 +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 DBD5B2B633 for ; Tue, 29 Jun 2021 15:31:09 +0200 (CEST) Received: from localhost ([::1]:58990 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lyDpU-0000U3-LM for larch@yhetil.org; Tue, 29 Jun 2021 09:31:08 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:39430) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lyDpO-0000RM-J3 for guix-patches@gnu.org; Tue, 29 Jun 2021 09:31:03 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:42400) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1lyDpN-0007BV-WF for guix-patches@gnu.org; Tue, 29 Jun 2021 09:31:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1lyDpN-0005TR-Qr for guix-patches@gnu.org; Tue, 29 Jun 2021 09:31:01 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#49273] [PATCH 1/1] gnu: Add emacs-rustic. Resent-From: Dhruvin Gandhi Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Tue, 29 Jun 2021 13:31:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 49273 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 49273@debbugs.gnu.org Cc: Dhruvin Gandhi Received: via spool by 49273-submit@debbugs.gnu.org id=B49273.162497342420992 (code B ref 49273); Tue, 29 Jun 2021 13:31:01 +0000 Received: (at 49273) by debbugs.gnu.org; 29 Jun 2021 13:30:24 +0000 Received: from localhost ([127.0.0.1]:53946 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lyDol-0005SV-Dv for submit@debbugs.gnu.org; Tue, 29 Jun 2021 09:30:23 -0400 Received: from mout-p-101.mailbox.org ([80.241.56.151]:30732) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lyDoi-0005SF-6U for 49273@debbugs.gnu.org; Tue, 29 Jun 2021 09:30:21 -0400 Received: from smtp2.mailbox.org (smtp2.mailbox.org [80.241.60.241]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange ECDHE (P-384) server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by mout-p-101.mailbox.org (Postfix) with ESMTPS id 4GDlhk24m9zQjcR; Tue, 29 Jun 2021 15:30:14 +0200 (CEST) X-Virus-Scanned: amavisd-new at heinlein-support.de DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=dhruvin.dev; s=MBO0001; t=1624973412; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=osYx/kOWmQGx7/DV/jC/tnqPyv2zo+kowIg3YazqpGw=; b=cOElkAZwHtjnES6LbKshF1StA0Sn/pSM0CcwkN+eDFyrioNGZ5bPY5CAcMNY8jeLQS5FSY pi9kcdbR+S83YGm1aDfqWoGt10Tz/+9oLAgXYnWj+iqu6L1kJcqvNu5+KxCu1xHThgtQz6 8Zg23ZBtU6fod9DHdSAvrGt0IlPUcTIPVc/HdQ/Hbw4nHuEfju/aJenxSOYagooeDEdBLl 3cTUdyvI3WkwX2X1rpnHydqjota+9Bg4sOLga17n9qmIpXLxM/eTZNleQ127AxEIAxHfid Qm9XuWHpFIL7BeBQ7V1TfVSSGFHoZg2N4X/x+oavYwlYt5hMn2SS8ny6OwJ//w== Received: from smtp2.mailbox.org ([80.241.60.241]) by spamfilter02.heinlein-hosting.de (spamfilter02.heinlein-hosting.de [80.241.56.116]) (amavisd-new, port 10030) with ESMTP id eOoD6YbItBJ9; Tue, 29 Jun 2021 15:30:10 +0200 (CEST) Date: Tue, 29 Jun 2021 18:59:35 +0530 Message-Id: <20210629132935.10068-1-contact@dhruvin.dev> In-Reply-To: <20210629132522.9892-1-contact@dhruvin.dev> References: <20210629132522.9892-1-contact@dhruvin.dev> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-MBO-SPAM-Probability: X-Rspamd-Score: -5.75 / 15.00 / 15.00 X-Rspamd-Queue-Id: 0E90E181F X-Rspamd-UID: e66db4 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" Reply-to: Dhruvin Gandhi X-ACL-Warn: , Dhruvin Gandhi via Guix-patches From: Dhruvin Gandhi via Guix-patches via X-Migadu-Flow: FLOW_IN ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1624973470; h=from:from:sender:sender:reply-to:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-type:content-type: content-transfer-encoding:content-transfer-encoding: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:dkim-signature; bh=osYx/kOWmQGx7/DV/jC/tnqPyv2zo+kowIg3YazqpGw=; b=DkV93fZ37bSeEucjmTQ4OfupdcOtbrSaiBZt7hGyWU65HJxvAoOBm8ngUhPdPwZjoa2/HS oT3JZClHOCxLa51dsRlHcMPrN1cZ/7mEHe2BS5Xyjz83Sf1SbtYm7A9i9euuP/UNN1Xfva fDO614VqNuOwbKVH5lPwibLwYb21h/5k1/yjm2xqSFCmvJij09k8hBApGbCM3HeF32jerO N4ldVvCl6C5c2A5L+5AzbtDR33y1sBxhF6sPm9iP6M4JOZmnfrMCv8IEW85ZIO3GXAMbbo fCHNQZ2OGJ5E9DZN71aKOkBRe4WzBmvmFE3aBmVXYFLTxM1L3VPiyXrENc5cWQ== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1624973470; a=rsa-sha256; cv=none; b=TxzKFe2wDgOfwCj8hdIIoDCaq4Kl1I1VQUBk6xYCT4cQmbyi64f/o5ifhnHREIvV+O5B0Y Hx0WyosH7kGvsk+X7nxV9dsW4MWOqIMO8eR+rLQk0UMdGl9o4+nTMX5UEJOajj4M6ICFbG mqbxLKbJWxvk3ZDyNVA0ev09lbgg/90CmZSzfZC2kPs2f5yvvceqqJeLikuYsyXYd4KqB7 EPwwjZphE4shFc8xkbHOLyl9KEs9lk4cb75I6nbP0HrxcjCCXy/V4DgQ9q0chbxlUXZRh1 9jqKFja0srrutbVUHQfLdwI93eGh4bcEhH767VuQeaW5X55YONACLW4mFFAXXQ== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=dhruvin.dev header.s=MBO0001 header.b=cOElkAZw; dmarc=pass (policy=none) header.from=gnu.org; 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-Spam-Score: -2.92 Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=dhruvin.dev header.s=MBO0001 header.b=cOElkAZw; dmarc=pass (policy=none) header.from=gnu.org; 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: DBD5B2B633 X-Spam-Score: -2.92 X-Migadu-Scanner: scn0.migadu.com X-TUID: KJblIrRvZQqL * gnu/packages/emacs-xyz.scm (emacs-rustic): New variable. --- gnu/packages/emacs-xyz.scm | 57 ++++++++++++++++++++++++++++++++++++++ 1 file changed, 57 insertions(+) diff --git a/gnu/packages/emacs-xyz.scm b/gnu/packages/emacs-xyz.scm index ab04992fad..6d8bafceae 100644 --- a/gnu/packages/emacs-xyz.scm +++ b/gnu/packages/emacs-xyz.scm @@ -99,6 +99,7 @@ ;;; Copyright © 2021 Eugene Klimov ;;; Copyright © 2021 Zheng Junjie <873216071@qq.com> ;;; Copyright © 2021 David Dashyan +;;; Copyright © 2021 Dhruvin Gandhi ;;; ;;; This file is part of GNU Guix. ;;; @@ -21039,6 +21040,62 @@ source code.") (license (list license:expat license:asl2.0)))) +(define-public emacs-rustic + (let ((commit "bbf129cd128105de51b6c242b2551094b8d8987d") + (revision "0")) + (package + (name "emacs-rustic") + (version (git-version "1.3" revision commit)) + (source (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/brotzeit/rustic") + (commit commit))) + (file-name (git-file-name name version)) + (sha256 + (base32 + "09dnlvi8kf683n6q3yp4gy9d4idiyg4x6rcij8d90cvygh8i30wd")))) + (build-system emacs-build-system) + (propagated-inputs + `(("emacs-dash" ,emacs-dash) + ("emacs-f" ,emacs-f) + ("emacs-flycheck" ,emacs-flycheck) + ("emacs-lsp-mode" ,emacs-lsp-mode) + ("emacs-markdown-mode" ,emacs-markdown-mode) + ("emacs-project" ,emacs-project) + ("emacs-s" ,emacs-s) + ("emacs-spinner" ,emacs-spinner) + ("emacs-xterm-color" ,emacs-xterm-color))) + (arguments + ;; Tests require rust, cargo, rustfmt, and various crates to be + ;; vendored. + `(#:tests? #f + #:phases + (modify-phases %standard-phases + (add-before 'check 'set-without-cask + (lambda _ + (setenv "WITHOUT_CASK" "1") + #t))))) + (home-page "https://github.com/brotzeit/rustic") + (synopsis "Rust development environment for Emacs") + (description "Rustic is a fork of rust-mode. + +Differences with rust-mode: +@itemize +@item flycheck integration +@item cargo popup +@item multiline error parsing +@item translation of ANSI control sequences through xterm-color +@item async org babel +@item custom compilation process +@item rustfmt errors in a rust compilation mode +@item automatic LSP configuration with eglot or lsp-mode +@item optional rust inline documentation +@item etc. +@end itemize\n") + (license (list license:expat + license:asl2.0))))) + (define-public emacs-ztree ;; Upstream provides no tag, but the commit below matches latest release. (let ((commit "c9ad9136d52ca5a81475693864e255d29448f43f")) -- 2.32.0