Subject: [bug#53622] [PATCH 8/8] gnu: Add emacs-robots-txt-mode.

From: pinoaffe <[email-masked]>
Date: Sat, 29 Jan 2022 14:28:12 +0100

* gnu/packages/emacs-xyz.scm (emacs-robots-txt-mode): New variable.
---
 gnu/packages/emacs-xyz.scm | 20 ++++++++++++++++++++
 1 file changed, 20 insertions(+)

diff --git a/gnu/packages/emacs-xyz.scm b/gnu/packages/emacs-xyz.scm
index 653061eb99..d807241fc3 100644
--- a/gnu/packages/emacs-xyz.scm
+++ b/gnu/packages/emacs-xyz.scm
@@ -833,6 +833,26 @@ (define-public emacs-apache-mode
 This mode supports Apache HTTP Server 2.4 and major modules.")
     (license license:gpl2)))
 
+(define-public emacs-robots-txt-mode
+  (package
+    (name "emacs-robots-txt-mode")
+    (version "0.0.9")
+    (source (origin
+              (method git-fetch)
+              (uri (git-reference
+                    (url "https://github.com/emacs-php/robots-txt-mode")
+                    (commit version)))
+              (file-name (git-file-name name version))
+              (sha256
+               (base32
+                "07255pn80w4742sz2h9vbmfxxd8ps2kcn73p7m2bgy02kgbzw42b"))))
+    (build-system emacs-build-system)
+    (home-page "https://github.com/emacs-php/robots-txt-mode")
+    (synopsis "Syntax highlighting for robots.txt files")
+    (description "This package provides @code{robots-txt-mode}, an Emacs major
+mode for robots.txt files.")
+    (license license:gpl3+)))
+
 (define-public emacs-project
   (package
     (name "emacs-project")
-- 
2.34.0