gnu: emacs-use-package: Update to commit da8c9e2.

This update is needed because the release tarball from github does not
contain all the files needed for us to build the package.

* gnu/packages/emacs.scm (emacs-use-package): Update to commit da8c9e2.
[source]: change to git.
[arguments]: Enable tests.

Signed-off-by: Marius Bakke <mbakke@fastmail.com>
This commit is contained in:
Peter Mikkelsen 2018-06-29 14:26:56 +02:00 committed by Marius Bakke
parent b5f746d2da
commit abf3a33178
No known key found for this signature in database
GPG Key ID: A2A06DF2A33A54FA
1 changed files with 26 additions and 27 deletions

View File

@ -5792,35 +5792,34 @@ abbreviation of the mode line displays (lighters) of minor modes.")
(license license:gpl2+))) (license license:gpl2+)))
(define-public emacs-use-package (define-public emacs-use-package
(package (let ((commit "da8c9e2840343906e732f9699e43d35a1f06481d")
(name "emacs-use-package") (revision "1"))
(version "2.3") (package
(source (name "emacs-use-package")
(origin (version (git-version "2.3" revision commit))
(method url-fetch) (source (origin
(uri (string-append (method git-fetch)
"https://github.com/jwiegley/use-package/archive/" (uri (git-reference
version ".tar.gz")) (url "https://github.com/jwiegley/use-package")
(file-name (string-append name "-" version ".tar.gz")) (commit commit)))
(sha256 (file-name (git-file-name name version))
(base32 (sha256
"0x4h136jb3imyli6zsh7dyzjrra6pv0v6b0yk94jdng3rdfcmsf5")))) (base32
(build-system emacs-build-system) "0jz38pbq1p9h85i6qcsh3sfzkd103y6mw3rg5zd14dxigp8ir3xz"))))
(propagated-inputs (build-system emacs-build-system)
`(("emacs-diminish" ,emacs-diminish))) (propagated-inputs
(arguments `(("emacs-diminish" ,emacs-diminish)))
;; Tests fail in this release, but have been fixed in (arguments
;; upstream commit 7956d40eed57d6c06bef36ebc174cf57d934e30d `(#:tests? #t
`(#:tests? #f #:test-command '("emacs" "--batch"
#:test-command '("emacs" "--batch" "-l" "use-package-tests.el"
"-l" "use-package-tests.el" "-f" "ert-run-tests-batch-and-exit")))
"-f" "ert-run-tests-batch-and-exit"))) (home-page "https://github.com/jwiegley/use-package")
(home-page "https://github.com/jwiegley/use-package") (synopsis "Declaration for simplifying your .emacs")
(synopsis "Declaration for simplifying your .emacs") (description "The use-package macro allows you to isolate package
(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-strace-mode (define-public emacs-strace-mode
(let* ((commit "6a69b4b06db6797af56f33eda5cb28af94e59f11") (let* ((commit "6a69b4b06db6797af56f33eda5cb28af94e59f11")