python310Packages.basemap: 1.3.4 -> 1.3.6

https://github.com/matplotlib/basemap/blob/v1.3.6/CHANGELOG.md
This commit is contained in:
Robert Schütz 2022-11-09 18:31:05 -08:00
parent ac986f055a
commit 82f891e229

View file

@ -16,23 +16,17 @@
buildPythonPackage rec {
pname = "basemap";
version = "1.3.4";
version = "1.3.6";
src = fetchFromGitHub {
owner = "matplotlib";
repo = "basemap";
rev = "refs/tags/v${version}";
sha256 = "sha256-F/6xPmdXSJAuASyFaKOP+6Jz8U2JRZdqErEH7PFkr/w=";
hash = "sha256-BSWifzh+Y1f+x89oNYMBvttWY9qZ0IM5QYqSgyVb1fE=";
};
sourceRoot = "source/packages/basemap";
postPatch = ''
substituteInPlace requirements.txt \
--replace "numpy >= 1.21, < 1.23" "numpy >= 1.21, < 1.24" \
--replace "pyshp >= 1.2, < 2.2" "pyshp >= 1.2, < 2.4"
'';
nativeBuildInputs = [
cython
geos