[bug#37350] Update emacs-interactive-align.
diff mbox series

Message ID CAAc=MEzyKTWK3BA=K444LT960WpGZ5ewiaAMX=Gp5Ov7iWXZ6w@mail.gmail.com
State New
Headers show
Series
  • [bug#37350] Update emacs-interactive-align.
Related show

Commit Message

Brian Leung Sept. 9, 2019, 4:48 a.m. UTC
See attached.

Comments

Ludovic Courtès Sept. 11, 2019, 12:15 p.m. UTC | #1
Hello,

Brian Leung <bkleung89@gmail.com> skribis:

> From fcdecc8e29fb4654d44c842a7efd4f266dde47ca Mon Sep 17 00:00:00 2001
> From: Brian Leung <bkleung89@gmail.com>
> Date: Mon, 9 Sep 2019 06:46:32 +0200
> Subject: [PATCH] gnu: emacs-interactive-align: Update to 0.4.2-1.e1308c8.
>
> * gnu/packages/emacs-xyz.scm (emacs-interactive-align): Update to 0.4.2-1.e1308c8.

Should we wait for the next upstream release instead of using what looks
like an arbitrary commit?

Thanks,
Ludo’.

Patch
diff mbox series

From fcdecc8e29fb4654d44c842a7efd4f266dde47ca Mon Sep 17 00:00:00 2001
From: Brian Leung <bkleung89@gmail.com>
Date: Mon, 9 Sep 2019 06:46:32 +0200
Subject: [PATCH] gnu: emacs-interactive-align: Update to 0.4.2-1.e1308c8.

* gnu/packages/emacs-xyz.scm (emacs-interactive-align): Update to 0.4.2-1.e1308c8.
---
 gnu/packages/emacs-xyz.scm | 37 ++++++++++++++++++++-----------------
 1 file changed, 20 insertions(+), 17 deletions(-)

diff --git a/gnu/packages/emacs-xyz.scm b/gnu/packages/emacs-xyz.scm
index f3de24d825..6f0cd221a7 100644
--- a/gnu/packages/emacs-xyz.scm
+++ b/gnu/packages/emacs-xyz.scm
@@ -13187,23 +13187,26 @@  compilation/grep buffers.  Works with @code{wgrep}, @code{ack}, @code{ag},
       (license license:gpl3+))))
 
 (define-public emacs-interactive-align
-  (package
-    (name "emacs-interactive-align")
-    (version "0.1.0")
-    (source
-     (origin
-       (method url-fetch)
-       (uri (string-append "https://github.com/mkcms/interactive-align/"
-                           "archive/" "v" version ".tar.gz"))
-       (file-name (string-append name "-" version ".tar.gz"))
-       (sha256
-        (base32
-         "0sibpgb4lp6yy3pziak8f3hz4b28yj0dqy2nzh51z3d0b63h528m"))))
-    (build-system emacs-build-system)
-    (home-page "https://github.com/mkcms/interactive-align/")
-    (synopsis "Interactive align-regexp command in Emacs")
-    (description "Interactive align-regexp command in Emacs")
-    (license license:gpl3+)))
+  (let ((commit "e1308c8f6aea05ad6dbcaa33b9bee4eb7e05ee39")
+        (revision "1"))
+    (package
+      (name "emacs-interactive-align")
+      (version (git-version "0.4.2" revision commit))
+      (source
+       (origin
+         (method git-fetch)
+         (uri (git-reference
+               (url "https://github.com/mkcms/interactive-align.git")
+               (commit commit)))
+         (file-name (git-file-name name version))
+         (sha256
+          (base32
+           "0b7a2z4v1nyyaw0lvql9xrakpsi1a6kflqr74k56ndm3ivmqwx09"))))
+      (build-system emacs-build-system)
+      (home-page "https://github.com/mkcms/interactive-align/")
+      (synopsis "Interactive align-regexp command in Emacs")
+      (description "Interactive align-regexp command in Emacs")
+      (license license:gpl3+))))
 
 (define-public emacs-shift-number
   (package
-- 
2.23.0