gnu: emacs-zmq: Update to 1.0.0.

* gnu/packages/emacs-xyz.scm (emacs-zmq): Update to 1.0.0.
[arguments]: Use G-expressions.
This commit is contained in:
Nicolas Goaziou 2023-06-24 17:39:58 +02:00
parent 5304c63678
commit 42a48a11b7
No known key found for this signature in database
GPG key ID: DA00B4F048E92F2D

View file

@ -8459,7 +8459,7 @@ (define-public emacs-butler
(define-public emacs-zmq (define-public emacs-zmq
(package (package
(name "emacs-zmq") (name "emacs-zmq")
(version "0.10.10") (version "1.0.0")
(source (source
(origin (origin
(method git-fetch) (method git-fetch)
@ -8468,26 +8468,27 @@ (define-public emacs-zmq
(commit (string-append "v" version)))) (commit (string-append "v" version))))
(file-name (git-file-name name version)) (file-name (git-file-name name version))
(sha256 (sha256
(base32 "0ngxm5mm0kqgvn8977ryrngamx0khzlw86d8vz5s0jhm2kgwnqp8")))) (base32 "1bg4c26f8n1jy6z9dr2c9fz79myy9lbb5z67797qp1cbx8k6p3n7"))))
(build-system emacs-build-system) (build-system emacs-build-system)
(arguments (arguments
`(#:tests? #f ; no tests (list
#:phases #:tests? #f ; no tests
(modify-phases %standard-phases #:phases
(add-after 'unpack 'configure #~(modify-phases %standard-phases
(lambda _ (add-after 'unpack 'configure
(invoke "make" "src/configure") (lambda _
(substitute* "src/configure" (invoke "make" "src/configure")
(("/bin/sh") (which "sh")) (substitute* "src/configure"
(("/usr/bin/file") (which "file"))) (("/bin/sh") (which "sh"))
(invoke "make"))) (("/usr/bin/file") (which "file")))
(add-after 'install 'install-shared-object (invoke "make")))
(lambda* (#:key inputs outputs #:allow-other-keys) (add-after 'install 'install-shared-object
(let* ((out (assoc-ref outputs "out")) (lambda* (#:key inputs outputs #:allow-other-keys)
(site-lisp (string-append out "/share/emacs/site-lisp")) (let* ((out (assoc-ref outputs "out"))
(libdir (string-append site-lisp "/zmq-0.10.10"))) (site-lisp (string-append out "/share/emacs/site-lisp"))
(copy-file "emacs-zmq.so" (libdir (string-append site-lisp "/zmq-" #$version)))
(string-append libdir "/emacs-zmq.so")))))))) (copy-file "emacs-zmq.so"
(string-append libdir "/emacs-zmq.so"))))))))
(native-inputs (native-inputs
(list autoconf automake libtool pkg-config)) (list autoconf automake libtool pkg-config))
(inputs (inputs
@ -8495,7 +8496,7 @@ (define-public emacs-zmq
(home-page "https://github.com/nnicandro/emacs-zmq") (home-page "https://github.com/nnicandro/emacs-zmq")
(synopsis "Emacs bindings to ØMQ") (synopsis "Emacs bindings to ØMQ")
(description "This package provides Emacs bindings to ØMQ.") (description "This package provides Emacs bindings to ØMQ.")
(license (list license:gpl2+ ;zmq.el (license (list license:gpl2+ ;zmq.el
license:gpl3+)))) ;src/emacs-module.h license:gpl3+)))) ;src/emacs-module.h
(define-public emacs-tup-mode (define-public emacs-tup-mode