diff mbox series

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

Message ID 86y1kxoskq.fsf@mianmoreno.com
State New
Headers show
Series [bug#63924] gnu: Add emacs-pug-mode. | expand

Commit Message

Miguel Ángel Moreno June 6, 2023, 9:20 a.m. UTC
gnu/packages/emacs-xyz.scm (emacs-pug-mode): New variable.
---
 gnu/packages/emacs-xyz.scm | 25 +++++++++++++++++++++++++
 1 file changed, 25 insertions(+)

Comments

Nicolas Goaziou June 10, 2023, 6:45 p.m. UTC | #1
Hello,

Miguel Ángel Moreno <me@mianmoreno.com> writes:

> gnu/packages/emacs-xyz.scm (emacs-pug-mode): New variable.

Applied. Thank you.

Regards,
diff mbox series

Patch

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")