all messages for Guix-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* [bug#59026] [PATCH] gnu: Add emacs-zig-mode.
@ 2022-11-04 20:52 jgart via Guix-patches via
  2022-11-06 14:13 ` Nicolas Goaziou
  0 siblings, 1 reply; 2+ messages in thread
From: jgart via Guix-patches via @ 2022-11-04 20:52 UTC (permalink / raw)
  To: 59026; +Cc: jgart

* 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





^ permalink raw reply related	[flat|nested] 2+ messages in thread

* [bug#59026] [PATCH] gnu: Add emacs-zig-mode.
  2022-11-04 20:52 [bug#59026] [PATCH] gnu: Add emacs-zig-mode jgart via Guix-patches via
@ 2022-11-06 14:13 ` Nicolas Goaziou
  0 siblings, 0 replies; 2+ messages in thread
From: Nicolas Goaziou @ 2022-11-06 14:13 UTC (permalink / raw)
  To: 59026; +Cc: jgart, 59026-done

Hello,

jgart via Guix-patches via <guix-patches@gnu.org> writes:

> * gnu/packages/emacs-xyz.scm (emacs-zig-mode): New variable.

Thank you. Applied with the following change.

> +      (description
> +"Syntax highlighting and automatic indentation for the Zig programming
> +language in Emacs.")

"This package provides..."

Regards,
-- 
Nicolas Goaziou




^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2022-11-06 14:14 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2022-11-04 20:52 [bug#59026] [PATCH] gnu: Add emacs-zig-mode jgart via Guix-patches via
2022-11-06 14:13 ` Nicolas Goaziou

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.