guix-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

32/57: gnu: Add python-ipfsspec.


From: guix-commits
Subject: 32/57: gnu: Add python-ipfsspec.
Date: Mon, 22 Apr 2024 05:36:30 -0400 (EDT)

rekado pushed a commit to branch master
in repository guix.

commit d1e66d2ddf0b7a2a7385404b6f69bc009d53661d
Author: Ricardo Wurmus <rekado@elephly.net>
AuthorDate: Fri Apr 19 13:07:16 2024 +0200

    gnu: Add python-ipfsspec.
    
    * gnu/packages/python-xyz.scm (python-ipfsspec): New variable.
    
    Change-Id: I1fe0c2523616b9567501ef369c07b61fcacbee81
---
 gnu/packages/python-xyz.scm | 28 ++++++++++++++++++++++++++++
 1 file changed, 28 insertions(+)

diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm
index bac90b1e07..57d34dae34 100644
--- a/gnu/packages/python-xyz.scm
+++ b/gnu/packages/python-xyz.scm
@@ -8626,6 +8626,34 @@ tracebacks and better introspection than Python's 
standard @command{pdb}
 debugger, with which it shares the same interface.")
     (license license:bsd-3)))
 
+(define-public python-ipfsspec
+  (package
+    (name "python-ipfsspec")
+    (version "0.4.0")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (pypi-uri "ipfsspec" version))
+       (sha256
+        (base32 "1y4ad9schc76j2lynm7vpwi4q4jzi9vv843zfpisbp8zqgm0rr7l"))))
+    (build-system pyproject-build-system)
+    (arguments
+     (list
+      #:test-flags
+      '(list "-m not local_gw"
+             ;; Require local gateway
+             "--ignore=test/test_gateway.py"
+             ;; Require internet
+             "--ignore=test/test_async.py"
+             "--ignore=test/test_ipfs.py")))
+    (propagated-inputs (list python-aiohttp python-fsspec python-requests))
+    (native-inputs (list python-pytest python-pytest-asyncio))
+    (home-page "https://github.com/fsspec/ipfsspec";)
+    (synopsis "Read-only implementation of fsspec for IPFS")
+    (description "This package provides a read-only implementation of
+@code{fsspec} for IPFS.")
+    (license license:expat)))
+
 (define-public python-pdbpp
   ;; The latest release lacks support for Python 3.10; use the latest commit
   ;; of the master branch (see: https://github.com/pdbpp/pdbpp/issues/503).



reply via email to

[Prev in Thread] Current Thread [Next in Thread]