summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorYelninei <yelninei@tutamail.com>2026-02-08 18:21:07 +0000
committerCayetano Santos <csantosb@inventati.org>2026-02-19 07:34:06 +0100
commit610227591de92f779103ce63339eeed5022bd2c7 (patch)
tree5c64e26b672712f25748cc29f345d5947f6fecc9
parentabd5648c14d077a1e005f7b3ddcf2f13075cc310 (diff)
gnu: emacs-d-mode: Update to 2.0.12-1.a4f9026.
* gnu/packages/emacs-xyz.scm (emacs-d-mode): Update to 2.0.12-1.a4f9026. [arguments]: Remove #:tests? and add ’skip-failing-tests #:phase. [propagated-inputs]: Remove emacs-undercover. Merges guix/guix!6252 Change-Id: Ieff45170e368d060e511a40aa7bf350424d74fc3 Modified-by: Cayetano Santos <csantosb@inventati.org> Signed-off-by: Cayetano Santos <csantosb@inventati.org>
-rw-r--r--gnu/packages/emacs-xyz.scm57
1 files changed, 33 insertions, 24 deletions
diff --git a/gnu/packages/emacs-xyz.scm b/gnu/packages/emacs-xyz.scm
index 57cad163a06..e3e9a086a24 100644
--- a/gnu/packages/emacs-xyz.scm
+++ b/gnu/packages/emacs-xyz.scm
@@ -8047,31 +8047,40 @@ evaluations. The entry point is @code{M-x build-farm} command.")
(license license:gpl3+)))
(define-public emacs-d-mode
- (package
- (name "emacs-d-mode")
- (version "2.0.12")
- (source
- (origin
- (method git-fetch)
- (uri (git-reference
- (url "https://github.com/Emacs-D-Mode-Maintainers/Emacs-D-Mode")
- (commit version)))
- (file-name (git-file-name name version))
- (sha256
- (base32 "0mwd412d2kha8avkyhvvkh8r7an859xk18f7phgx7kj989pr3xkr"))))
- (build-system emacs-build-system)
- (arguments (list #:tests? #f ; XXX: too many failures
- #:test-command
- #~(list "emacs" "-Q" "-batch" "-l" "d-mode-test.el"
- "-l" "d-mode.el"
- "-f" "ert-run-tests-batch-and-exit")))
- (propagated-inputs
- (list emacs-undercover))
- (home-page "https://github.com/Emacs-D-Mode-Maintainers/Emacs-D-Mode")
- (synopsis "Emacs major mode for editing D code")
- (description "This package provides an Emacs major mode for highlighting
+ ;; Tag is from 2022-06-02, latest commit from 2024-12-25.
+ (let ((commit "a4f9026d9e7fadfcfb138189c18c639b57467ce5")
+ (revision "1"))
+ (package
+ (name "emacs-d-mode")
+ (version (git-version "2.0.12" revision commit))
+ (source
+ (origin
+ (method git-fetch)
+ (uri (git-reference
+ (url "https://github.com/Emacs-D-Mode-Maintainers/Emacs-D-Mode")
+ (commit commit)))
+ (file-name (git-file-name name version))
+ (sha256
+ (base32 "00ls640l30fdx8ii2axsyy5ab0n01jp1nsn8lfparm6ajylxyjpz"))))
+ (build-system emacs-build-system)
+ (arguments
+ (list
+ #:test-command
+ #~(list "emacs" "-Q" "-batch" "-l" "d-mode-test.el"
+ "-l" "d-mode.el"
+ "-f" "ert-run-tests-batch-and-exit")
+ #:phases
+ #~(modify-phases %standard-phases
+ (add-before 'check 'skip-failing-tests
+ (lambda _
+ (with-directory-excursion "tests"
+ (for-each delete-file
+ '("I0021.d" "fonts.d" "fonts_enums.d"))))))))
+ (home-page "https://github.com/Emacs-D-Mode-Maintainers/Emacs-D-Mode")
+ (synopsis "Emacs major mode for editing D code")
+ (description "This package provides an Emacs major mode for highlighting
code written in the D programming language.")
- (license license:gpl2+)))
+ (license license:gpl2+))))
(define-public emacs-extempore-mode
;; Use the latest commit at time of packaging. There are no releases or tags.