Subject: [PATCH] gnu: Add emacs-org-glossary.
From: Nicolas Graves <[email-masked]>
To: [email-masked]
Cc: [email-masked]
Date: Sun, 21 Jan 2024 10:57:36 +0100
List-Id: <debbugs-submit.debbugs.gnu.org>

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

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

diff --git a/gnu/packages/emacs-xyz.scm b/gnu/packages/emacs-xyz.scm
index 2d149b3efa..1b2bbf98e2 100644
--- a/gnu/packages/emacs-xyz.scm
+++ b/gnu/packages/emacs-xyz.scm
@@ -36470,6 +36470,34 @@ (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)
+      (home-page "https://git.tecosaur.net/tec/org-glossary")
+      (synopsis "Interact with glossary-like structures in Org documents")
+      (description "This package provides functionality in Org documents for
+the following structures:
+@itemize
+@item glossary
+@item acronyms
+@item indices
+@item text substitutions
+@end itemize")
+      (license license:gpl3+))))
+
 (define-public emacs-uml-mode
   ;; Package has no release.  Version is extracted from "Version:" keyword in
   ;; main file.
-- 
2.41.0