mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-23 23:43:30 +00:00
Merge pull request #327871 from imincik/geopandas-1.0.1
python3Packages.geopandas: 0.14.4 -> 1.0.1
This commit is contained in:
commit
f60b513b11
@ -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
|
||||
];
|
||||
|
Loading…
Reference in New Issue
Block a user