diff mbox series

[bug#55650] gnu: emacs-benchmark-init: Update to 1.0-0243556.

Message ID 20220526013903.1456-1-dom@dominicm.dev
State Accepted
Headers show
Series [bug#55650] gnu: emacs-benchmark-init: Update to 1.0-0243556. | expand

Checks

Context Check Description
cbaines/comparison success View comparision
cbaines/git branch success View Git branch
cbaines/applying patch success View Laminar job
cbaines/issue success View issue

Commit Message

Dominic Martinez May 26, 2022, 1:39 a.m. UTC
* gnu/packages/emacs-xyz.scm (emacs-benchmark-init): Update to
1.0-0243556. Fixes build on emacs 28.
---

benchmark-init currently fails to build on emacs 28, but newer versions work correctly. Unfortunately the repo doesn't tag releases so a commit is specified.

 gnu/packages/emacs-xyz.scm | 36 +++++++++++++++++++-----------------
 1 file changed, 19 insertions(+), 17 deletions(-)

Comments

Ludovic Courtès June 3, 2022, 9:51 p.m. UTC | #1
Dominic Martinez <dom@dominicm.dev> skribis:

> * gnu/packages/emacs-xyz.scm (emacs-benchmark-init): Update to
> 1.0-0243556. Fixes build on emacs 28.
> ---
>
> benchmark-init currently fails to build on emacs 28, but newer versions work correctly. Unfortunately the repo doesn't tag releases so a commit is specified.

Applied, thanks!
diff mbox series

Patch

diff --git a/gnu/packages/emacs-xyz.scm b/gnu/packages/emacs-xyz.scm
index 2191b05ea5..53d347c2c1 100644
--- a/gnu/packages/emacs-xyz.scm
+++ b/gnu/packages/emacs-xyz.scm
@@ -20224,24 +20224,26 @@  (define-public emacs-suggest
     (license license:gpl3+)))
 
 (define-public emacs-benchmark-init
-  (package
-    (name "emacs-benchmark-init")
-    (version "1.0")
-    (source
-     (origin
-       (method git-fetch)
-       (uri (git-reference
-             (url "https://github.com/dholm/benchmark-init-el")
-             (commit version)))
-       (file-name (git-file-name name version))
-       (sha256
-        (base32 "1kyn1izm5sbqbp9whnhk9dn3yc7zy8bz5san5w3ivi3rpx15fh94"))))
-    (build-system emacs-build-system)
-    (home-page "https://github.com/dholm/benchmark-init-el")
-    (synopsis "Benchmark Emacs @code{require} and @code{load} calls")
-    (description "@code{benchmark-init} provides a way to keep track of where
+  (let ((commit "02435560415bbadbcf5051fb7042880549170e7e")
+        (revision "1"))
+    (package
+      (name "emacs-benchmark-init")
+      (version (git-version "1.0" revision commit))
+      (source
+       (origin
+         (method git-fetch)
+         (uri (git-reference
+               (url "https://github.com/dholm/benchmark-init-el")
+               (commit commit)))
+         (file-name (git-file-name name version))
+         (sha256
+          (base32 "19375vamhld4xm2qrdmhlp2nczfvalmz9x6ahl23zwkilr8n1nbw"))))
+      (build-system emacs-build-system)
+      (home-page "https://github.com/dholm/benchmark-init-el")
+      (synopsis "Benchmark Emacs @code{require} and @code{load} calls")
+      (description "@code{benchmark-init} provides a way to keep track of where
 time is being spent during Emacs startup in order to optimize startup time.")
-    (license license:gpl3+)))
+      (license license:gpl3+))))
 
 (define-public emacs-magit-gerrit
   (package