Something went wrong. Try again.
What happens if I push all of nixpkgs
Something went wrong. Try again.
1.6 kB · 93 lines
Nix
at master
12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394{ lib, buildPythonPackage, fetchFromGitHub,
# build-system flit-core,
# dependencies affine, dask, numpy, odc-geo, odc-loader, pandas, pystac, rasterio, toolz, typing-extensions, xarray,
# optional-dependencies botocore,
# tests geopandas, distributed, pystac-client, pytestCheckHook,}:
buildPythonPackage rec { pname = "odc-stac"; version = "0.4.0"; pyproject = true;
src = fetchFromGitHub { owner = "opendatacube"; repo = "odc-stac"; tag = "v${version}"; hash = "sha256-Ekyavcin13B4DAxv0/XG5QTBuLE7PRospAXe40fHeX0="; };
build-system = [ flit-core ];
dependencies = [ affine dask numpy odc-geo odc-loader pandas pystac rasterio toolz typing-extensions xarray ];
optional-dependencies = { botocore = [ botocore ]; };
nativeCheckInputs = [ geopandas distributed pystac-client pytestCheckHook ] ++ optional-dependencies.botocore;
disabledTestMarks = [ "network" ];
disabledTests = [ # pystac href error (possible related to network) "test_extract_md" "test_parse_item" "test_parse_item_no_proj" # urllib url open error "test_norm_geom" "test_output_geobox" ];
pythonImportsCheck = [ "odc.stac" ];
meta = { description = "Load STAC items into xarray Datasets"; homepage = "https://github.com/opendatacube/odc-stac/"; changelog = "https://github.com/opendatacube/odc-stac/tag/${src.tag}"; license = lib.licenses.asl20; maintainers = with lib.maintainers; [ daspk04 ]; };}