GNU bug report logs - #54995
[PATCH] gnu: Add cl-ipfs-api2.

Previous Next

Package: guix-patches;

Reported by: jgart <jgart <at> dismail.de>

Date: Sun, 17 Apr 2022 18:49:01 UTC

Severity: normal

Tags: patch

Done: Guillaume Le Vaillant <glv <at> posteo.net>

Bug is archived. No further changes may be made.

To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 54995 in the body.
You can then email your comments to 54995 AT debbugs.gnu.org in the normal way.

Toggle the display of automated, internal messages from the tracker.

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to guix-patches <at> gnu.org:
bug#54995; Package guix-patches. (Sun, 17 Apr 2022 18:49:01 GMT) Full text and rfc822 format available.

Acknowledgement sent to jgart <jgart <at> dismail.de>:
New bug report received and forwarded. Copy sent to guix-patches <at> gnu.org. (Sun, 17 Apr 2022 18:49:01 GMT) Full text and rfc822 format available.

Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):

From: jgart <jgart <at> dismail.de>
To: guix-patches <at> gnu.org
Cc: jgart <jgart <at> dismail.de>
Subject: [PATCH] gnu: Add cl-ipfs-api2.
Date: Sun, 17 Apr 2022 14:47:48 -0400
* 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





Reply sent to Guillaume Le Vaillant <glv <at> posteo.net>:
You have taken responsibility. (Mon, 18 Apr 2022 07:30:02 GMT) Full text and rfc822 format available.

Notification sent to jgart <jgart <at> dismail.de>:
bug acknowledged by developer. (Mon, 18 Apr 2022 07:30:02 GMT) Full text and rfc822 format available.

Message #10 received at 54995-done <at> debbugs.gnu.org (full text, mbox):

From: Guillaume Le Vaillant <glv <at> posteo.net>
To: jgart <jgart <at> dismail.de>
Cc: 54995-done <at> debbugs.gnu.org
Subject: Re: [bug#54995] [PATCH] gnu: Add cl-ipfs-api2.
Date: Mon, 18 Apr 2022 07:27:28 +0000
[Message part 1 (text/plain, inline)]
Patch pushed as b629b302696605201b270439bf8e4f958547a88f with a few
modifications (the 'asd-files' and 'asd-systems' parameters were not
necessary in this case).
Thanks.
[signature.asc (application/pgp-signature, inline)]

Information forwarded to guix-patches <at> gnu.org:
bug#54995; Package guix-patches. (Mon, 18 Apr 2022 09:24:02 GMT) Full text and rfc822 format available.

Message #13 received at 54995 <at> debbugs.gnu.org (full text, mbox):

From: Maxime Devos <maximedevos <at> telenet.be>
To: jgart <jgart <at> dismail.de>, 54995 <at> debbugs.gnu.org
Subject: Re: [bug#54995] [PATCH] gnu: Add cl-ipfs-api2.
Date: Mon, 18 Apr 2022 11:23:36 +0200
[Message part 1 (text/plain, inline)]
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.
[signature.asc (application/pgp-signature, inline)]

Information forwarded to guix-patches <at> gnu.org:
bug#54995; Package guix-patches. (Mon, 18 Apr 2022 17:13:02 GMT) Full text and rfc822 format available.

Message #16 received at 54995 <at> debbugs.gnu.org (full text, mbox):

From: jgart <jgart <at> dismail.de>
To: Maxime Devos <maximedevos <at> telenet.be>
Cc: 54995 <at> debbugs.gnu.org
Subject: Re: [bug#54995] [PATCH] gnu: Add cl-ipfs-api2.
Date: Mon, 18 Apr 2022 13:12:13 -0400
On Mon, 18 Apr 2022 11:23:36 +0200 Maxime Devos <maximedevos <at> 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




bug archived. Request was from Debbugs Internal Request <help-debbugs <at> gnu.org> to internal_control <at> debbugs.gnu.org. (Tue, 17 May 2022 11:24:10 GMT) Full text and rfc822 format available.

This bug report was last modified 3 years and 88 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.