Merge pull request #215384 from bcdarwin/pyorthanc

python310Packages.pyorthanc: init at 1.11.4

authored by

Nick Cao and committed by
GitHub
2ea3ab5e d6aaaa01

+43
+41
pkgs/development/python-modules/pyorthanc/default.nix
··· 1 + { lib 2 + , buildPythonPackage 3 + , fetchFromGitHub 4 + , pythonOlder 5 + , pytestCheckHook 6 + , poetry-core 7 + , httpx 8 + , pydicom 9 + }: 10 + 11 + buildPythonPackage rec { 12 + pname = "pyorthanc"; 13 + version = "1.11.4"; 14 + disabled = pythonOlder "3.8"; 15 + 16 + format = "pyproject"; 17 + 18 + src = fetchFromGitHub { 19 + owner = "gacou54"; 20 + repo = pname; 21 + rev = "refs/tags/v${version}"; 22 + hash = "sha256-HbNeI6KpdIoLwRx09qQGJ/iJGKnRj0Z4/mkgoXhofGA="; 23 + }; 24 + 25 + nativeBuildInputs = [ poetry-core ]; 26 + 27 + propagatedBuildInputs = [ httpx pydicom ]; 28 + 29 + doCheck = false; # requires orthanc server (not in Nixpkgs) 30 + 31 + pythonImportsCheck = [ 32 + "pyorthanc" 33 + ]; 34 + 35 + meta = with lib; { 36 + description = "Python library that wraps the Orthanc REST API"; 37 + homepage = "https://github.com/gacou54/pyorthanc"; 38 + license = licenses.mit; 39 + maintainers = with maintainers; [ bcdarwin ]; 40 + }; 41 + }
+2
pkgs/top-level/python-packages.nix
··· 7254 7254 7255 7255 pynx584 = callPackage ../development/python-modules/pynx584 { }; 7256 7256 7257 + pyorthanc = callPackage ../development/python-modules/pyorthanc { }; 7258 + 7257 7259 pyoverkiz = callPackage ../development/python-modules/pyoverkiz { }; 7258 7260 7259 7261 pyownet = callPackage ../development/python-modules/pyownet { };