@@ -33736,6 +33736,42 @@ (define-public emacs-mpv
process via its IPC interface.")
(license license:gpl3+))))
+(define-public emacs-waveform
+ (let ((commit "ee52c6a72b3e9890743e3a6e2fc1f3195f5687b2")
+ (revision "0"))
+ (package
+ (name "emacs-waveform")
+ (version (git-version "0.0.0" revision commit))
+ (source
+ (origin
+ (method git-fetch)
+ (uri (git-reference
+ (url "https://github.com/sachac/waveform-el")
+ (commit commit)))
+ (file-name (git-file-name name version))
+ (sha256
+ (base32 "0cxyvp2aav27znc7mf6c83q5pddpdniaqkrxn1r8dbgr540qmnpn"))))
+ (build-system emacs-build-system)
+ (arguments
+ (list
+ #:tests? #f ; There are no tests.
+ #:phases
+ #~(modify-phases %standard-phases
+ (add-after 'set-waveform-el-version 'patch-exec-paths
+ (lambda* (#:key inputs #:allow-other-keys)
+ (make-file-writable "lisp/waveform-el-sequence.el")
+ (emacs-substitute-variables "waveform.el"
+ ("waveform-ffmpeg-executable"
+ (search-input-file inputs "/bin/ffmpeg"))))))))
+ (inputs (list ffmpeg))
+ (propagated-inputs (list emacs-mpv))
+ (home-page "https://github.com/sachac/waveform-el/")
+ (synopsis "Display a waveform and use it to navigate")
+ (description
+"This package displays a waveform of a sound file. It is intended to
+be used with @code{emacs-mpv}")
+ (license license:gpl3+))))
+
(define-public emacs-project-x
;; There is no proper release.
;; The base version is extracted from the README.org.