guix-patches
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[bug#63924] [PATCH] gnu: Add emacs-pug-mode.


From: Miguel Ángel Moreno
Subject: [bug#63924] [PATCH] gnu: Add emacs-pug-mode.
Date: Tue, 06 Jun 2023 11:20:21 +0200
User-agent: Gnus/5.13 (Gnus v5.13)

gnu/packages/emacs-xyz.scm (emacs-pug-mode): New variable.
---
 gnu/packages/emacs-xyz.scm | 25 +++++++++++++++++++++++++
 1 file changed, 25 insertions(+)

diff --git a/gnu/packages/emacs-xyz.scm b/gnu/packages/emacs-xyz.scm
index 7575049ea3..dd3749940d 100644
--- a/gnu/packages/emacs-xyz.scm
+++ b/gnu/packages/emacs-xyz.scm
@@ -1118,6 +1118,31 @@ (define-public emacs-puni
 out of the box.")
       (license license:gpl3+))))
 
+(define-public emacs-pug-mode
+  (package
+    (name "emacs-pug-mode")
+    (version "1.0.8")
+    (source (origin
+              (method git-fetch)
+              (uri (git-reference
+                    (url "https://github.com/hlissner/emacs-pug-mode";)
+                    (commit (string-append "v" version))))
+              (file-name (git-file-name name version))
+              (sha256
+               (base32
+                "1f6bhdr1a72x94dlz2i1fwwln8crc2mbpc2iq23hvsbsfmj7xfzp"))))
+    (native-inputs (list emacs-ert-runner))
+    (build-system emacs-build-system)
+    (arguments
+     (list
+      #:tests? #t
+      #:test-command #~(list "ert-runner")))
+    (home-page "https://github.com/hlissner/emacs-pug-mode";)
+    (synopsis "Pug support for Emacs")
+    (description "pug-mode offers Emacs support for Pug.  Unlike jade-mode,
+it is based off of slim-mode.")
+    (license license:gpl3+)))
+
 (define-public emacs-spaceline-all-the-icons
   (package
     (name "emacs-spaceline-all-the-icons")
-- 
2.40.1

-- 
Best regards,
Miguel Ángel Moreno





reply via email to

[Prev in Thread] Current Thread [Next in Thread]