Something went wrong. Try again.
lol
Something went wrong. Try again.
1.7 kB · 80 lines
Nix
at master
123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081{ lib, buildPythonPackage, fetchFromGitHub, pytestCheckHook, geoarrow-c, pyarrow, pyarrow-hotfix, numpy, pandas, geoarrow-types, geopandas, pyogrio, pyproj, setuptools-scm,}:buildPythonPackage rec { pname = "geoarrow-pyarrow"; version = "0.3.0"; pyproject = true;
src = fetchFromGitHub { repo = "geoarrow-python"; owner = "geoarrow"; tag = "geoarrow-types-${version}"; hash = "sha256-ciElwh94ukFyFdOBuQWyOUVpn4jBM1RKfxiBCcM+nmE="; };
sourceRoot = "${src.name}/geoarrow-pyarrow";
build-system = [ setuptools-scm ];
disabledTests = [ # these tests are incompatible with arrow 17 "test_make_point" "test_point_with_offset" "test_linestring_with_offset" "test_polygon_with_offset" "test_multipoint_with_offset" "test_multilinestring_with_offset" "test_multipolygon_with_offset" "test_multipolygon_with_offset_nonempty_inner_lists" "test_interleaved_multipolygon_with_offset" "test_readpyogrio_table_gpkg" "test_geometry_type_basic" ];
dependencies = [ geoarrow-c pyarrow pyarrow-hotfix ];
env.SETUPTOOLS_SCM_PRETEND_VERSION = version;
nativeCheckInputs = [ pytestCheckHook ];
checkInputs = [ geoarrow-types numpy pandas geopandas pyogrio pyproj ];
pythonImportsCheck = [ "geoarrow.pyarrow" ];
meta = { description = "PyArrow implementation of geospatial data types"; homepage = "https://github.com/geoarrow/geoarrow-python"; license = lib.licenses.asl20; maintainers = with lib.maintainers; [ cpcloud ]; teams = [ lib.teams.geospatial ]; };}