python312Packages.dicomweb-client: minor refactor (#360852)
This commit is contained in:
@@ -3,6 +3,7 @@
|
||||
buildPythonPackage,
|
||||
fetchFromGitHub,
|
||||
pythonOlder,
|
||||
setuptools,
|
||||
pytestCheckHook,
|
||||
pytest-localserver,
|
||||
numpy,
|
||||
@@ -15,8 +16,9 @@
|
||||
buildPythonPackage rec {
|
||||
pname = "dicomweb-client";
|
||||
version = "0.59.1";
|
||||
pyproject = true;
|
||||
|
||||
disabled = pythonOlder "3.6";
|
||||
format = "setuptools";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "ImagingDataCommons";
|
||||
@@ -25,7 +27,9 @@ buildPythonPackage rec {
|
||||
hash = "sha256-h9gFCBmutTGNJ3wP2AGPfiUtA49yywUlNKiSh/x9kFE=";
|
||||
};
|
||||
|
||||
propagatedBuildInputs = [
|
||||
build-system = [ setuptools ];
|
||||
|
||||
dependencies = [
|
||||
numpy
|
||||
pillow
|
||||
pydicom
|
||||
@@ -43,6 +47,7 @@ buildPythonPackage rec {
|
||||
meta = with lib; {
|
||||
description = "Python client for DICOMweb RESTful services";
|
||||
homepage = "https://dicomweb-client.readthedocs.io";
|
||||
changelog = "https://github.com/ImagingDataCommons/dicomweb-client/releases/tag/v${version}";
|
||||
license = licenses.mit;
|
||||
maintainers = with maintainers; [ bcdarwin ];
|
||||
mainProgram = "dicomweb_client";
|
||||
|
||||
Reference in New Issue
Block a user