From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp10.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms0.migadu.com with LMTPS id EIi2Gtr87mHIEAEAgWs5BA (envelope-from ) for ; Mon, 24 Jan 2022 20:24:10 +0100 Received: from aspmx1.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp10.migadu.com with LMTPS id kL95E9r87mH1+QAAG6o9tA (envelope-from ) for ; Mon, 24 Jan 2022 20:24:10 +0100 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 5D7E01B90B for ; Mon, 24 Jan 2022 20:24:09 +0100 (CET) Received: from localhost ([::1]:47230 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1nC4wi-00022k-AC for larch@yhetil.org; Mon, 24 Jan 2022 14:24:08 -0500 Received: from eggs.gnu.org ([209.51.188.92]:46170) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nC4H2-00019L-TD for guix-patches@gnu.org; Mon, 24 Jan 2022 13:41:06 -0500 Received: from debbugs.gnu.org ([209.51.188.43]:52924) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1nC4H0-0004OD-Fa for guix-patches@gnu.org; Mon, 24 Jan 2022 13:41:04 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1nC4H0-0004PO-7G for guix-patches@gnu.org; Mon, 24 Jan 2022 13:41:02 -0500 X-Loop: help-debbugs@gnu.org Subject: [bug#53472] [PATCH v2] gnu: Add emacs-nim-mode References: <20220123133837.1035-1-paren@disroot.org> In-Reply-To: <20220123133837.1035-1-paren@disroot.org> Resent-From: "(unmatched-parenthesis" Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Mon, 24 Jan 2022 18:41:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 53472 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 53472@debbugs.gnu.org Cc: "\(unmatched-parenthesis" Received: via spool by 53472-submit@debbugs.gnu.org id=B53472.164304965616923 (code B ref 53472); Mon, 24 Jan 2022 18:41:02 +0000 Received: (at 53472) by debbugs.gnu.org; 24 Jan 2022 18:40:56 +0000 Received: from localhost ([127.0.0.1]:45827 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nC4Gu-0004Os-2m for submit@debbugs.gnu.org; Mon, 24 Jan 2022 13:40:56 -0500 Received: from knopi.disroot.org ([178.21.23.139]:60164) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nC4Gs-0004Of-0m for 53472@debbugs.gnu.org; Mon, 24 Jan 2022 13:40:55 -0500 Received: from localhost (localhost [127.0.0.1]) by disroot.org (Postfix) with ESMTP id 18C7710558; Mon, 24 Jan 2022 19:40:52 +0100 (CET) X-Virus-Scanned: SPAM Filter at disroot.org Received: from knopi.disroot.org ([127.0.0.1]) by localhost (disroot.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id H1p_AyzWnPff; Mon, 24 Jan 2022 19:40:50 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=disroot.org; s=mail; t=1643049648; bh=iPFaC6iD7p3T0j+TP44FHRc4u1T4xM2cqdnNV9t5n8Q=; h=From:To:Cc:Subject:Date; b=hq6yx/2z1ZM5xZ9dEOSaVuqd1zXX+mB4TYuDHsyi80GEviBIVtqKi/Cl+mNLr4OrQ wazvD4D8Rmey12Bsgxpyy6HDX2za8IdUNV0/8K+CGhHsmfSscwj8nD8YASxH8AJgOh GsQ2CcfFd/WbSrzWlIK/lumXOCgmh+INgB+6VLXGo/mCncfxczuMUAruJOaPEwcvYR xVpmBJQOZGXuR2/1y2Cxlc/EeowQPPRAm+an2Sg9YgOc2ePt/2LcTvyhb4+ed85WOH MdtgVq0HjW9vT4DbpkCazcRapZ/UmWzO/rPMKLupcb6a4Q1d4yUbrsJhiUQbS0dpe7 he3kFJvGzPQDA== Date: Mon, 24 Jan 2022 18:40:37 +0000 Message-Id: <20220124184037.21204-1-paren@disroot.org> Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 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: "\(unmatched-parenthesis" X-ACL-Warn: , "\(unmatched-parenthesis via Guix-patches" From: "\(unmatched-parenthesis via Guix-patches" via X-Migadu-Flow: FLOW_IN X-Migadu-Country: US ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1643052250; 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=ExXzI4oXqDZS4hsQs6Zd2yBBFIloNBQlC2nQzL/9jtk=; b=at0xx8jgHauW127Hiki1HZ7dW60ottBCOJxXuSvSlvnyQcahhl+xYAeSyJIbW78k1knla8 Aglru/UjTOgNOSiTKW/DOkUSxOIvCXQuqg7ujFYQoDnzhFmONo2tkq2H5Cj5BwRCOzlkpE JQDIwoC984pkAiKb5s51K8gc5lkHFal+x9mZaSbzo94+4wfFuZfnCSWeMDfoKy0vydhCKH Jbpif7ItxnZigLr+ybQNxIyq7PjdpXln89WhHzN4RG1kTp/+ccDLFnw2oICFilc4rOym+R HnmqaEkoCqD3dg3vuerq1X5+NqU7iT0khO7XKZLjhgHJHXncZxGtsEgURUqwlg== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1643052250; a=rsa-sha256; cv=none; b=IRJLFpv/G3MUH8zGaUwXn2/SQIBCWi0Jpoiv1QhgFrHZ4qggj9YpST/2i1s0KI2j0OyDYx FZ4/lpjJF7caXpAa5F+94uCED+M14rGPLgfUegOKUQ1S68PqXRWuikBKYYU4MHzcg7bxuI DNDVW5peWJX7ssBYL2FAZqgnJK3vSqsCDafMPg5eIrCQYZshPlFrSKw9fqMKQ6PWPQhe5A CrEvUY2faLetc/zKq4nO1vaPdLhgFnIJvlZyXqZaIlf66i8J68RXg6AbhUQXXEXqwieKv6 Tg48aOnzQX7yZ4O3Nd7ntd8kDWDY46LgrGchiqwdvgY1NCxMWY1rs7fu2DfeYQ== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=disroot.org header.s=mail header.b="hq6yx/2z"; dmarc=pass (policy=none) header.from=gnu.org; spf=pass (aspmx1.migadu.com: domain of "guix-patches-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-patches-bounces+larch=yhetil.org@gnu.org" X-Migadu-Spam-Score: -3.93 Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=disroot.org header.s=mail header.b="hq6yx/2z"; dmarc=pass (policy=none) header.from=gnu.org; spf=pass (aspmx1.migadu.com: domain of "guix-patches-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-patches-bounces+larch=yhetil.org@gnu.org" X-Migadu-Queue-Id: 5D7E01B90B X-Spam-Score: -3.93 X-Migadu-Scanner: scn0.migadu.com X-TUID: NYmxX0oGb6E1 Sorry about that! * gnu/packages/emacs-xyz.scm(emacs-nim-mode): New variable. --- gnu/packages/emacs-xyz.scm | 28 ++++++++++++++++++++++++++++ 1 file changed, 28 insertions(+) diff --git a/gnu/packages/emacs-xyz.scm b/gnu/packages/emacs-xyz.scm index 8edbfc5a3d..34ac0d4dae 100644 --- a/gnu/packages/emacs-xyz.scm +++ b/gnu/packages/emacs-xyz.scm @@ -107,6 +107,7 @@ ;;; Copyright © 2021 Brian Kubisiak ;;; Copyright © 2021, 2022 Taiju HIGASHI ;;; Copyright © 2022 Brandon Lucas +;;; Copyright © 2022 (unmatched parenthesis ;;; ;;; This file is part of GNU Guix. ;;; @@ -29837,3 +29838,30 @@ (define-public emacs-fennel-mode "Fennel mode provides font-lock, indentation, navigation, and REPL for Fennel code within Emacs.") (license license:gpl3+))) + +(define-public emacs-nim-mode + (let ((commit "744e076f0bea1c5ddc49f92397d9aa98ffa7eff8") + (revision "0")) + (package + (name "emacs-nim-mode") + (version (git-version "0.4.1" revision commit)) + (source + (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/nim-lang/nim-mode") + (commit commit))) + (sha256 + (base32 "0dwas3ivhxdyw6njkcadc8c17cirq325cmby04qls8zkmrvlil1w")))) + (build-system emacs-build-system) + (home-pace "https://github.com/nim-lang/nim-mode") + (synosis "Major mode for editing Nim source code") + (description "This package provides major modes for Nim: ++@itemize ++@item Syntax highlighting for Nim code, Nimble configuration files, and nim.cfg ++@item `M-x nim-compile`, which can also be invoked with `C-c C-c` inside a Nim source file ++@item File outline by procedures ++@item Indentation and line breaking (alpha) ++@item Integration with nimsuggest, the Nim linting and completion server (alpha, both nimsuggest-mode and nimsuggest itself are currently VERY unstable and may make emacs much less responsive) ++@end itemize") + (license license:gpl3+)))) -- 2.34.0