summaryrefslogtreecommitdiff
path: root/gnu/packages/python-web.scm
diff options
context:
space:
mode:
authorJake Forster <jakecameron.forster@gmail.com>2025-06-14 16:31:00 +0930
committerSharlatan Hellseher <sharlatanus@gmail.com>2025-06-18 23:46:29 +0100
commitf5237bb3a10123a74637e7a656070426587b65b1 (patch)
treef445d02a70c4e1f6aaa2db6bcd8ce4840157211a /gnu/packages/python-web.scm
parent8e6b8dc6d8221b14786d1fcb32ed2262585b4335 (diff)
gnu: Add python-dicomweb-client.
* gnu/packages/python-web.scm (python-dicomweb-client): New variable. Change-Id: I16f511aac93944ae38d147652449a17ad4cfaba0 Signed-off-by: Sharlatan Hellseher <sharlatanus@gmail.com>
Diffstat (limited to 'gnu/packages/python-web.scm')
-rw-r--r--gnu/packages/python-web.scm45
1 files changed, 45 insertions, 0 deletions
diff --git a/gnu/packages/python-web.scm b/gnu/packages/python-web.scm
index 57b6826dae2..445560de3e7 100644
--- a/gnu/packages/python-web.scm
+++ b/gnu/packages/python-web.scm
@@ -75,6 +75,7 @@
75;;; Copyright © 2025 Daniel Ziltener <dziltener@lyrion.ch> 75;;; Copyright © 2025 Daniel Ziltener <dziltener@lyrion.ch>
76;;; Copyright © 2025 gemmaro <gemmaro.dev@gmail.com> 76;;; Copyright © 2025 gemmaro <gemmaro.dev@gmail.com>
77;;; Copyright © 2025 Sergio Pastor Pérez <sergio.pastorperez@gmail.com> 77;;; Copyright © 2025 Sergio Pastor Pérez <sergio.pastorperez@gmail.com>
78;;; Copyright © 2025 Jake Forster <jakecameron.forster@gmail.com>
78;;; 79;;;
79;;; This file is part of GNU Guix. 80;;; This file is part of GNU Guix.
80;;; 81;;;
@@ -327,6 +328,50 @@ server process.")
327caching server.") 328caching server.")
328 (license license:expat))) 329 (license license:expat)))
329 330
331(define-public python-dicomweb-client
332 (package
333 (name "python-dicomweb-client")
334 (version "0.60.0")
335 (source
336 (origin
337 (method git-fetch)
338 (uri (git-reference
339 (url "https://github.com/ImagingDataCommons/dicomweb-client")
340 (commit (string-append "v" version))))
341 (file-name (git-file-name name version))
342 (sha256
343 (base32 "1zad0905cc4jy4hnh9yhcw63bg25f7xa33x9rj9fhh5r4fznha8d"))))
344 (build-system pyproject-build-system)
345 (arguments
346 (list
347 #:phases
348 #~(modify-phases %standard-phases
349 (add-after 'unpack 'remove-dynamic-versioning
350 (lambda _
351 (substitute* "pyproject.toml"
352 ;; Dynamic versioning via 'uv-dynamic-versioning' is
353 ;; not suitable for Guix.
354 (("dynamic = \\[\"version\"\\]")
355 (string-append "version = \""
356 #$version "\""))))))))
357 (native-inputs
358 (list python-hatchling
359 python-pytest
360 python-pytest-localserver))
361 (propagated-inputs
362 (list python-numpy
363 python-pillow
364 python-pydicom
365 python-requests
366 python-retrying))
367 (home-page "https://github.com/ImagingDataCommons/dicomweb-client")
368 (synopsis "Python client for DICOMweb RESTful services")
369 (description
370 "@code{dicomweb_client} provides client intefaces for DICOMweb RESTful
371services QIDO-RS, WADO-RS and STOW-RS to search, retrieve and store
372DICOM objects over the web, respectively.")
373 (license license:expat)))
374
330(define-public python-docusign-esign 375(define-public python-docusign-esign
331 (package 376 (package
332 (name "python-docusign-esign") 377 (name "python-docusign-esign")