Subject: [PATCH 2/2] gnu: Add emacs-devicetree-ts-mode.

From: Aleksandr Vityazev <[email-masked]>
Date: Wed, 17 Jan 2024 21:01:16 +0300

* gnu/packages/emacs-xyz.scm (emacs-devicetree-ts-mode): New variable.
Update copyright.
---
 gnu/packages/emacs-xyz.scm | 25 ++++++++++++++++++++++++-
 1 file changed, 24 insertions(+), 1 deletion(-)

diff --git a/gnu/packages/emacs-xyz.scm b/gnu/packages/emacs-xyz.scm
index 1d99fb30ff..1ffbd3ed5d 100644
--- a/gnu/packages/emacs-xyz.scm
+++ b/gnu/packages/emacs-xyz.scm
@@ -90,7 +90,7 @@
 ;;; Copyright © 2020 Jonathan Rostran <[email-masked]>
 ;;; Copyright © 2020, 2021 Noah Evans <[email-masked]>
 ;;; Copyright © 2020 Brit Butler <[email-masked]>
-;;; Copyright © 2021, 2022 Aleksandr Vityazev <[email-masked]>
+;;; Copyright © 2021, 2022, 2024 Aleksandr Vityazev <avityazev@disroot>
 ;;; Copyright © 2021 Yurii Kholodkov <[email-masked]>
 ;;; Copyright © 2021 Alexey Abramov <[email-masked]>
 ;;; Copyright © 2021 Xinglu Chen <[email-masked]>
@@ -26231,6 +26231,29 @@ (define-public emacs-dts-mode
 device tree files.")
     (license license:gpl3+)))
 
+(define-public emacs-devicetree-ts-mode
+  (package
+    (name "emacs-devicetree-ts-mode")
+    (version "0.3")
+    (source
+     (origin
+       (method git-fetch)
+       (uri (git-reference
+             (url "https://git.sr.ht/~akagi/devicetree-ts-mode")
+             (commit version)))
+       (file-name (git-file-name name version))
+       (sha256
+        (base32
+         "1aif25hqs9i1aax331s4p8b59kxrq584ynfnh640p43jzmqf5p3d"))))
+    (build-system emacs-build-system)
+    (propagated-inputs
+     (list tree-sitter-devicetree))
+    (home-page "https://sr.ht/~akagi/devicetree-ts-mode")
+    (synopsis "Tree-sitter major mode for editing DTS files")
+    (description "This package provides tree-sitter major mode
+for editing Devicetree files.")
+    (license license:gpl3+)))
+
 (define-public emacs-daemons
   (package
     (name "emacs-daemons")

base-commit: b3e0a973bca6fe5de7356f3d70c4b7d468b0a759
prerequisite-patch-id: e1db0107f090297757e8a5b96f5d5b9687151eda
-- 
2.41.0

-- 
Best regards,
Aleksandr Vityazev