unofficial mirror of guix-patches@gnu.org 
 help / color / mirror / code / Atom feed
* [bug#54500] [PATCH] gnu: emacs-arduino-mode: Update to 1.3.0.
@ 2022-03-21 14:33 Jai Vetrivelan
  2023-09-01 23:30 ` bug#54500: " Vagrant Cascadian
  0 siblings, 1 reply; 2+ messages in thread
From: Jai Vetrivelan @ 2022-03-21 14:33 UTC (permalink / raw)
  To: 54500

* 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





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

* bug#54500: [PATCH] gnu: emacs-arduino-mode: Update to 1.3.0.
  2022-03-21 14:33 [bug#54500] [PATCH] gnu: emacs-arduino-mode: Update to 1.3.0 Jai Vetrivelan
@ 2023-09-01 23:30 ` Vagrant Cascadian
  0 siblings, 0 replies; 2+ messages in thread
From: Vagrant Cascadian @ 2023-09-01 23:30 UTC (permalink / raw)
  To: Jai Vetrivelan, 54500-done

[-- Attachment #1: Type: text/plain, Size: 282 bytes --]

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

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 227 bytes --]

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

end of thread, other threads:[~2023-09-01 23:32 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-03-21 14:33 [bug#54500] [PATCH] gnu: emacs-arduino-mode: Update to 1.3.0 Jai Vetrivelan
2023-09-01 23:30 ` bug#54500: " Vagrant Cascadian

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).