toc-org.scm 975 B

123456789101112131415161718192021222324252627282930313233
  1. (define-module (emacs toc-org)
  2. #:use-module ((guix licenses) #:prefix license:)
  3. #:use-module (guix build-system emacs)
  4. #:use-module (guix packages)
  5. #:use-module (gnu packages emacs)
  6. #:use-module (gnu packages emacs-xyz)
  7. #:use-module (guix download))
  8. (define-public emacs-toc-org
  9. (package
  10. (name "emacs-toc-org")
  11. (version "1.1.0")
  12. (source
  13. (origin
  14. (method url-fetch)
  15. (uri (string-append
  16. "https://stable.melpa.org/packages/toc-org-"
  17. version
  18. ".el"))
  19. (sha256
  20. (base32
  21. "10j4iysm8s688iwq3h483v0409w5f2j208x4qkddj0pdxdbm5z8n"))))
  22. (build-system emacs-build-system)
  23. (propagated-inputs
  24. `(("emacs-org" ,emacs-org)))
  25. (home-page "https://github.com/snosov1/toc-org")
  26. (synopsis
  27. "Add table of contents to org-mode files (formerly, org-toc)")
  28. (description
  29. "toc-org helps you to have an up-to-date table of contents in org
  30. files without exporting.")
  31. (license license:gpl2+)))