From: Vinicius Monego <monego@posteo.net>
To: 49633@debbugs.gnu.org
Cc: Vinicius Monego <monego@posteo.net>
Subject: [bug#49633] [PATCH 2/3] gnu: Add emacs-zmq.
Date: Mon, 19 Jul 2021 03:51:52 +0000 [thread overview]
Message-ID: <20210719035153.222115-2-monego@posteo.net> (raw)
In-Reply-To: <20210719035153.222115-1-monego@posteo.net>
* gnu/packages/emacs-xyz.scm (emacs-zmq): New variable.
---
gnu/packages/emacs-xyz.scm | 46 ++++++++++++++++++++++++++++++++++++++
1 file changed, 46 insertions(+)
diff --git a/gnu/packages/emacs-xyz.scm b/gnu/packages/emacs-xyz.scm
index 037e7b71c2..e7fb0df5da 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)
@@ -5989,6 +5990,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")
--
2.30.2
next prev parent reply other threads:[~2021-07-19 3:53 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2021-07-19 3:50 [bug#49633] [PATCH 0/3] gnu: Add emacs-jupyter Vinicius Monego
2021-07-19 3:51 ` [bug#49633] [PATCH 1/3] gnu: zeromq: Enable DRAFTs Vinicius Monego
2021-07-19 3:51 ` Vinicius Monego [this message]
2021-07-19 3:51 ` [bug#49633] [PATCH 3/3] gnu: Add emacs-jupyter Vinicius Monego
2021-07-19 15:33 ` [bug#49633] [PATCH v2 1/3] gnu: zeromq: Enable DRAFTs Vinicius Monego
2021-07-19 15:33 ` [bug#49633] [PATCH v2 2/3] gnu: Add emacs-zmq Vinicius Monego
2021-07-19 15:33 ` [bug#49633] [PATCH v2 3/3] gnu: Add emacs-jupyter Vinicius Monego
2021-07-19 17:03 ` bug#49633: [PATCH 0/3] " Ludovic Courtès
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20210719035153.222115-2-monego@posteo.net \
--to=monego@posteo.net \
--cc=49633@debbugs.gnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/guix.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.