guix-patches
[Top][All Lists]
Advanced

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

[bug#42257] [PATCH] gnu: Add emacs-scala-mode.


From: Vinicius Monego
Subject: [bug#42257] [PATCH] gnu: Add emacs-scala-mode.
Date: Wed, 8 Jul 2020 00:29:52 -0300

* gnu/packages/emacs-xyz.scm (emacs-scala-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 aae9eb25fd..bd18344f54 100644
--- a/gnu/packages/emacs-xyz.scm
+++ b/gnu/packages/emacs-xyz.scm
@@ -2003,6 +2003,30 @@ Emacs buffer.")
 Lock key.")
     (license license:gpl3+)))
 
+(define-public emacs-scala-mode
+  (package
+    (name "emacs-scala-mode")
+    (version "1.1.0")
+    (source
+     (origin
+       (method git-fetch)
+       (uri (git-reference
+             (url "https://github.com/hvesalai/emacs-scala-mode";)
+             (commit (string-append "v" version))))
+       (file-name (git-file-name name version))
+       (sha256
+        (base32 "1072lsin7dxadc0xyhy42wd0cw549axbbd4dy95wfmfcc1xbzjwv"))))
+    (build-system emacs-build-system)
+    (home-page "https://github.com/hvesalai/emacs-scala-mode";)
+    (synopsis "Emacs major mode for Scala")
+    (description
+     "This package intends to provide basic Emacs support for the Scala
+language, including: local indenting of code, comments and multi-line strings,
+motion commands and highlighting.")
+    ;; There are no copyright headers in the source code.  It's unclear if the
+    ;; license is gpl3 or gpl3+.
+    (license license:gpl3)))
+
 (define-public emacs-chronometrist
   (package
     (name "emacs-chronometrist")
-- 
2.20.1






reply via email to

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