Loading pkgs/development/python-modules/xnatpy/default.nix 0 → 100644 +50 −0 Original line number Diff line number Diff line { lib , buildPythonPackage , fetchPypi , pythonOlder , setuptools , click , isodate , progressbar2 , pydicom , requests }: buildPythonPackage rec { pname = "xnatpy"; version = "0.5.1"; format = "pyproject"; disabled = pythonOlder "3.7"; src = fetchPypi { pname = "xnat"; inherit version; hash = "sha256-iOw9cVWP5Am4S9JQ0NTmtew38KZiKmau+19K2KG2aKQ="; }; nativeBuildInputs = [ setuptools ]; propagatedBuildInputs = [ click isodate progressbar2 pydicom requests ]; # tests missing in PyPI dist and require network access and Docker container doCheck = false; pythonImportsCheck = [ "xnat" ]; meta = with lib; { homepage = "https://xnat.readthedocs.io"; description = "A new XNAT client (distinct from pyxnat) that exposes XNAT objects/functions as Python objects/functions"; changelog = "https://gitlab.com/radiology/infrastructure/xnatpy/-/blob/${version}/CHANGELOG?ref_type=tags"; license = licenses.asl20; maintainers = with maintainers; [ bcdarwin ]; mainProgram = "xnat"; }; } pkgs/top-level/python-packages.nix +2 −0 Original line number Diff line number Diff line Loading @@ -13016,6 +13016,8 @@ self: super: with self; { xmodem = callPackage ../development/python-modules/xmodem { }; xnatpy = callPackage ../development/python-modules/xnatpy { }; xnd = callPackage ../development/python-modules/xnd { }; xpath-expressions = callPackage ../development/python-modules/xpath-expressions { }; Loading Loading
pkgs/development/python-modules/xnatpy/default.nix 0 → 100644 +50 −0 Original line number Diff line number Diff line { lib , buildPythonPackage , fetchPypi , pythonOlder , setuptools , click , isodate , progressbar2 , pydicom , requests }: buildPythonPackage rec { pname = "xnatpy"; version = "0.5.1"; format = "pyproject"; disabled = pythonOlder "3.7"; src = fetchPypi { pname = "xnat"; inherit version; hash = "sha256-iOw9cVWP5Am4S9JQ0NTmtew38KZiKmau+19K2KG2aKQ="; }; nativeBuildInputs = [ setuptools ]; propagatedBuildInputs = [ click isodate progressbar2 pydicom requests ]; # tests missing in PyPI dist and require network access and Docker container doCheck = false; pythonImportsCheck = [ "xnat" ]; meta = with lib; { homepage = "https://xnat.readthedocs.io"; description = "A new XNAT client (distinct from pyxnat) that exposes XNAT objects/functions as Python objects/functions"; changelog = "https://gitlab.com/radiology/infrastructure/xnatpy/-/blob/${version}/CHANGELOG?ref_type=tags"; license = licenses.asl20; maintainers = with maintainers; [ bcdarwin ]; mainProgram = "xnat"; }; }
pkgs/top-level/python-packages.nix +2 −0 Original line number Diff line number Diff line Loading @@ -13016,6 +13016,8 @@ self: super: with self; { xmodem = callPackage ../development/python-modules/xmodem { }; xnatpy = callPackage ../development/python-modules/xnatpy { }; xnd = callPackage ../development/python-modules/xnd { }; xpath-expressions = callPackage ../development/python-modules/xpath-expressions { }; Loading