@@ -33494,20 +33494,39 @@ (define-public emacs-ox-reveal
(define-public emacs-ox-tufte
(package
(name "emacs-ox-tufte")
- (version "4.0.1")
+ (version "4.0.4")
+ (home-page "https://github.com/ox-tufte/ox-tufte")
(source
(origin
(method git-fetch)
(uri (git-reference
- (url "https://github.com/ox-tufte/ox-tufte")
+ (url home-page)
(commit version)))
(file-name (git-file-name name version))
(sha256
- (base32 "1v8jr1k8wfpzwry073rrgkxfpwylxmk7xqabxzp49z40rc7hp26s"))))
+ (base32 "15jfwrdawj8flgyfqhsfhdlnam6n5gzw5minnixwxyp69q5vxnpw"))))
(build-system emacs-build-system)
+ (native-inputs (list emacs-buttercup emacs-eldev))
(propagated-inputs (list emacs-org))
- (arguments '(#:include (cons "^src/" %default-include)))
- (home-page "https://github.com/ox-tufte/ox-tufte")
+ (arguments
+ (list
+ #:include #~(cons "^src/" %default-include)
+ #:tests? #t
+ ;; <https://github.com/emacs-eldev/eldev/issues/99#issuecomment-1912637609>
+ #:test-command #~(list "eldev" "-X" "-dtTC" "test")
+ #:phases #~(modify-phases %standard-phases
+ (add-after 'unpack 'configure-eldev
+ (lambda _
+ (setenv "HOME"
+ (string-append (getcwd) "/.eldev"))
+ (with-output-to-file "Eldev-local"
+ (lambda _
+ (format #t "~s"
+ '(dolist (d (split-string (getenv
+ "EMACSLOADPATH")
+ ":" t))
+ (ignore-errors
+ (eldev-use-local-dependency d)))))))))))
(synopsis "Tufte HTML Org mode export backend")
(description
"This is an export backend for Org mode that exports buffers to HTML that