From 4255292154c93953f47d66d7c8769be5fb87809d Mon Sep 17 00:00:00 2001 From: pinoaffe Date: Sun, 6 Feb 2022 23:33:34 +0100 Subject: [PATCH] gnu: Add emacs-apache-mode. * gnu/packages/emacs-xyz.scm (emacs-apache-mode): New variable. Signed-off-by: Nicolas Goaziou --- 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 dc18671c46..827cc284e9 100644 --- a/gnu/packages/emacs-xyz.scm +++ b/gnu/packages/emacs-xyz.scm @@ -4263,6 +4263,29 @@ (define-public emacs-git-link the URL for a commit. URLs are added to the kill ring.") (license license:gpl3+))) +(define-public emacs-apache-mode + (package + (name "emacs-apache-mode") + (version "2.2.0") + (source (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/emacs-php/apache-mode") + (commit version))) + (file-name (git-file-name name version)) + (sha256 + (base32 + "1grs2x51k8pa6sgfa82s5pwwdfv7zw46ccw0zvd2rvzbhpq21p2z")))) + (build-system emacs-build-system) + (home-page "https://github.com/emacs-php/apache-mode") + (synopsis + "Syntax highlighting and indentation support for Apache config files") + (description + "This package provides @code{apache-mode}, an Emacs major mode for Apache +configuration files which provides syntax highlighting and indentation rules. +This mode supports Apache HTTP Server 2.4 and major modules.") + (license license:gpl2+))) + (define-public emacs-apheleia (package (name "emacs-apheleia")