all messages for Guix-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Jai Vetrivelan <jaivetrivelan@gmail.com>
To: 54500@debbugs.gnu.org
Subject: [bug#54500] [PATCH] gnu: emacs-arduino-mode: Update to 1.3.0.
Date: Mon, 21 Mar 2022 20:03:38 +0530	[thread overview]
Message-ID: <20220321143338.9596-1-jaivetrivelan@gmail.com> (raw)

* 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





             reply	other threads:[~2022-03-21 14:35 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-03-21 14:33 Jai Vetrivelan [this message]
2023-09-01 23:30 ` bug#54500: [PATCH] gnu: emacs-arduino-mode: Update to 1.3.0 Vagrant Cascadian

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20220321143338.9596-1-jaivetrivelan@gmail.com \
    --to=jaivetrivelan@gmail.com \
    --cc=54500@debbugs.gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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.