summary refs log tree commit diff
diff options
context:
space:
mode:
authorBrian Leung <bkleung89@gmail.com>2019-06-15 04:36:37 +0200
committerNicolas Goaziou <mail@nicolasgoaziou.fr>2019-06-25 08:54:38 +0200
commit3484640b4beddbc3efc5efbf5747e3cc5c1ff8a5 (patch)
treea2e3c9b41f8868b0395da4939834e96f8dd6d147
parente7dc1a39c0535be5cc0527ac3bf4b52b0c5ed75c (diff)
downloadguix-3484640b4beddbc3efc5efbf5747e3cc5c1ff8a5.tar.gz
gnu: Add emacs-org-make-toc.
* gnu/packages/emacs-xyz.scm (emacs-org-make-toc): New variable.
-rw-r--r--gnu/packages/emacs-xyz.scm24
1 files changed, 24 insertions, 0 deletions
diff --git a/gnu/packages/emacs-xyz.scm b/gnu/packages/emacs-xyz.scm
index 50b9a20e48..259824ef55 100644
--- a/gnu/packages/emacs-xyz.scm
+++ b/gnu/packages/emacs-xyz.scm
@@ -10210,6 +10210,30 @@ as well as functions for navigating between these headings.")
 into sections while preserving the structure imposed by any timestamps.")
    (license license:gpl3+)))
 
+(define-public emacs-org-make-toc
+  (package
+    (name "emacs-org-make-toc")
+    (version "0.3")
+    (source (origin
+              (method git-fetch)
+              (uri (git-reference
+                    (url "https://github.com/alphapapa/org-make-toc")
+                    (commit version)))
+              (file-name (git-file-name name version))
+              (sha256
+               (base32
+                "0syhj8q4pv33xgl5qa6x27yhwqvfhffw5xqp819hj4qs1ddlc7j5"))))
+    (build-system emacs-build-system)
+    (propagated-inputs
+     `(("emacs-org" ,emacs-org)
+       ("emacs-dash" ,emacs-dash)
+       ("emacs-s" ,emacs-s)))
+    (home-page "https://github.com/alphapapa/org-make-toc")
+    (synopsis "Maintain a table of contents for an Org file")
+    (description "This package facilitates the creation and maintenance of
+tables of contents.")
+    (license license:gpl3+)))
+
 (define-public emacs-parsebib
   (package
     (name "emacs-parsebib")