guix_mirror_bot pushed a commit to branch emacs-team
in repository guix.

commit f8138523501cce4458c495621eb87a7c49897f38
Author: Cayetano Santos <[email protected]>
AuthorDate: Mon Aug 31 09:31:43 2026 +0200

    gnu: emacs-use-package: Update to 2.4.6.
    
    * gnu/packages/emacs-xyz.scm (emacs-use-package): Update to 2.4.6.
    [source]: Switch to url-fetch.
    [arguments]: Disable #:tests? and delete #:test-command.
    [propagated-inputs]: Remove emacs-diminish.
    
    Signed-off-by: Liliana Marie Prikler <[email protected]>
---
 gnu/packages/emacs-xyz.scm | 67 ++++++++++++++++++++--------------------------
 1 file changed, 29 insertions(+), 38 deletions(-)

diff --git a/gnu/packages/emacs-xyz.scm b/gnu/packages/emacs-xyz.scm
index 980f75e49d..3c16f352de 100644
--- a/gnu/packages/emacs-xyz.scm
+++ b/gnu/packages/emacs-xyz.scm
@@ -24867,46 +24867,37 @@ abbreviation of the mode line displays (lighters) of 
minor modes.")
       (license license:gpl3+))))
 
 (define-public emacs-use-package
-  ;; XXX: Upstream did not tag latest release.  Using commit matching exact
-  ;; version bump.
-  (let ((commit "942617d26e11d80d879ff23d2a8b477bd074a734"))
-    (package
-      (name "emacs-use-package")
-      (version "2.4.4")
-      (source (origin
-                (method git-fetch)
-                (uri (git-reference
-                      (url "https://github.com/jwiegley/use-package";)
-                      (commit commit)))
-                (file-name (git-file-name name version))
-                (sha256
-                 (base32
-                  "1zpf9xv65jg813k90x8g9k4lja896nqfh48pjinicmz1rn0rf51a"))))
-      (build-system emacs-build-system)
-      (arguments
-       (list
-        #:test-command #~(list "emacs" "--batch"
-                               "-l" "use-package-tests.el"
-                               "-f" "ert-run-tests-batch-and-exit")
-        #:phases
-        #~(modify-phases %standard-phases
-            (add-before 'install 'install-manual
-              (lambda _
-                (let ((info-dir (string-append #$output "/share/info")))
-                  (install-file "use-package.info" info-dir))))
-            (add-before 'install-manual 'build-manual
-              (lambda _
-                (invoke "makeinfo" "use-package.texi"))))))
-      (native-inputs
-       (list texinfo))
-      (propagated-inputs
-       (list emacs-diminish))
-      (home-page "https://github.com/jwiegley/use-package";)
-      (synopsis "Declaration for simplifying your .emacs")
-      (description "The use-package macro allows you to isolate package
+  (package
+    (name "emacs-use-package")
+    (version "2.4.6")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (string-append "https://elpa.gnu.org/packages/use-package-";
+                           version ".tar"))
+       (sha256
+        (base32 "0idy78mpg9zikjqfg431q7fd34mwz18blvp6yq1bf29q582a9jyf"))))
+    (build-system emacs-build-system)
+    (arguments
+     (list
+      #:tests? #f
+      #:phases
+      #~(modify-phases %standard-phases
+          (add-before 'install 'install-manual
+            (lambda _
+              (let ((info-dir (string-append #$output "/share/info")))
+                (install-file "use-package.info" info-dir))))
+          (add-before 'install-manual 'build-manual
+            (lambda _
+              (invoke "makeinfo" "use-package.texi"))))))
+    (native-inputs
+     (list texinfo))
+    (home-page "https://github.com/jwiegley/use-package";)
+    (synopsis "Declaration for simplifying your .emacs")
+    (description "The use-package macro allows you to isolate package
 configuration in your @file{.emacs} file in a way that is both
 performance-oriented and tidy.")
-      (license license:gpl2+))))
+    (license license:gpl2+)))
 
 (define-public emacs-leaf
   (package

Reply via email to