Loading pkgs/development/python-modules/spatial-image/default.nix 0 → 100644 +47 −0 Original line number Diff line number Diff line { lib , buildPythonPackage , pythonOlder , fetchFromGitHub , flit-core , pytestCheckHook , numpy , xarray , xarray-dataclasses }: buildPythonPackage rec { pname = "spatial-image"; version = "1.0.0"; pyproject = true; disabled = pythonOlder "3.8"; src = fetchFromGitHub { owner = "spatial-image"; repo = "spatial-image"; rev = "refs/tags/v${version}"; hash = "sha256-nCsxPhIgGmZZntYbhQ3KnzptcKdN288eNixbQDgECSQ="; }; nativeBuildInputs = [ flit-core ]; propagatedBuildInputs = [ numpy xarray xarray-dataclasses ]; nativeCheckInputs = [ pytestCheckHook ]; pythonImportsCheck = [ "spatial_image" ]; meta = with lib; { description = "A multi-dimensional spatial image data structure for scientific Python"; homepage = "https://github.com/spatial-image/spatial-image"; changelog = "https://github.com/spatial-image/spatial-image/releases/tag/v${version}"; license = licenses.mit; maintainers = with maintainers; [ bcdarwin ]; }; } pkgs/development/python-modules/xarray-dataclasses/default.nix 0 → 100644 +47 −0 Original line number Diff line number Diff line { lib , buildPythonPackage , fetchFromGitHub , pythonOlder , poetry-core , pytestCheckHook , numpy , typing-extensions , xarray }: buildPythonPackage rec { pname = "xarray-dataclasses"; version = "1.7.0"; pyproject = true; disabled = pythonOlder "3.8"; src = fetchFromGitHub { owner = "astropenguin"; repo = "xarray-dataclasses"; rev = "refs/tags/v${version}"; hash = "sha256-fyRUH6t2+9tsxRQFfJR2EHinYtwCmWeCB77kpmBgdBA="; }; nativeBuildInputs = [ poetry-core ]; propagatedBuildInputs = [ numpy typing-extensions xarray ]; nativeCheckInputs = [ pytestCheckHook ]; pythonImportsCheck = [ "xarray_dataclasses" ]; meta = with lib; { description = "xarray data creation made easy by dataclass"; homepage = "https://github.com/astropenguin/xarray-dataclasses"; changelog = "https://github.com/astropenguin/xarray-dataclasses/releases/tag/v${version}"; license = licenses.mit; maintainers = with maintainers; [ bcdarwin ]; }; } pkgs/top-level/python-packages.nix +4 −0 Original line number Diff line number Diff line Loading @@ -13607,6 +13607,8 @@ self: super: with self; { sparse = callPackage ../development/python-modules/sparse { }; spatial-image = callPackage ../development/python-modules/spatial-image { }; spdx-tools = callPackage ../development/python-modules/spdx-tools { }; speaklater = callPackage ../development/python-modules/speaklater { }; Loading Loading @@ -16327,6 +16329,8 @@ self: super: with self; { xarray = callPackage ../development/python-modules/xarray { }; xarray-dataclasses = callPackage ../development/python-modules/xarray-dataclasses { }; xarray-einstats = callPackage ../development/python-modules/xarray-einstats { }; xattr = callPackage ../development/python-modules/xattr { }; Loading
pkgs/development/python-modules/spatial-image/default.nix 0 → 100644 +47 −0 Original line number Diff line number Diff line { lib , buildPythonPackage , pythonOlder , fetchFromGitHub , flit-core , pytestCheckHook , numpy , xarray , xarray-dataclasses }: buildPythonPackage rec { pname = "spatial-image"; version = "1.0.0"; pyproject = true; disabled = pythonOlder "3.8"; src = fetchFromGitHub { owner = "spatial-image"; repo = "spatial-image"; rev = "refs/tags/v${version}"; hash = "sha256-nCsxPhIgGmZZntYbhQ3KnzptcKdN288eNixbQDgECSQ="; }; nativeBuildInputs = [ flit-core ]; propagatedBuildInputs = [ numpy xarray xarray-dataclasses ]; nativeCheckInputs = [ pytestCheckHook ]; pythonImportsCheck = [ "spatial_image" ]; meta = with lib; { description = "A multi-dimensional spatial image data structure for scientific Python"; homepage = "https://github.com/spatial-image/spatial-image"; changelog = "https://github.com/spatial-image/spatial-image/releases/tag/v${version}"; license = licenses.mit; maintainers = with maintainers; [ bcdarwin ]; }; }
pkgs/development/python-modules/xarray-dataclasses/default.nix 0 → 100644 +47 −0 Original line number Diff line number Diff line { lib , buildPythonPackage , fetchFromGitHub , pythonOlder , poetry-core , pytestCheckHook , numpy , typing-extensions , xarray }: buildPythonPackage rec { pname = "xarray-dataclasses"; version = "1.7.0"; pyproject = true; disabled = pythonOlder "3.8"; src = fetchFromGitHub { owner = "astropenguin"; repo = "xarray-dataclasses"; rev = "refs/tags/v${version}"; hash = "sha256-fyRUH6t2+9tsxRQFfJR2EHinYtwCmWeCB77kpmBgdBA="; }; nativeBuildInputs = [ poetry-core ]; propagatedBuildInputs = [ numpy typing-extensions xarray ]; nativeCheckInputs = [ pytestCheckHook ]; pythonImportsCheck = [ "xarray_dataclasses" ]; meta = with lib; { description = "xarray data creation made easy by dataclass"; homepage = "https://github.com/astropenguin/xarray-dataclasses"; changelog = "https://github.com/astropenguin/xarray-dataclasses/releases/tag/v${version}"; license = licenses.mit; maintainers = with maintainers; [ bcdarwin ]; }; }
pkgs/top-level/python-packages.nix +4 −0 Original line number Diff line number Diff line Loading @@ -13607,6 +13607,8 @@ self: super: with self; { sparse = callPackage ../development/python-modules/sparse { }; spatial-image = callPackage ../development/python-modules/spatial-image { }; spdx-tools = callPackage ../development/python-modules/spdx-tools { }; speaklater = callPackage ../development/python-modules/speaklater { }; Loading Loading @@ -16327,6 +16329,8 @@ self: super: with self; { xarray = callPackage ../development/python-modules/xarray { }; xarray-dataclasses = callPackage ../development/python-modules/xarray-dataclasses { }; xarray-einstats = callPackage ../development/python-modules/xarray-einstats { }; xattr = callPackage ../development/python-modules/xattr { };