summaryrefslogtreecommitdiff
path: root/gnu/packages/python-web.scm
diff options
context:
space:
mode:
Diffstat (limited to 'gnu/packages/python-web.scm')
-rw-r--r--gnu/packages/python-web.scm53
1 files changed, 53 insertions, 0 deletions
diff --git a/gnu/packages/python-web.scm b/gnu/packages/python-web.scm
index e51c097eeb2..3e11bf604da 100644
--- a/gnu/packages/python-web.scm
+++ b/gnu/packages/python-web.scm
@@ -151,6 +151,59 @@
151 #:use-module (gnu packages) 151 #:use-module (gnu packages)
152 #:use-module (srfi srfi-1)) 152 #:use-module (srfi srfi-1))
153 153
154(define-public python-aiocoap
155 (package
156 (name "python-aiocoap")
157 (version "0.4.14")
158 (source
159 (origin
160 (method git-fetch) ; tests miss data and module files in PyPI release
161 (uri (git-reference
162 (url "https://github.com/chrysn/aiocoap")
163 (commit version)))
164 (file-name (git-file-name name version))
165 (sha256
166 (base32 "0yxvcg5llgmccv0a9hfm4nr7zxv9al4wh257m95a06g5c52v6hxz"))))
167 (build-system pyproject-build-system)
168 (arguments
169 (list
170 #:test-flags
171 ;; OSError: [Errno 98] error while attempting to bind on address ('::1',
172 ;; 8683, 0, 0): address already in use
173 #~(list "--ignore=tests/test_server.py"
174 "-k" (string-join
175 ;; TypeError: can only concatenate str (not "NoneType") to
176 ;; str
177 (list "not test_options"
178 "test_uri_parser"
179 "test_help" ; returned non-zero exit status 1.
180 "test_routing" ; address already in use
181 "test_tls")
182 " and not "))))
183 (native-inputs
184 (list openssl ;for tests/test_tls.py
185 python-pytest
186 python-setuptools
187 python-wheel))
188 (propagated-inputs
189 (list ;; python-cbor-diag
190 python-cbor2
191 python-cryptography
192 ;; python-dtlssocket
193 python-filelock
194 ;; python-ge25519
195 python-pygments
196 python-termcolor
197 python-websockets))
198 (home-page "https://github.com/chrysn/aiocoap")
199 (synopsis "Python CoAP library")
200 (description
201 "The aiocoap package is an implementation of @url{@acronym{CoAP, the
202Constrained Application Protocol}, http://coap.space/}. It facilitates
203writing applications that talk to network enabled embedded
204@acronym{IoT,Internet of Things} devices.")
205 (license license:expat)))
206
154(define-public python-devpi-common 207(define-public python-devpi-common
155 (package 208 (package
156 (name "python-devpi-common") 209 (name "python-devpi-common")