Merge pull request #327871 from imincik/geopandas-1.0.1

python3Packages.geopandas: 0.14.4 -> 1.0.1
This commit is contained in:
Ivan Mincik 2024-07-21 09:40:54 +00:00 committed by GitHub
commit f60b513b11
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -3,14 +3,13 @@
stdenv,
buildPythonPackage,
fetchFromGitHub,
fetchpatch,
pytestCheckHook,
pythonOlder,
setuptools,
fiona,
packaging,
pandas,
pyogrio,
pyproj,
rtree,
shapely,
@ -18,7 +17,7 @@
buildPythonPackage rec {
pname = "geopandas";
version = "0.14.4";
version = "1.0.1";
pyproject = true;
disabled = pythonOlder "3.9";
@ -27,29 +26,15 @@ buildPythonPackage rec {
owner = "geopandas";
repo = "geopandas";
rev = "refs/tags/v${version}";
hash = "sha256-FBhPcae8bnNnsfr14I1p22VhoOf9USF9DAcrAqx+zso=";
hash = "sha256-SZizjwkx8dsnaobDYpeQm9jeXZ4PlzYyjIScnQrH63Q=";
};
patches = [
# GDAL 3.9 compat for boolean array in shp
(fetchpatch {
url = "https://github.com/geopandas/geopandas/commit/f1be60532bed31cb410ce4db2da6b733bc8713c9.patch";
sha256 = "sha256-DZhC7sSOki0XTcojSRvVVSlsnYnxCw/Ee7vHBmDCsbA=";
})
# GDAL 3.9 compat for boolean array in shp for fiona
(fetchpatch {
url = "https://github.com/geopandas/geopandas/commit/1e08422d8aee4877752047a8a08f41e3a67188f2.patch";
sha256 = "sha256-SpNqe7jL1rA79YhhSUfEzt30plt56Tux5v1h7IHp31I=";
})
];
build-system = [ setuptools ];
propagatedBuildInputs = [
fiona
packaging
pandas
pyogrio
pyproj
shapely
];