Subject: [PATCH v2] gnu: Add emacs-ox-tufte.

From: Suhail <[email-masked]>
Date: Wed, 17 Jan 2024 04:26:23 +0000

* gnu/packages/emacs-xyz.scm (emacs-ox-tufte): New variable.

Change-Id: Iaaff4b08eddb8f38b39f003e70821ace6c937c86
---
 gnu/packages/emacs-xyz.scm | 25 +++++++++++++++++++++++++
 1 file changed, 25 insertions(+)

diff --git a/gnu/packages/emacs-xyz.scm b/gnu/packages/emacs-xyz.scm
index 2a24f4a106..090429b229 100644
--- a/gnu/packages/emacs-xyz.scm
+++ b/gnu/packages/emacs-xyz.scm
@@ -136,6 +136,7 @@
 ;;; Copyright © 2023 Camilo Q.S. (Distopico) <[email-masked]>
 ;;; Copyright © 2023 Thanos Apollo <[email-masked]>
 ;;; Copyright © 2023 Ian Eure <[email-masked]>
+;;; Copyright © 2024 Suhail Singh <[email-masked]>
 ;;;
 ;;; This file is part of GNU Guix.
 ;;;
@@ -33180,6 +33181,30 @@ (define-public emacs-ox-reveal
 simple but powerful Org contents.")
       (license license:gpl3+))))
 
+(define-public emacs-ox-tufte
+  (package
+    (name "emacs-ox-tufte")
+    (version "4.0.1")
+    (source
+     (origin
+       (method git-fetch)
+       (uri (git-reference
+             (url "https://github.com/ox-tufte/ox-tufte")
+             (commit version)))
+       (file-name (git-file-name name version))
+       (sha256
+        (base32 "1v8jr1k8wfpzwry073rrgkxfpwylxmk7xqabxzp49z40rc7hp26s"))))
+    (build-system emacs-build-system)
+    (propagated-inputs (list emacs-org))
+    (arguments '(#:include (cons "^src/" %default-include)))
+    (home-page "https://github.com/ox-tufte/ox-tufte")
+    (synopsis "Tufte HTML Org mode export backend")
+    (description
+     "This is an export backend for Org mode that exports buffers to HTML that
+is compatible with Tufte
+CSS (@url{https://edwardtufte.github.io/tufte-css/}).")
+    (license license:gpl3+)))
+
 (define-public emacs-ox-rss
   ;; XXX: Upstream provides no version nor tags whatsoever.
   (let ((commit "83dc898fa5493925b01716e5dd495d5e07c3d41a")

base-commit: f2102cb5b9239be2ed2023b908b726af542e0124
-- 
2.43.0