From: jgart via Guix-patches via <guix-patches@gnu.org>
To: 59026@debbugs.gnu.org
Cc: jgart <jgart@dismail.de>
Subject: [bug#59026] [PATCH] gnu: Add emacs-zig-mode.
Date: Fri, 4 Nov 2022 15:52:25 -0500 [thread overview]
Message-ID: <20221104205225.7704-1-jgart@dismail.de> (raw)
* gnu/packages/emacs-xyz.scm (emacs-zig-mode): New variable.
---
gnu/packages/emacs-xyz.scm | 27 +++++++++++++++++++++++++++
1 file changed, 27 insertions(+)
diff --git a/gnu/packages/emacs-xyz.scm b/gnu/packages/emacs-xyz.scm
index 8478a47591..21480c4217 100644
--- a/gnu/packages/emacs-xyz.scm
+++ b/gnu/packages/emacs-xyz.scm
@@ -5517,6 +5517,33 @@ (define-public emacs-inf-ruby
appropriate console.")
(license license:gpl3+)))
+(define-public emacs-zig-mode
+ (let ((commit "dbc648f5bca8f3b9ca2cc7827f326f5530115144")
+ (revision "0"))
+ (package
+ (name "emacs-zig-mode")
+ (version (git-version "0.0.8" revision commit))
+ (source
+ (origin
+ (method git-fetch)
+ (uri (git-reference
+ (url "https://github.com/ziglang/zig-mode")
+ (commit commit)))
+ (file-name (git-file-name name version))
+ (sha256
+ (base32 "0hwkkwhc5b2pzyqa2h0xw8wxijsrp1fk70fhyv8hx19shzlc4la3"))))
+ (build-system emacs-build-system)
+ (arguments
+ `(#:tests? #t
+ #:emacs ,emacs
+ #:test-command '("./run-tests.sh")))
+ (home-page "https://github.com/ziglang/zig-mode/")
+ (synopsis "Zig mode for Emacs")
+ (description
+"Syntax highlighting and automatic indentation for the Zig programming
+language in Emacs.")
+ (license license:gpl3+))))
+
(define-public emacs-znc
(package
(name "emacs-znc")
--
2.38.1
next reply other threads:[~2022-11-04 21:05 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-11-04 20:52 jgart via Guix-patches via [this message]
2022-11-06 14:13 ` [bug#59026] [PATCH] gnu: Add emacs-zig-mode Nicolas Goaziou
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
List information: https://guix.gnu.org/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20221104205225.7704-1-jgart@dismail.de \
--to=guix-patches@gnu.org \
--cc=59026@debbugs.gnu.org \
--cc=jgart@dismail.de \
/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 public inbox
https://git.savannah.gnu.org/cgit/guix.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).