Subject: [bug#75630] [PATCH] gnu: Add emacs-fedi.

From: Cayetano Santos <[email-masked]>
Date: Fri, 17 Jan 2025 13:24:11 +0100

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

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

diff --git a/gnu/packages/emacs-xyz.scm b/gnu/packages/emacs-xyz.scm
index 9e99bad820..9eb38db85d 100644
--- a/gnu/packages/emacs-xyz.scm
+++ b/gnu/packages/emacs-xyz.scm
@@ -36070,6 +36070,27 @@ (define-public emacs-mastodon
 federated microblogging social network.")
     (license license:gpl3+)))
 
+(define-public emacs-fedi
+  (package
+    (name "emacs-fedi")
+    (version "0.2")
+    (source
+     (origin
+       (method git-fetch)
+       (uri (git-reference
+             (url "https://codeberg.org/martianh/fedi.el")
+             (commit version)))
+       (file-name (git-file-name name version))
+       (sha256
+        (base32 "0a5zq7axxh3khx6465s7ym9s7v2iw7ky9z486d0zg41k7926bm9d"))))
+    (build-system emacs-build-system)
+    (propagated-inputs (list emacs-markdown-mode))
+    (home-page "https://codeberg.org/martianh/fedi.el")
+    (synopsis "Library to make writing clients for APIs easier")
+    (description "@code{fedi.el} is an Emacs library used by several fediverse
+frontend packages.")
+    (license license:gpl3+)))
+
 (define-public emacs-ebdb
   (package
     (name "emacs-ebdb")

base-commit: f0804b0c2253542e9f0e255fbf8dc5847bba919d
--
2.47.1