From: Gabriel Wicki <gabriel@erlikon.ch>
To: Liliana Marie Prikler <liliana.prikler@gmail.com>
Cc: 63071@debbugs.gnu.org, andrew@trop.in
Subject: [bug#63071] [PATCH] gnu: Add emacs-riscv-mode
Date: Tue, 25 Apr 2023 21:14:58 +0200 [thread overview]
Message-ID: <20230425191458.dwuwvygyo3pmvrxq@blackbox> (raw)
In-Reply-To: <038cfa65746b53fd739bbbb2920064391e625ffe.camel@gmail.com>
Thanks, again :)
From b7e9ef4f2f19858ef5feca32bed72a77fd96c968 Mon Sep 17 00:00:00 2001
Message-Id: <b7e9ef4f2f19858ef5feca32bed72a77fd96c968.1682449915.git.gabriel@erlikon.ch>
From: Gabriel Wicki <gabriel@erlikon.ch>
Date: Tue, 25 Apr 2023 17:48:41 +0200
Subject: [PATCH] gnu: Add emacs-riscv-mode.
* gnu/packages/emacs-xyz.scm (emacs-riscv-mode): New variable.
---
gnu/packages/emacs-xyz.scm | 25 +++++++++++++++++++++++++
1 file changed, 25 insertions(+)
diff --git a/gnu/packages/emacs-xyz.scm b/gnu/packages/emacs-xyz.scm
index 7c8af093fc..588bc0248d 100644
--- a/gnu/packages/emacs-xyz.scm
+++ b/gnu/packages/emacs-xyz.scm
@@ -127,6 +127,7 @@
;;; Copyright © 2023 Dominik Delgado Steuter <d@delgado.nrw>
;;; Copyright © 2023 Juliana Sims <juli@incana.org>
;;; Copyright © 2023 Evgeny Pisemsky <evgeny@pisemsky.com>
+;;; Copyright © 2023 Gabriel Wicki <gabriel@erlikon.ch>
;;;
;;; This file is part of GNU Guix.
;;;
@@ -35854,6 +35855,30 @@ (define-public emacs-nasm-mode
Unlike Emacs' generic ASM mode, it understands NASM-specific syntax.")
(license license:unlicense)))
+(define-public emacs-riscv-mode
+ (let ((commit "8e335b9c93de93ed8dd063d702b0f5ad48eef6d7")
+ (revision "1"))
+ (package
+ (name "emacs-riscv-mode")
+ (version (git-version "0" revision commit))
+ (source (origin
+ (method git-fetch)
+ (uri (git-reference
+ (url "https://github.com/AdamNiederer/riscv-mode")
+ (commit commit)))
+ (file-name (git-file-name name version))
+ (sha256
+ (base32
+ "06jlf84mx49scw3zm1wjj25zinr2yr9abiyh83rli78wb1hdc0l4"))))
+ (build-system emacs-build-system)
+ (home-page "https://github.com/AdamNiederer/riscv-mode")
+ (synopsis "Emacs major mode for RISC-V assembly")
+ (description
+ "RISC-V mode is a major mode for editing RISC-V assembly programs.
+It includes syntax highlighting, syntactic indentation and code evaluation
+with spike.")
+ (license license:gpl3+))))
+
(define-public emacs-validate-html
;; XXX: Upstream did not tag commits yet. However, commit below matches the
;; last version bump. Version is extracted from the keyword in main file.
--
2.39.2
prev parent reply other threads:[~2023-04-25 23:45 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2023-04-25 17:23 [bug#63071] [PATCH] gnu: Add emacs-riscv-mode Gabriel Wicki
2023-04-25 15:48 ` Gabriel Wicki
2023-04-26 4:29 ` Andrew Tropin
2023-05-03 12:28 ` bug#63071: " Nicolas Goaziou
2023-04-25 18:21 ` [bug#63071] " Liliana Marie Prikler
2023-04-25 18:27 ` Gabriel Wicki
2023-04-25 19:07 ` Liliana Marie Prikler
2023-04-25 19:14 ` Gabriel Wicki [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20230425191458.dwuwvygyo3pmvrxq@blackbox \
--to=gabriel@erlikon.ch \
--cc=63071@debbugs.gnu.org \
--cc=andrew@trop.in \
--cc=liliana.prikler@gmail.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/guix.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.