Subject: [PATCH emacs-team] gnu: Add emacs-lem.

From: Cayetano Santos <[email-masked]>
Date: Mon, 14 Apr 2025 15:15:09 +0200

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

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

diff --git a/gnu/packages/emacs-xyz.scm b/gnu/packages/emacs-xyz.scm
index 82831f0595..24d8ed8fd9 100644
--- a/gnu/packages/emacs-xyz.scm
+++ b/gnu/packages/emacs-xyz.scm
@@ -3082,6 +3082,33 @@ (define-public emacs-lean4-mode
     (home-page "https://lean-lang.org/")
     (license license:asl2.0)))
 
+(define-public emacs-lem
+  (package
+    (name "emacs-lem")
+    (version "0.22")
+    (source
+     (origin
+       (method git-fetch)
+       (uri (git-reference
+             (url "https://codeberg.org/martianh/lem.el")
+             (commit version)))
+       (file-name (git-file-name name version))
+       (sha256
+        (base32
+         "12g16gq9qawhlj92jgxr2l7xcc0ikvmwsygjcr3qyxy0bawynzr8"))))
+    (build-system emacs-build-system)
+    (arguments
+     (list
+      #:tests? #f ; no tests
+      #:lisp-directory "lisp"))
+    (propagated-inputs
+     (list emacs-fedi emacs-markdown-mode emacs-fedi))
+    (home-page "https://codeberg.org/martianh/lem.el")
+    (synopsis "Emacs client for Lemmy")
+    (description "@code{lem.el} is an Emacs client for Lemmy, the federated link
+aggregator.")
+    (license license:gpl3+)))
+
 (define-public emacs-dante
   (package
     (name "emacs-dante")

base-commit: 373545dc9efbae6589f502773aa49e26e42c585e
-- 
2.49.0