Subject: [PATCH] gnu: Add emacs-pacfiles-mode.
From: Cayetano Santos <[email-masked]>
To: [email-masked]
Cc: Cayetano Santos <[email-masked]>
Date: Sat, 14 Oct 2023 10:59:17 +0200
List-Id: <debbugs-submit.debbugs.gnu.org>

* gnu/packages/emacs-xyz.scm (emacs-pacfiles-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 bb8c25f9b5..2758b7ce3f 100644
--- a/gnu/packages/emacs-xyz.scm
+++ b/gnu/packages/emacs-xyz.scm
@@ -1729,6 +1729,26 @@ (define-public emacs-fzf
 purpose finder.")
       (license license:gpl3+))))
 
+(define-public emacs-pacfiles-mode
+  (package
+    (name "emacs-pacfiles-mode")
+    (version "1.2")
+    (source (origin
+              (method git-fetch)
+              (uri (git-reference
+                    (url "https://github.com/UndeadKernel/pacfiles-mode.git")
+                    (commit (string-append "v" version))))
+              (sha256
+               (base32
+                "1d61s846r9ncmyx97f44r8i3p1ikgi4bab8k7xk868lja96y2ij7"))))
+    (build-system emacs-build-system)
+    (home-page "https://github.com/UndeadKernel/pacfiles-mode")
+    (synopsis "Archlinux’s pacnew and pacsave merging tool")
+    (description
+     "Emacs major mode to manage .pacnew and .pacsave files left by
+  ArchLinux's pacman")
+    (license license:expat)))
+
 (define-public emacs-minions
   (package
     (name "emacs-minions")

base-commit: 8e8d20b6b35d3ab529f9045cc8a779cdcec9c471
-- 
2.41.0