* [bug#54995] [PATCH] gnu: Add cl-ipfs-api2.
@ 2022-04-17 18:47 jgart via Guix-patches via
2022-04-18 7:27 ` bug#54995: " Guillaume Le Vaillant
2022-04-18 9:23 ` [bug#54995] " Maxime Devos
0 siblings, 2 replies; 4+ messages in thread
From: jgart via Guix-patches via @ 2022-04-17 18:47 UTC (permalink / raw)
To: 54995; +Cc: jgart
* gnu/packages/lisp-xyz.scm (cl-ipfs-api2): New variable.
---
gnu/packages/lisp-xyz.scm | 38 ++++++++++++++++++++++++++++++++++++++
1 file changed, 38 insertions(+)
diff --git a/gnu/packages/lisp-xyz.scm b/gnu/packages/lisp-xyz.scm
index 82270b3e32..5a6a344d4c 100644
--- a/gnu/packages/lisp-xyz.scm
+++ b/gnu/packages/lisp-xyz.scm
@@ -20940,6 +20940,44 @@ (define-public cl-simple-routes
(define-public ecl-simple-routes
(sbcl-package->ecl-package sbcl-simple-routes))
+(define-public sbcl-cl-ipfs-api2
+ (let ((commit "3ee52c80023bcc662f7d01276ea0a5814bd0011b")
+ (revision "0"))
+ (package
+ (name "sbcl-cl-ipfs-api2")
+ (version (git-version "0.51" revision commit))
+ (source
+ (origin
+ (method git-fetch)
+ (uri (git-reference
+ (url "https://github.com/JadedCtrl/cl-ipfs-api2")
+ (commit commit)))
+ (file-name (git-file-name name version))
+ (sha256
+ (base32 "1h0csxk4db1hid793mk5kz3nbjyl7z4ic1zk2wy46k1vz5lnnsph"))))
+ (build-system asdf-build-system/sbcl)
+ (arguments
+ '(#:tests? #f ; There are no tests.
+ #:asd-files '("cl-ipfs-api2.asd")
+ #:asd-systems '("cl-ipfs-api2")))
+ (inputs
+ (list sbcl-drakma
+ sbcl-yason
+ sbcl-arnesi))
+ (home-page "https://github.com/JadedCtrl/cl-ipfs-api2/")
+ (synopsis "Bindings for the IPFS HTTP API")
+ (description
+"@code{cl-sbcl-cl-ipfs-api2} is a pretty simple set of IPFS bindings for
+Common Lisp, using the HTTP API for (almost) everything, except for pubsub
+(which uses the locally installed go-ipfs program).")
+ (license license:lgpl3+))))
+
+(define-public cl-ipfs-api2
+ (sbcl-package->cl-source-package sbcl-cl-ipfs-api2))
+
+(define-public ecl-cl-ipfs-api2
+ (sbcl-package->ecl-package sbcl-cl-ipfs-api2))
+
(define-public sbcl-purgatory
(let ((commit "ade0d60a14a1067b9cc8cf06d1f1a1ca8cecdb03")
(revision "1"))
--
2.35.1
^ permalink raw reply related [flat|nested] 4+ messages in thread
* bug#54995: [PATCH] gnu: Add cl-ipfs-api2.
2022-04-17 18:47 [bug#54995] [PATCH] gnu: Add cl-ipfs-api2 jgart via Guix-patches via
@ 2022-04-18 7:27 ` Guillaume Le Vaillant
2022-04-18 9:23 ` [bug#54995] " Maxime Devos
1 sibling, 0 replies; 4+ messages in thread
From: Guillaume Le Vaillant @ 2022-04-18 7:27 UTC (permalink / raw)
To: jgart; +Cc: 54995-done
[-- Attachment #1: Type: text/plain, Size: 170 bytes --]
Patch pushed as b629b302696605201b270439bf8e4f958547a88f with a few
modifications (the 'asd-files' and 'asd-systems' parameters were not
necessary in this case).
Thanks.
[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 247 bytes --]
^ permalink raw reply [flat|nested] 4+ messages in thread
* [bug#54995] [PATCH] gnu: Add cl-ipfs-api2.
2022-04-17 18:47 [bug#54995] [PATCH] gnu: Add cl-ipfs-api2 jgart via Guix-patches via
2022-04-18 7:27 ` bug#54995: " Guillaume Le Vaillant
@ 2022-04-18 9:23 ` Maxime Devos
2022-04-18 17:12 ` jgart via Guix-patches via
1 sibling, 1 reply; 4+ messages in thread
From: Maxime Devos @ 2022-04-18 9:23 UTC (permalink / raw)
To: jgart, 54995
[-- Attachment #1: Type: text/plain, Size: 459 bytes --]
jgart via Guix-patches via schreef op zo 17-04-2022 om 14:47 [-0400]:
> +(which uses the locally installed go-ipfs program).")
go-ipfs is missing from the inputs and would need to be patched into
<https://github.com/JadedCtrl/cl-ipfs-api2/blob/master/main.lisp#L14>
or <https://github.com/JadedCtrl/cl-ipfs-api2/blob/master/main.lisp#L837>
(not sure where exactly) such that 'cl-ipfs-api2' works without 'ipfs'
being in $PATH.
Greetings,
Maxime.
[-- Attachment #2: This is a digitally signed message part --]
[-- Type: application/pgp-signature, Size: 260 bytes --]
^ permalink raw reply [flat|nested] 4+ messages in thread
* [bug#54995] [PATCH] gnu: Add cl-ipfs-api2.
2022-04-18 9:23 ` [bug#54995] " Maxime Devos
@ 2022-04-18 17:12 ` jgart via Guix-patches via
0 siblings, 0 replies; 4+ messages in thread
From: jgart via Guix-patches via @ 2022-04-18 17:12 UTC (permalink / raw)
To: Maxime Devos; +Cc: 54995
On Mon, 18 Apr 2022 11:23:36 +0200 Maxime Devos <maximedevos@telenet.be> wrote:
> jgart via Guix-patches via schreef op zo 17-04-2022 om 14:47 [-0400]:
> > +(which uses the locally installed go-ipfs program).")
>
> go-ipfs is missing from the inputs and would need to be patched into
> <https://github.com/JadedCtrl/cl-ipfs-api2/blob/master/main.lisp#L14>
> or <https://github.com/JadedCtrl/cl-ipfs-api2/blob/master/main.lisp#L837>
> (not sure where exactly) such that 'cl-ipfs-api2' works without 'ipfs'
> being in $PATH.
Thanks for catching that. I didn't realize it was a dependency.
I'll send an updated patch soon.
all best,
jgart
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2022-04-18 17:13 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2022-04-17 18:47 [bug#54995] [PATCH] gnu: Add cl-ipfs-api2 jgart via Guix-patches via
2022-04-18 7:27 ` bug#54995: " Guillaume Le Vaillant
2022-04-18 9:23 ` [bug#54995] " Maxime Devos
2022-04-18 17:12 ` jgart via Guix-patches via
Code repositories for project(s) associated with this public inbox
https://git.savannah.gnu.org/cgit/guix.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).