gnu: Add emacs-org-glossary.

* gnu/packages/emacs-xyz.scm (emacs-org-glossary): New variable.

Change-Id: Id087b723709ac5afb7dda0da15eac610c8ab218e
Signed-off-by: Nicolas Goaziou <mail@nicolasgoaziou.fr>
This commit is contained in:
Nicolas Graves 2024-01-21 10:57:36 +01:00 committed by Nicolas Goaziou
parent 79fafbe33c
commit 119d1e5939
No known key found for this signature in database
GPG key ID: DA00B4F048E92F2D

View file

@ -36501,6 +36501,45 @@ (define-public emacs-org-generate
org-mode templates.")
(license license:gpl3+)))
(define-public emacs-org-glossary
(let ((commit "1b9b7fd3d1e6c214c34463e568daaba6df00ec27")
(revision "0"))
(package
(name "emacs-org-glossary")
(version (git-version "0.0.1" revision commit))
(source
(origin
(method git-fetch)
(uri (git-reference
(url "https://git.tecosaur.net/tec/org-glossary")
(commit commit)))
(file-name (git-file-name name version))
(sha256
(base32 "09mg8aqxamnxx8kpdyk074wf2wkm4rx62z7q66azw70hjr1ggwa3"))))
(build-system emacs-build-system)
(arguments
(list
#:phases
#~(modify-phases %standard-phases
(add-after 'install 'makeinfo
(lambda _
(invoke "emacs"
"--batch"
"--eval=(require 'ox-texinfo)"
"--eval=(find-file \"org-glossary.org\")"
"--eval=(org-texinfo-export-to-info)")
(install-file "org-glossary.info"
(string-append #$output "/share/info")))))))
(native-inputs (list texinfo))
(home-page "https://git.tecosaur.net/tec/org-glossary")
(synopsis "Interact with glossary-like structures in Org documents")
(description
"Org Glossary defines a flexible model for working with glossary-like
constructs (glossaries, acronyms, indices, etc.) within Org documents, with
support for in-buffer highlighting of defined terms and high-quality exports
across all Org export back-ends.")
(license license:gpl3+))))
(define-public emacs-uml-mode
;; Package has no release. Version is extracted from "Version:" keyword in
;; main file.