gnu: emacs-dired-preview: Update to 0.6.0.

* gnu/packages/emacs-xyz.scm (emacs-dired-preview): Update to 0.6.0.
[arguments]: Add #:test-command.
<#:phases>: Add makeinfo phase.
[native-inputs]: Add texinfo and emacs-ert-runner.

Change-Id: Ic8da1be10ea09ccbdbe1d294f4f53634f56c2719
Signed-off-by: jgart <jgart@dismail.de>
This commit is contained in:
Cayetano Santos 2025-08-04 17:09:05 +02:00 committed by jgart
parent 6192089713
commit 233a85eb77
No known key found for this signature in database
GPG key ID: A52AA2B477B6DD35

View file

@ -32489,17 +32489,32 @@ buffer displays recursive dir sizes.")
(define-public emacs-dired-preview
(package
(name "emacs-dired-preview")
(version "0.4.0")
(source (origin
(method git-fetch)
(uri (git-reference
(url "https://github.com/protesilaos/dired-preview")
(commit version)))
(file-name (git-file-name name version))
(sha256
(base32
"016g2scl3ifngy67s5dalnywxxj1xdf1mibpqda2zgynx0czvv7l"))))
(version "0.6.0")
(source
(origin
(method git-fetch)
(uri (git-reference
(url "https://github.com/protesilaos/dired-preview")
(commit version)))
(file-name (git-file-name name version))
(sha256
(base32
"0p6v1dx33f7ypi026pp4jjzh81n5vl4gy63cwhql0sbwsbxsz8y9"))))
(build-system emacs-build-system)
(arguments
(list
#:test-command
#~(list "ert-runner" "-L" "tests" "tests/dired-preview-test.el")
#:phases
#~(modify-phases %standard-phases
(add-after 'unpack 'makeinfo
(lambda _
(invoke "emacs"
"--batch"
"--eval=(require 'ox-texinfo)"
"--eval=(find-file \"README.org\")"
"--eval=(org-texinfo-export-to-info)"))))))
(native-inputs (list emacs-ert-runner texinfo))
(home-page "https://protesilaos.com/emacs/dired-preview")
(synopsis "Automatically preview file at point in Dired")
(description