mirror of
https://codeberg.org/guix/guix.git
synced 2025-10-02 02:15:12 +00:00
gnu: guile-ares-rs: Update to 0.9.6.
* gnu/packages/guile-xyz.scm (guile-ares-rs): Update to 0.9.6. Change-Id: Ie999a9f1cca39fb82a55627f40229b4932f34b4e Signed-off-by: Andrew Tropin <andrew@trop.in>
This commit is contained in:
parent
508c9a5265
commit
1f1dc79b61
1 changed files with 45 additions and 26 deletions
|
@ -1522,35 +1522,54 @@ order to provide IDE functionality for Guile Scheme.")
|
||||||
(license license:expat)))
|
(license license:expat)))
|
||||||
|
|
||||||
(define-public guile-ares-rs
|
(define-public guile-ares-rs
|
||||||
;; Commit to support Guile 3.9 + guile-custom-ports
|
(package
|
||||||
(let ((commit "6ccca2e21457c47917846e07c449d48c66b9420b")
|
(name "guile-ares-rs")
|
||||||
(revision "0"))
|
(version "0.9.6")
|
||||||
(package
|
(source
|
||||||
(name "guile-ares-rs")
|
(origin
|
||||||
(version (git-version "0.9.5" revision commit))
|
(method git-fetch)
|
||||||
(source
|
(uri (git-reference
|
||||||
(origin
|
(url "https://git.sr.ht/~abcdw/guile-ares-rs")
|
||||||
(method git-fetch)
|
(commit version)))
|
||||||
(uri (git-reference
|
(file-name (git-file-name name version))
|
||||||
(url "https://git.sr.ht/~abcdw/guile-ares-rs")
|
(sha256
|
||||||
(commit commit)))
|
(base32
|
||||||
(file-name (git-file-name name version))
|
"1vkww3vc0lsh5f8yh6fnh402rx3rsm0ss69rdkmplhzp4c7c4z1d"))))
|
||||||
(sha256
|
(build-system guile-build-system)
|
||||||
(base32
|
(arguments
|
||||||
"04n42wn6jblhmcx5l43nl7nsy3s0qlsn09l4k9xwgw5hg9nkkmg7"))))
|
(list
|
||||||
(build-system guile-build-system)
|
#:source-directory "src/guile"
|
||||||
(arguments
|
#:phases
|
||||||
(list
|
#~(modify-phases %standard-phases
|
||||||
#:source-directory "src/guile"))
|
(add-after 'build 'install-script
|
||||||
(inputs (list guile-3.0))
|
(lambda _
|
||||||
(propagated-inputs (list guile-fibers guile-custom-ports))
|
(let* ((bin (string-append #$output "/bin"))
|
||||||
(home-page "https://git.sr.ht/~abcdw/guile-ares-rs")
|
(oldpath (string-append
|
||||||
(synopsis "Asynchronous Reliable Extensible Sleek RPC Server for Guile")
|
#$output
|
||||||
(description "Asynchronous Reliable Extensible Sleek RPC Server for
|
;; This file will be named ares-nrepl.scm for
|
||||||
|
;; the next version.
|
||||||
|
"/share/guile/site/3.0/ares/scripts/ares.scm"))
|
||||||
|
(newpath (string-append bin "/ares-nrepl")))
|
||||||
|
(mkdir bin)
|
||||||
|
(symlink oldpath newpath)
|
||||||
|
(wrap-program newpath
|
||||||
|
`("GUILE_LOAD_PATH" ":" =
|
||||||
|
,(list (string-append #$output "/share/guile/site/3.0")
|
||||||
|
(getenv "GUILE_LOAD_PATH")))
|
||||||
|
`("GUILE_LOAD_COMPILED_PATH" ":" =
|
||||||
|
,(list (string-append #$output "/lib/guile/3.0/site-ccache")
|
||||||
|
(getenv "GUILE_LOAD_COMPILED_PATH"))))
|
||||||
|
;; Not needed since the wrapper followed the symlink.
|
||||||
|
(delete-file (string-append bin "/.ares-nrepl-real"))))))))
|
||||||
|
(inputs (list bash-minimal guile-3.0))
|
||||||
|
(propagated-inputs (list guile-fibers guile-custom-ports))
|
||||||
|
(home-page "https://git.sr.ht/~abcdw/guile-ares-rs")
|
||||||
|
(synopsis "Asynchronous Reliable Extensible Sleek RPC Server for Guile")
|
||||||
|
(description "Asynchronous Reliable Extensible Sleek RPC Server for
|
||||||
Guile. It's based on nREPL protocol and can be used for programmable
|
Guile. It's based on nREPL protocol and can be used for programmable
|
||||||
interactions with a running guile processes, for implementing REPLs, IDEs,
|
interactions with a running guile processes, for implementing REPLs, IDEs,
|
||||||
test runners or other tools.")
|
test runners or other tools.")
|
||||||
(license license:gpl3+))))
|
(license license:gpl3+)))
|
||||||
|
|
||||||
(define-public guile-custom-ports
|
(define-public guile-custom-ports
|
||||||
(package
|
(package
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue