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/top-level/python-packages.nix +2 −0 Original line number Diff line number Diff line Loading @@ -13576,6 +13576,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
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/top-level/python-packages.nix +2 −0 Original line number Diff line number Diff line Loading @@ -13576,6 +13576,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