mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-11 16:23:26 +00:00
python310Packages.dicomweb-client: init at 0.59.1
This commit is contained in:
parent
5b67ec7a71
commit
414ea01831
51
pkgs/development/python-modules/dicomweb-client/default.nix
Normal file
51
pkgs/development/python-modules/dicomweb-client/default.nix
Normal file
@ -0,0 +1,51 @@
|
||||
{ lib
|
||||
, buildPythonPackage
|
||||
, fetchFromGitHub
|
||||
, pythonOlder
|
||||
, pytestCheckHook
|
||||
, pytest-localserver
|
||||
, numpy
|
||||
, pillow
|
||||
, pydicom
|
||||
, requests
|
||||
, retrying
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "dicomweb-client";
|
||||
version = "0.59.1";
|
||||
disabled = pythonOlder "3.6";
|
||||
format = "setuptools";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "ImagingDataCommons";
|
||||
repo = pname;
|
||||
rev = "refs/tags/v${version}";
|
||||
hash = "sha256-h9gFCBmutTGNJ3wP2AGPfiUtA49yywUlNKiSh/x9kFE=";
|
||||
};
|
||||
|
||||
propagatedBuildInputs = [
|
||||
numpy
|
||||
pillow
|
||||
pydicom
|
||||
requests
|
||||
retrying
|
||||
];
|
||||
|
||||
nativeCheckInputs = [
|
||||
pytestCheckHook
|
||||
pytest-localserver
|
||||
];
|
||||
|
||||
pythonImportsCheck = [
|
||||
"dicomweb_client"
|
||||
];
|
||||
|
||||
meta = with lib; {
|
||||
description = "Python client for DICOMweb RESTful services";
|
||||
homepage = "https://dicomweb-client.readthedocs.io";
|
||||
license = licenses.mit;
|
||||
maintainers = with maintainers; [ bcdarwin ];
|
||||
mainProgram = "dicomweb_client";
|
||||
};
|
||||
}
|
@ -2456,6 +2456,8 @@ self: super: with self; {
|
||||
|
||||
dicom-numpy = callPackage ../development/python-modules/dicom-numpy { };
|
||||
|
||||
dicomweb-client = callPackage ../development/python-modules/dicomweb-client { };
|
||||
|
||||
dict2xml = callPackage ../development/python-modules/dict2xml { };
|
||||
|
||||
dictdiffer = callPackage ../development/python-modules/dictdiffer { };
|
||||
|
Loading…
Reference in New Issue
Block a user