aboutsummaryrefslogtreecommitdiff
path: root/gnu
diff options
context:
space:
mode:
authorCarlo Zancanaro <carlo@zancanaro.id.au>2018-12-27 20:11:31 +1100
committerLudovic Courtès <ludo@gnu.org>2019-04-07 22:23:52 +0200
commitd6449c362b13f5443aa2c592e472b5f9373648f6 (patch)
treec974cc918944c0949871a15839f20f6213c97f67 /gnu
parent48b58245a7649500b1bca21e64ea8f6843b76078 (diff)
downloadpatches-d6449c362b13f5443aa2c592e472b5f9373648f6.tar
patches-d6449c362b13f5443aa2c592e472b5f9373648f6.tar.gz
gnu: Add emacs-erlang.
* gnu/packages/erlang.scm (emacs-erlang): New variable. Signed-off-by: Ludovic Courtès <ludo@gnu.org>
Diffstat (limited to 'gnu')
-rw-r--r--gnu/packages/erlang.scm19
1 files changed, 19 insertions, 0 deletions
diff --git a/gnu/packages/erlang.scm b/gnu/packages/erlang.scm
index 9c38b53581..4fba7ee0c8 100644
--- a/gnu/packages/erlang.scm
+++ b/gnu/packages/erlang.scm
@@ -23,6 +23,7 @@
(define-module (gnu packages erlang)
#:use-module ((guix licenses) #:prefix license:)
#:use-module (guix build-system gnu)
+ #:use-module (guix build-system emacs)
#:use-module (guix download)
#:use-module (guix git-download)
#:use-module (guix packages)
@@ -212,3 +213,21 @@ built-in support for concurrency, distribution and fault tolerance.")
;; have other licenses. See 'system/COPYRIGHT' in the source distribution.
(license (list license:asl2.0 license:bsd-2 license:bsd-3 license:expat
license:lgpl2.0+ license:tcl/tk license:zlib))))
+
+(define-public emacs-erlang
+ (package
+ (name "emacs-erlang")
+ (version (package-version erlang))
+ (source (package-source erlang))
+ (build-system emacs-build-system)
+ (arguments
+ `(#:phases
+ (modify-phases %standard-phases
+ (add-before 'set-emacs-load-path 'change-working-directory
+ (lambda _ (chdir "lib/tools/emacs") #t)))))
+ (home-page "https://www.erlang.org/")
+ (synopsis "Erlang major mode for Emacs")
+ (description
+ "This package provides an Emacs major mode for editing Erlang source
+files.")
+ (license license:asl2.0)))