biome: 1.9.2 -> 1.9.3 (#349335)
[NixPkgs.git] / pkgs / development / python-modules / dicomweb-client / default.nix
blobc5624deaf46e2151ef04e424d5b5340d681634e0
2   lib,
3   buildPythonPackage,
4   fetchFromGitHub,
5   pythonOlder,
6   pytestCheckHook,
7   pytest-localserver,
8   numpy,
9   pillow,
10   pydicom,
11   requests,
12   retrying,
15 buildPythonPackage rec {
16   pname = "dicomweb-client";
17   version = "0.59.1";
18   disabled = pythonOlder "3.6";
19   format = "setuptools";
21   src = fetchFromGitHub {
22     owner = "ImagingDataCommons";
23     repo = pname;
24     rev = "refs/tags/v${version}";
25     hash = "sha256-h9gFCBmutTGNJ3wP2AGPfiUtA49yywUlNKiSh/x9kFE=";
26   };
28   propagatedBuildInputs = [
29     numpy
30     pillow
31     pydicom
32     requests
33     retrying
34   ];
36   nativeCheckInputs = [
37     pytestCheckHook
38     pytest-localserver
39   ];
41   pythonImportsCheck = [ "dicomweb_client" ];
43   meta = with lib; {
44     description = "Python client for DICOMweb RESTful services";
45     homepage = "https://dicomweb-client.readthedocs.io";
46     license = licenses.mit;
47     maintainers = with maintainers; [ bcdarwin ];
48     mainProgram = "dicomweb_client";
49   };