mirror of
https://https.git.savannah.gnu.org/git/guix.git/
synced 2025-07-13 10:30:43 +02:00
gnu: guile-mqtt: Update to 1.0.0.
* gnu/packages/guile-xyz.scm (guile-mqtt): Update to 1.0.0. [source]: Fetch from git repository. [arguments]: Patch extension path before build. [native-inputs]: Add autoconf, automake, nyacc-2.01, texinfo. Change-Id: I04c5a65a6568b94cf7309b5a8b6ccfa31d5c9c4e
This commit is contained in:
parent
de2db0e83d
commit
6e9fe3f15d
1 changed files with 23 additions and 14 deletions
|
@ -1652,15 +1652,16 @@ the Guile compiler tower to generate the DSL from AWS JSON specifications.")
|
||||||
(define-public guile-mqtt
|
(define-public guile-mqtt
|
||||||
(package
|
(package
|
||||||
(name "guile-mqtt")
|
(name "guile-mqtt")
|
||||||
(version "0.2.1")
|
(version "1.0.0")
|
||||||
(source
|
(source
|
||||||
(origin
|
(origin
|
||||||
(method url-fetch)
|
(method git-fetch)
|
||||||
(uri (string-append "https://github.com/mdjurfeldt/" name
|
(uri (git-reference
|
||||||
"/releases/download/v" version
|
(url "https://github.com/mdjurfeldt/guile-mqtt")
|
||||||
"/" name "-" version ".tar.gz"))
|
(commit (string-append "v" version))))
|
||||||
|
(file-name (git-file-name name version))
|
||||||
(sha256
|
(sha256
|
||||||
(base32 "16a3r6yk41yskwv4qbkrsi0f5rvc7aw2s5di74i8y89j1x9yp9zs"))))
|
(base32 "1lvxic93cyzhdq7gb22pfz5j5pf7b1pcv0ahblkan8jbhzpqxvm0"))))
|
||||||
(build-system gnu-build-system)
|
(build-system gnu-build-system)
|
||||||
(arguments
|
(arguments
|
||||||
(list
|
(list
|
||||||
|
@ -1668,15 +1669,23 @@ the Guile compiler tower to generate the DSL from AWS JSON specifications.")
|
||||||
#~(list "GUILE_AUTO_COMPILE=0")
|
#~(list "GUILE_AUTO_COMPILE=0")
|
||||||
#:phases
|
#:phases
|
||||||
#~(modify-phases %standard-phases
|
#~(modify-phases %standard-phases
|
||||||
(add-after 'unpack 'patch-extension-path
|
(add-before 'build 'patch-extension-path
|
||||||
(lambda* (#:key inputs #:allow-other-keys)
|
(lambda* (#:key inputs #:allow-other-keys)
|
||||||
(substitute* "module/ffi/mosquitto.scm"
|
(setenv "HOME" "/tmp")
|
||||||
|
(with-directory-excursion "module"
|
||||||
|
(invoke "make" "ffi/mosquitto.scm")
|
||||||
|
(substitute* "ffi/mosquitto.scm"
|
||||||
(("list #f \"libmosquitto\"")
|
(("list #f \"libmosquitto\"")
|
||||||
(string-append
|
(string-append
|
||||||
"list #f \""
|
"list #f \""
|
||||||
(search-input-file inputs "/lib/libmosquitto.so")
|
(search-input-file inputs "/lib/libmosquitto.so")
|
||||||
"\""))))))))
|
"\"")))))))))
|
||||||
(native-inputs (list guile-3.0 pkg-config))
|
(native-inputs (list autoconf
|
||||||
|
automake
|
||||||
|
guile-3.0
|
||||||
|
nyacc-2.01
|
||||||
|
pkg-config
|
||||||
|
texinfo))
|
||||||
(inputs (list mosquitto))
|
(inputs (list mosquitto))
|
||||||
(home-page "https://github.com/mdjurfeldt/guile-mqtt")
|
(home-page "https://github.com/mdjurfeldt/guile-mqtt")
|
||||||
(synopsis "Guile bindings for the libmosquitto library")
|
(synopsis "Guile bindings for the libmosquitto library")
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue