diff options
author | Jake Forster <jakecameron.forster@gmail.com> | 2025-06-14 16:31:00 +0930 |
---|---|---|
committer | Sharlatan Hellseher <sharlatanus@gmail.com> | 2025-06-18 23:46:29 +0100 |
commit | f5237bb3a10123a74637e7a656070426587b65b1 (patch) | |
tree | f445d02a70c4e1f6aaa2db6bcd8ce4840157211a /gnu/packages/python-web.scm | |
parent | 8e6b8dc6d8221b14786d1fcb32ed2262585b4335 (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.scm | 45 |
1 files changed, 45 insertions, 0 deletions
diff --git a/gnu/packages/python-web.scm b/gnu/packages/python-web.scm index 57b6826dae..445560de3e 100644 --- a/gnu/packages/python-web.scm +++ b/gnu/packages/python-web.scm @@ -75,6 +75,7 @@ ;;; Copyright © 2025 Daniel Ziltener <dziltener@lyrion.ch> ;;; Copyright © 2025 gemmaro <gemmaro.dev@gmail.com> ;;; Copyright © 2025 Sergio Pastor Pérez <sergio.pastorperez@gmail.com> +;;; Copyright © 2025 Jake Forster <jakecameron.forster@gmail.com> ;;; ;;; This file is part of GNU Guix. ;;; @@ -327,6 +328,50 @@ server process.") caching server.") (license license:expat))) +(define-public python-dicomweb-client + (package + (name "python-dicomweb-client") + (version "0.60.0") + (source + (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/ImagingDataCommons/dicomweb-client") + (commit (string-append "v" version)))) + (file-name (git-file-name name version)) + (sha256 + (base32 "1zad0905cc4jy4hnh9yhcw63bg25f7xa33x9rj9fhh5r4fznha8d")))) + (build-system pyproject-build-system) + (arguments + (list + #:phases + #~(modify-phases %standard-phases + (add-after 'unpack 'remove-dynamic-versioning + (lambda _ + (substitute* "pyproject.toml" + ;; Dynamic versioning via 'uv-dynamic-versioning' is + ;; not suitable for Guix. + (("dynamic = \\[\"version\"\\]") + (string-append "version = \"" + #$version "\"")))))))) + (native-inputs + (list python-hatchling + python-pytest + python-pytest-localserver)) + (propagated-inputs + (list python-numpy + python-pillow + python-pydicom + python-requests + python-retrying)) + (home-page "https://github.com/ImagingDataCommons/dicomweb-client") + (synopsis "Python client for DICOMweb RESTful services") + (description + "@code{dicomweb_client} provides client intefaces for DICOMweb RESTful +services QIDO-RS, WADO-RS and STOW-RS to search, retrieve and store +DICOM objects over the web, respectively.") + (license license:expat))) + (define-public python-docusign-esign (package (name "python-docusign-esign") |