From 30b14aa00205905fca75afba1afa1a5127e3190d Mon Sep 17 00:00:00 2001 From: Vinicius Monego Date: Wed, 8 Jul 2020 00:29:52 -0300 Subject: [PATCH] gnu: Add emacs-scala-mode. * gnu/packages/emacs-xyz.scm (emacs-scala-mode): New variable. Signed-off-by: Nicolas Goaziou --- 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 f7c84f2412..9167ad1138 100644 --- a/gnu/packages/emacs-xyz.scm +++ b/gnu/packages/emacs-xyz.scm @@ -4950,6 +4950,30 @@ on context.") characters and asynchronous fetching of completion candidates.") (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 provides 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. The LICENSE file + ;; indicates GPL3. + (license license:gpl3))) + (define-public emacs-scheme-complete (let ((commit "9b5cf224bf2a5994bc6d5b152ff487517f1a9bb5")) (package