Something went wrong. Try again.
lol
Something went wrong. Try again.
1.7 kB · 94 lines
Nix
at master
1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495{ lib, buildPythonPackage, fetchFromGitHub, fetchpatch, pytestCheckHook, setuptools, writableTmpDirAsHomeHook,
packaging, pandas, pyogrio, pyproj, rtree, shapely,
# optional-dependencies folium, geoalchemy2, geopy, mapclassify, matplotlib, psycopg, pyarrow, sqlalchemy, xyzservices,}:
buildPythonPackage (finalAttrs: { pname = "geopandas"; version = "1.1.3"; pyproject = true;
src = fetchFromGitHub { owner = "geopandas"; repo = "geopandas"; tag = "v${finalAttrs.version}"; hash = "sha256-66FbHNewpSEVZ9RwngK7E4bcELa9Z2OQ9xVP9+fgeHQ="; };
build-system = [ setuptools ];
dependencies = [ packaging pandas pyogrio pyproj shapely ];
optional-dependencies = { all = [ # prevent infinite recursion (folium.overridePythonAttrs (prevAttrs: { doCheck = false; })) geoalchemy2 geopy # prevent infinite recursion (mapclassify.overridePythonAttrs (prevAttrs: { doCheck = false; })) matplotlib psycopg pyarrow sqlalchemy xyzservices ]; };
nativeCheckInputs = [ pytestCheckHook rtree writableTmpDirAsHomeHook ] ++ finalAttrs.passthru.optional-dependencies.all;
disabledTests = [ # Requires network access "test_read_file_url" ];
enabledTestPaths = [ "geopandas" ];
pythonImportsCheck = [ "geopandas" ];
meta = { description = "Python geospatial data analysis framework"; homepage = "https://geopandas.org"; changelog = "https://github.com/geopandas/geopandas/blob/${finalAttrs.src.tag}/CHANGELOG.md"; license = lib.licenses.bsd3; teams = [ lib.teams.geospatial ]; };})