gnu: Add emacs-edit-server.

* gnu/packages/emacs.scm (emacs-edit-server): New public variable.
This commit is contained in:
Oleg Pykhalov 2018-05-02 18:59:06 +03:00
parent 08ff4fd1b1
commit 3677e5ee1f
No known key found for this signature in database
GPG key ID: 7246E11C69B79569

View file

@ -8685,3 +8685,30 @@ (define-public emacs-crux
(description
"@code{crux} provides a collection of useful functions for Emacs.")
(license license:gpl3+))))
(define-public emacs-edit-server
(package
(name "emacs-edit-server")
(version "1.13")
(source
(origin
(method url-fetch)
(uri (string-append "https://github.com/stsquad/emacs_chrome/archive/"
"v" version ".tar.gz"))
(file-name (string-append name "-" version ".tar.gz"))
(sha256
(base32
"1r92kqggslqasza718z4ka883mqfbnibdm43f0j9gaipk0msm2wf"))))
(build-system emacs-build-system)
(arguments
`(#:phases
(modify-phases %standard-phases
(add-after 'unpack 'chdir-elisp
;; Elisp directory is not in root of the source.
(lambda _
(chdir "servers"))))))
(home-page "https://github.com/stsquad/emacs_chrome")
(synopsis "Server that responds to edit requests from Chromium")
(description
"This package provides an edit server to respond to requests from Emacs.")
(license license:gpl3+)))