Subject: [PATCH] gnu: Add emacs-new-purescript-mode.

From: jgart <[email-masked]>
Date: Fri, 30 Sep 2022 00:21:41 -0500

* gnu/packages/emacs-xyz.scm (emacs-new-purescript-mode): New variable.
---
 gnu/packages/emacs-xyz.scm | 24 ++++++++++++++++++++++++
 1 file changed, 24 insertions(+)

diff --git a/gnu/packages/emacs-xyz.scm b/gnu/packages/emacs-xyz.scm
index fef37627f3..5def53ef09 100644
--- a/gnu/packages/emacs-xyz.scm
+++ b/gnu/packages/emacs-xyz.scm
@@ -8532,6 +8532,30 @@ (define-public emacs-purescript-mode
       (description "This package provides an Emacs major mode for writing Purescript.")
       (license license:gpl3+))))
 
+(define-public emacs-new-purescript-mode
+  (let ((commit "9f7bb73e26340fcd2ea1946dbad165f0406eb3e1")
+        (revision "0"))
+    (package
+      (name "emacs-new-purescript-mode")
+      (version (git-version "0.0.1" revision commit))
+      (source
+       (origin
+         (method git-fetch)
+         (uri
+          (git-reference
+           (url "https://github.com/justinwoo/new-purescript-mode")
+           (commit commit)))
+         (file-name (git-file-name name version))
+         (sha256
+          (base32 "0b3499df0gfz8yrdxz9dpgwal21h50sciigwz25ri1hwv1c1i7k0"))))
+      (build-system emacs-build-system)
+      (home-page "https://github.com/justinwoo/new-purescript-mode/")
+      (synopsis "Simple purescript mode for cheap syntax highlighting")
+      (description
+"@code{emacs-new-purescript-mode} is a simple PureScript Emacs mode that
+just provides syntax highlighting.")
+      (license license:expat))))
+
 (define-public emacs-god-mode
   (package
     (name "emacs-god-mode")
-- 
2.37.3