Subject: bug#54500: closed (Re: [bug#54500] [PATCH] gnu: emacs-arduino-mode: Update to 1.3.0.)

From: [email-masked] (GNU bug Tracking System)
Date: Fri, 01 Sep 2023 23:32:03 +0000

Your bug report

#54500: [PATCH] gnu: emacs-arduino-mode: Update to 1.3.0.

which was filed against the guix-patches package, has been closed.

The explanation is attached below, along with your original report.
If you require more details, please reply to [email-masked].

-- 
54500: https://debbugs.gnu.org/cgi/bugreport.cgi?bug=54500
GNU Bug Tracking System
Contact [email-masked] with problems

Subject: Re: [bug#54500] [PATCH] gnu: emacs-arduino-mode: Update to 1.3.0.
From: Vagrant Cascadian <[email-masked]>
To: Jai Vetrivelan <[email-masked]>, [email-masked]
Date: Fri, 01 Sep 2023 16:30:35 -0700
List-Id: <debbugs-submit.debbugs.gnu.org>

On 2022-03-21, Jai Vetrivelan wrote:
> * gnu/packages/emacs-xyz.scm (emacs-arduino-mode): Update to 1.3.0.

A newer version based on git was added:

b07180a13b97bf9108f84e9602b1310a21699845 gnu: emacs-arduino-mode: Update to 1.3.0-0-652c6a3.

Marking as done.

live well,
  vagrant

Subject: [PATCH] gnu: emacs-arduino-mode: Update to 1.3.0.
From: Jai Vetrivelan <[email-masked]>
To: [email-masked]
Date: Mon, 21 Mar 2022 20:03:38 +0530
List-Id: <debbugs-submit.debbugs.gnu.org>

* gnu/packages/emacs-xyz.scm (emacs-arduino-mode): Update to 1.3.0.
---
 gnu/packages/emacs-xyz.scm | 49 +++++++++++++-------------------------
 1 file changed, 17 insertions(+), 32 deletions(-)

diff --git a/gnu/packages/emacs-xyz.scm b/gnu/packages/emacs-xyz.scm
index 42fc13f4c2..6efe9e9613 100644
--- a/gnu/packages/emacs-xyz.scm
+++ b/gnu/packages/emacs-xyz.scm
@@ -23408,38 +23408,23 @@ (define-public emacs-frame-purpose
     (license license:gpl3+)))
 
 (define-public emacs-arduino-mode
-  (let ((commit "23ae47c9f28f559e70b790b471f20310e163a39b")
-        (revision "1"))                 ;no release yet
-    (package
-      (name "emacs-arduino-mode")
-      (version (git-version "0" revision commit))
-      (source
-       (origin
-         (method git-fetch)
-         (uri (git-reference
-               (url "https://github.com/stardiviner/arduino-mode")
-               (commit commit)))
-         (sha256
-          (base32 "08vnbz9gpah1l93fzfd87aawrhcnh2v1kyfxgsn88pdwg8awz8rx"))
-         (file-name (git-file-name name version))))
-      (build-system emacs-build-system)
-      (arguments
-       `(#:phases
-         (modify-phases %standard-phases
-           ;; Emacs complains that "defmethod" and "defgeneric" are obsolete
-           ;; macros when compiling. Substitute them with the recommended
-           ;; macros "cl-defmethod" and "cl-defgeneric", respectively.
-           (add-after 'unpack 'fix-obsolete
-             (lambda _
-               (substitute* "ede-arduino.el"
-                 (("defmethod") "cl-defmethod")
-                 (("defgeneric") "cl-defgeneric")))))))
-      (inputs
-       (list emacs-flycheck emacs-spinner))
-      (synopsis "Emacs major mode for editing Arduino sketches")
-      (description "Emacs major mode for editing Arduino sketches.")
-      (home-page "https://github.com/stardiviner/arduino-mode")
-      (license license:gpl3+))))
+  (package
+    (name "emacs-arduino-mode")
+    (version "1.3.0")
+    (source (origin
+              (method url-fetch)
+              (uri (string-append "https://elpa.nongnu.org/nongnu/arduino-mode-"
+                                  version ".tar"))
+              (sha256
+               (base32
+                "1270mbjgj0kmmjqqblwaipmd2667yp31mgspib3c5d7d6acs1bfx"))))
+    (build-system emacs-build-system)
+    (inputs
+     (list emacs-flycheck emacs-spinner))
+    (synopsis "Emacs major mode for editing Arduino sketches")
+    (description "Emacs major mode for editing Arduino sketches.")
+    (home-page "https://elpa.nongnu.org/nongnu/arduino-mode.html")
+    (license license:gpl3+)))
 
 (define-public emacs-annalist
   (package
-- 
2.34.0