From 49900f4180e0135618e666b5430e5fef509a5dc0 Mon Sep 17 00:00:00 2001 From: Fabian Affolter Date: Tue, 2 Sep 2025 19:40:09 +0200 Subject: [PATCH] python313Packages.odc-stac: adjust build-system - add missing dependency --- pkgs/development/python-modules/odc-stac/default.nix | 12 +++++------- 1 file changed, 5 insertions(+), 7 deletions(-) diff --git a/pkgs/development/python-modules/odc-stac/default.nix b/pkgs/development/python-modules/odc-stac/default.nix index 00ec04b1f674..99c06e80ed09 100644 --- a/pkgs/development/python-modules/odc-stac/default.nix +++ b/pkgs/development/python-modules/odc-stac/default.nix @@ -4,7 +4,7 @@ fetchFromGitHub, # build-system - hatchling, + flit-core, # dependencies affine, @@ -16,6 +16,7 @@ pystac, rasterio, toolz, + typing-extensions, xarray, # optional-dependencies @@ -40,9 +41,7 @@ buildPythonPackage rec { hash = "sha256-Ekyavcin13B4DAxv0/XG5QTBuLE7PRospAXe40fHeX0="; }; - build-system = [ - hatchling - ]; + build-system = [ flit-core ]; dependencies = [ affine @@ -54,6 +53,7 @@ buildPythonPackage rec { pystac rasterio toolz + typing-extensions xarray ]; @@ -81,9 +81,7 @@ buildPythonPackage rec { "test_output_geobox" ]; - pythonImportsCheck = [ - "odc.stac" - ]; + pythonImportsCheck = [ "odc.stac" ]; meta = { description = "Load STAC items into xarray Datasets";