mirror of
https://codeberg.org/guix/guix.git
synced 2025-10-02 02:15:12 +00:00
gnu: msgpack: Deprecate with msgpack-c.
* gnu/packages/serialization.scm (msgpack-c): New variable. (msgpack-cxx): New variable. (msgpack): Rename to... (msgpack-3): ... this, and inherit from msgpack-c. * gnu/packages/vim.scm (eovim) [arguments]: Add help-cmake-find-msgpack-c phase. [inputs]: Replace msgpack with msgpack-c. * gnu/packages/terminals.scm (tmate) [inputs]: Replace msgpack with msgpack-3. * gnu/packages/networking.scm (opendht) [propagated-inputs]: Replace msgpack with msgpack-cxx. * gnu/packages/chemistry.scm (mmtf-cpp) [propagated-inputs]: Likewise.
This commit is contained in:
parent
504b46cd87
commit
edb03ceb60
5 changed files with 72 additions and 25 deletions
|
@ -884,6 +884,14 @@ refactor Vim in order to:
|
|||
'(#:tests? #false ;no tests
|
||||
#:phases
|
||||
(modify-phases %standard-phases
|
||||
(add-after 'unpack 'help-cmake-find-msgpack-c
|
||||
(lambda _
|
||||
;; Patch the build system so that it can find the modern
|
||||
;; 'msgpack-c' named pkg-config file (see:
|
||||
;; https://github.com/jeanguyomarch/eovim/issues/73).
|
||||
(substitute* "cmake/Modules/FindMsgPack.cmake"
|
||||
(("MSGPACK QUIET msgpack")
|
||||
"MSGPACK QUIET msgpack-c msgpack"))))
|
||||
(add-after 'configure 'reference-nvim
|
||||
(lambda* (#:key inputs #:allow-other-keys)
|
||||
(let ((nvim (search-input-file inputs "/bin/nvim")))
|
||||
|
@ -894,10 +902,8 @@ refactor Vim in order to:
|
|||
(string-append start nvim))))))
|
||||
(add-before 'build 'set-home
|
||||
(lambda _ (setenv "HOME" "/tmp"))))))
|
||||
(native-inputs
|
||||
(list pkg-config))
|
||||
(inputs
|
||||
(list efl msgpack neovim))
|
||||
(native-inputs (list pkg-config))
|
||||
(inputs (list efl msgpack-c neovim))
|
||||
(home-page "https://github.com/jeanguyomarch/eovim/")
|
||||
(synopsis "EFL GUI for Neovim")
|
||||
(description "Graphical Neovim interface based on the @acronym{EFL, Enlightenment
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue