gnu: emacs-treemacs: Update to 3.1.

* gnu/packages/emacs-xyz.scm (emacs-treemacs): Update to 3.1.
[arguments]<#:phases>: Run all tests.
[native-inputs, inputs, propagated-inputs]: Move after arguments.
This commit is contained in:
Nicolas Goaziou 2023-04-09 20:13:06 +02:00
parent dba85ebfd1
commit 8edbc78d9c
No known key found for this signature in database
GPG key ID: DA00B4F048E92F2D

View file

@ -28842,7 +28842,7 @@ (define-public emacs-pfuture
(define-public emacs-treemacs
(package
(name "emacs-treemacs")
(version "3.0")
(version "3.1")
(source
(origin
(method git-fetch)
@ -28851,20 +28851,8 @@ (define-public emacs-treemacs
(commit version)))
(file-name (git-file-name name version))
(sha256
(base32 "0l6pbfrkl0v1iyc43vyhchbcfy7cjhinn8pw07aq4ssh6lxil7kp"))))
(base32 "1rs0l0k9fd8xav627944jfm518yillcmjbdrkzjw3xq1wx80pn95"))))
(build-system emacs-build-system)
(propagated-inputs
(list emacs-ace-window
emacs-dash
emacs-f
emacs-ht
emacs-hydra
emacs-pfuture
emacs-s))
(native-inputs
(list emacs-buttercup emacs-el-mock))
(inputs
(list python))
(arguments
(list
#:tests? #t
@ -28881,16 +28869,6 @@ (define-public emacs-treemacs
;; Elisp directory is not in root of the source.
(lambda _
(chdir "src/elisp")))
(add-before 'check 'delete-failing-tests
;; FIXME: 4 tests out of 254 are failing.
(lambda _
(emacs-batch-edit-file "../../test/treemacs-test.el"
'(progn
(goto-char (point-min))
(re-search-forward "describe \"treemacs--parent\"")
(beginning-of-line)
(kill-sexp)
(basic-save-buffer)))))
(add-before 'install 'patch-paths
(lambda* (#:key inputs #:allow-other-keys)
(make-file-writable "treemacs-core-utils.el")
@ -28917,6 +28895,18 @@ (define-public emacs-treemacs
(copy-recursively
"src/scripts"
(string-append (elpa-directory #$output) "/scripts"))))))))
(native-inputs
(list emacs-buttercup emacs-el-mock))
(inputs
(list python))
(propagated-inputs
(list emacs-ace-window
emacs-dash
emacs-f
emacs-ht
emacs-hydra
emacs-pfuture
emacs-s))
(home-page "https://github.com/Alexander-Miller/treemacs")
(synopsis "Emacs tree style file explorer")
(description