emacs-bug-tracker
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

bug#59026: closed ([PATCH] gnu: Add emacs-zig-mode.)


From: GNU bug Tracking System
Subject: bug#59026: closed ([PATCH] gnu: Add emacs-zig-mode.)
Date: Sun, 06 Nov 2022 14:14:04 +0000

Your message dated Sun, 06 Nov 2022 15:13:23 +0100
with message-id <874jvcmarg.fsf@nicolasgoaziou.fr>
and subject line Re: [bug#59026] [PATCH] gnu: Add emacs-zig-mode.
has caused the debbugs.gnu.org bug report #59026,
regarding [PATCH] gnu: Add emacs-zig-mode.
to be marked as done.

(If you believe you have received this mail in error, please contact
help-debbugs@gnu.org.)


-- 
59026: https://debbugs.gnu.org/cgi/bugreport.cgi?bug=59026
GNU Bug Tracking System
Contact help-debbugs@gnu.org with problems
--- Begin Message --- Subject: [PATCH] gnu: Add emacs-zig-mode. Date: Fri, 4 Nov 2022 15:52:25 -0500
* 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




--- End Message ---
--- Begin Message --- Subject: Re: [bug#59026] [PATCH] gnu: Add emacs-zig-mode. Date: Sun, 06 Nov 2022 15:13:23 +0100 User-agent: Gnus/5.13 (Gnus v5.13) Emacs/28.2 (gnu/linux)
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


--- End Message ---

reply via email to

[Prev in Thread] Current Thread [Next in Thread]