Subject: [bug#63015] [PATCH] gnu: Add emacs-gemini.

From: Evgeny Pisemsky <[email-masked]>
Date: Sat, 22 Apr 2023 18:18:49 +0300

Hello!

Here is the updated patch.

>From 6571e21e1a6d1397b78ad0e98e296d0837647bb5 Mon Sep 17 00:00:00 2001
From: Evgeny Pisemsky <[email-masked]>
Date: Sat, 22 Apr 2023 15:00:00 +0300
Subject: [PATCH] gnu: Add emacs-gemini.

* gnu/packages/emacs-xyz.scm (emacs-gemini): New variable.
---
 gnu/packages/emacs-xyz.scm | 23 +++++++++++++++++++++++
 1 file changed, 23 insertions(+)

diff --git a/gnu/packages/emacs-xyz.scm b/gnu/packages/emacs-xyz.scm
index b9bece1365..06bf8f18ee 100644
--- a/gnu/packages/emacs-xyz.scm
+++ b/gnu/packages/emacs-xyz.scm
@@ -126,6 +126,7 @@
 ;;; Copyright © 2020, 2021, 2022, 2023 Andrew Tropin <[email-masked]>
 ;;; Copyright © 2023 Dominik Delgado Steuter <[email-masked]>
 ;;; Copyright © 2023 Juliana Sims <[email-masked]>
+;;; Copyright © 2023 Evgeny Pisemsky <[email-masked]>
 ;;;
 ;;; This file is part of GNU Guix.
 ;;;
@@ -31367,6 +31368,28 @@ (define-public emacs-elpher
 connections using TLS encryption.")
     (license license:gpl3+)))
 
+(define-public emacs-gemini
+  (package
+    (name "emacs-gemini")
+    (version "1.2.0")
+    (source (origin
+              (method git-fetch)
+              (uri (git-reference
+                    (url "https://git.carcosa.net/jmcbray/gemini.el")
+                    (commit "a7dd7c6ea4e036d0d5ecc4a5d284874c400f10ba")))
+              (file-name (git-file-name name version))
+              (sha256
+               (base32
+                "1pvlk56mhh4xh4gwzqldfk79jsjbcpivv5scd9811pv3afc30gsx"))))
+    (build-system emacs-build-system)
+    (home-page "https://git.carcosa.net/jmcbray/gemini.el")
+    (synopsis "Syntax highlighting for text/gemini")
+    (description
+     "This is a very simple syntax-highlighting mode for text/gemini documents.
+Currently, support is not complete, but it should be enough to help with basic
+documents.")
+    (license license:agpl3+)))
+
 (define-public emacs-zerodark-theme
   (package
     (name "emacs-zerodark-theme")

base-commit: 5b545763ed9b8a3fade7f756d543819fc090953f
-- 
2.39.2