File tree Expand file tree Collapse file tree 1 file changed +13
-7
lines changed
pkgs/development/python-modules/dicomweb-client Expand file tree Collapse file tree 1 file changed +13
-7
lines changed Original file line number Diff line number Diff line change 33 buildPythonPackage ,
44 fetchFromGitHub ,
55 pythonOlder ,
6- setuptools ,
6+ hatchling ,
77 pytestCheckHook ,
88 pytest-localserver ,
99 numpy ,
@@ -18,16 +18,22 @@ buildPythonPackage rec {
1818 version = "0.60.1" ;
1919 pyproject = true ;
2020
21- disabled = pythonOlder "3.6" ;
22-
2321 src = fetchFromGitHub {
2422 owner = "ImagingDataCommons" ;
2523 repo = "dicomweb-client" ;
2624 tag = "v${ version } " ;
2725 hash = "sha256-ZxeZiCw8I5+Bf266PQ6WQA8mBRC7K3/kZrmuW4l6kQU=" ;
2826 } ;
2927
30- build-system = [ setuptools ] ;
28+ postPatch = ''
29+ substituteInPlace pyproject.toml \
30+ --replace-fail ', "uv-dynamic-versioning"' "" \
31+ --replace-fail 'dynamic = ["version"]' 'version = "${ version } "'
32+ '' ;
33+
34+ build-system = [
35+ hatchling
36+ ] ;
3137
3238 dependencies = [
3339 numpy
@@ -44,12 +50,12 @@ buildPythonPackage rec {
4450
4551 pythonImportsCheck = [ "dicomweb_client" ] ;
4652
47- meta = with lib ; {
53+ meta = {
4854 description = "Python client for DICOMweb RESTful services" ;
4955 homepage = "https://dicomweb-client.readthedocs.io" ;
5056 changelog = "https://github.com/ImagingDataCommons/dicomweb-client/releases/tag/${ src . tag } " ;
51- license = licenses . mit ;
52- maintainers = with maintainers ; [ bcdarwin ] ;
57+ license = lib . licenses . mit ;
58+ maintainers = with lib . maintainers ; [ bcdarwin ] ;
5359 mainProgram = "dicomweb_client" ;
5460 } ;
5561}
You can’t perform that action at this time.
0 commit comments