gnu: emacs-use-package: Update to 2.4.4.

* gnu/packages/emacs-xyz.scm (emacs-use-package): Update to 2.4.4.
This commit is contained in:
Nicolas Goaziou 2022-11-17 12:19:40 +01:00
parent 64062c77b1
commit 5a375fe48a
No known key found for this signature in database
GPG key ID: DA00B4F048E92F2D

View file

@ -15471,47 +15471,50 @@ abbreviation of the mode line displays (lighters) of minor modes.")
(license license:gpl3+)))) (license license:gpl3+))))
(define-public emacs-use-package (define-public emacs-use-package
(package ;; XXX: Upstream did not tag latest release. Using commit matching exact
(name "emacs-use-package") ;; version bump.
(version "2.4.1") (let ((commit "942617d26e11d80d879ff23d2a8b477bd074a734"))
(source (origin (package
(method git-fetch) (name "emacs-use-package")
(uri (git-reference (version "2.4.4")
(url "https://github.com/jwiegley/use-package") (source (origin
(commit version))) (method git-fetch)
(file-name (git-file-name name version)) (uri (git-reference
(sha256 (url "https://github.com/jwiegley/use-package")
(base32 (commit commit)))
"088kl3bml0rs5bkfymgzr15ram9qvy66h1kaisrbkynh0yxvf8g9")))) (file-name (git-file-name name version))
(build-system emacs-build-system) (sha256
(native-inputs (base32
(list texinfo)) "1zpf9xv65jg813k90x8g9k4lja896nqfh48pjinicmz1rn0rf51a"))))
(propagated-inputs (build-system emacs-build-system)
(list emacs-diminish)) (native-inputs
(arguments (list texinfo))
`(#:tests? #t (propagated-inputs
#:test-command '("emacs" "--batch" (list emacs-diminish))
"-l" "use-package-tests.el" (arguments
"-f" "ert-run-tests-batch-and-exit") `(#:tests? #t
#:phases #:test-command '("emacs" "--batch"
(modify-phases %standard-phases "-l" "use-package-tests.el"
(add-before 'install 'install-manual "-f" "ert-run-tests-batch-and-exit")
(lambda* (#:key outputs #:allow-other-keys) #:phases
(let* ((out (assoc-ref outputs "out")) (modify-phases %standard-phases
(info-dir (string-append out "/share/info"))) (add-before 'install 'install-manual
(mkdir-p info-dir) (lambda* (#:key outputs #:allow-other-keys)
(install-file "use-package.info" info-dir) (let* ((out (assoc-ref outputs "out"))
#t))) (info-dir (string-append out "/share/info")))
(add-before 'install-manual 'build-manual (mkdir-p info-dir)
(lambda _ (install-file "use-package.info" info-dir)
(invoke "makeinfo" "use-package.texi") #t)))
#t))))) (add-before 'install-manual 'build-manual
(home-page "https://github.com/jwiegley/use-package") (lambda _
(synopsis "Declaration for simplifying your .emacs") (invoke "makeinfo" "use-package.texi")
(description "The use-package macro allows you to isolate package #t)))))
(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 configuration in your @file{.emacs} file in a way that is both
performance-oriented and tidy.") performance-oriented and tidy.")
(license license:gpl2+))) (license license:gpl2+))))
(define-public emacs-leaf (define-public emacs-leaf
(package (package