diff options
author | Vinicius Monego <monego@posteo.net> | 2021-07-19 03:51:52 +0000 |
---|---|---|
committer | Ludovic Courtès <ludo@gnu.org> | 2021-07-19 19:57:51 +0200 |
commit | 3436d3f801170b04bf8f7e3fef337248c7a778bc (patch) | |
tree | e975bec9a85f289ad8854b3c0f3264e6b1c1b207 /gnu | |
parent | f8790ba4b474201bfe5fb8523ef829d174a5de2e (diff) | |
download | guix-3436d3f801170b04bf8f7e3fef337248c7a778bc.tar guix-3436d3f801170b04bf8f7e3fef337248c7a778bc.tar.gz |
gnu: Add emacs-zmq.
* gnu/packages/emacs-xyz.scm (emacs-zmq): New variable.
Signed-off-by: Ludovic Courtès <ludo@gnu.org>
Diffstat (limited to 'gnu')
-rw-r--r-- | gnu/packages/emacs-xyz.scm | 46 |
1 files changed, 46 insertions, 0 deletions
diff --git a/gnu/packages/emacs-xyz.scm b/gnu/packages/emacs-xyz.scm index 381c216f69..01f39e6a9d 100644 --- a/gnu/packages/emacs-xyz.scm +++ b/gnu/packages/emacs-xyz.scm @@ -155,6 +155,7 @@ #:use-module (gnu packages ibus) #:use-module (gnu packages java) #:use-module (gnu packages ncurses) + #:use-module (gnu packages networking) #:use-module (gnu packages python) #:use-module (gnu packages python-xyz) #:use-module (gnu packages telephony) @@ -5966,6 +5967,51 @@ view the build status of those servers' build jobs, and possibly to trigger build jobs.") (license license:gpl3+))) +(define-public emacs-zmq + (package + (name "emacs-zmq") + (version "0.10.10") + (source + (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/nnicandro/emacs-zmq") + (commit (string-append "v" version)))) + (file-name (git-file-name name version)) + (sha256 + (base32 "0ngxm5mm0kqgvn8977ryrngamx0khzlw86d8vz5s0jhm2kgwnqp8")))) + (build-system emacs-build-system) + (arguments + `(#:tests? #f ; no tests + #:phases + (modify-phases %standard-phases + (add-after 'unpack 'configure + (lambda _ + (invoke "make" "src/configure") + (substitute* "src/configure" + (("/bin/sh") (which "sh")) + (("/usr/bin/file") (which "file"))) + (invoke "make"))) + (add-after 'install 'install-shared-object + (lambda* (#:key inputs outputs #:allow-other-keys) + (let* ((out (assoc-ref outputs "out")) + (site-lisp (string-append out "/share/emacs/site-lisp")) + (libdir (string-append site-lisp "/zmq-0.10.10"))) + (copy-file "emacs-zmq.so" + (string-append libdir "/emacs-zmq.so")))))))) + (native-inputs + `(("autoconf" ,autoconf) + ("automake" ,automake) + ("libtool" ,libtool) + ("pkg-config" ,pkg-config))) + (inputs + `(("zeromq" ,zeromq))) + (home-page "https://github.com/nnicandro/emacs-zmq") + (synopsis "Emacs bindings to ØMQ") + (description "This package provides Emacs bindings to ØMQ.") + (license (list license:gpl2+ ;zmq.el + license:gpl3+)))) ;src/emacs-module.h + (define-public emacs-tup-mode (package (name "emacs-tup-mode") |