Merge pull request #316828 from imincik/proj-9.4.1

proj: 9.4.0 -> 9.4.1
This commit is contained in:
Pol Dellaiera 2024-06-03 21:19:20 +02:00 committed by GitHub
commit 9b19ff75c0
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 17 additions and 10 deletions

View File

@ -16,13 +16,13 @@
stdenv.mkDerivation (finalAttrs: {
pname = "proj";
version = "9.4.0";
version = "9.4.1";
src = fetchFromGitHub {
owner = "OSGeo";
repo = "PROJ";
rev = finalAttrs.version;
hash = "sha256-m8u5+uWeXI2lxxsTcVJbvCiV30CQifw4reAY3GHHavA=";
hash = "sha256-sLlG9NNHST9d0G5hV1tOGpTSv4rbUxERW3kwGC+t1iU=";
};
patches = [

View File

@ -2,17 +2,18 @@
lib,
buildPythonPackage,
fetchFromGitHub,
python,
proj,
fetchpatch,
pytestCheckHook,
pythonOlder,
substituteAll,
cython,
pytestCheckHook,
mock,
certifi,
cython,
mock,
numpy,
shapely,
pandas,
proj,
shapely,
xarray,
}:
@ -36,6 +37,12 @@ buildPythonPackage rec {
proj = proj;
projdev = proj.dev;
})
# fix test failure caused by update of EPSG DB
(fetchpatch {
url = "https://github.com/pyproj4/pyproj/commit/3f7c7e5bcec33d9b2f37ceb03c484ea318dff3ce.patch";
hash = "sha256-0J8AlInuhFDAYIBJAJ00XbqIanJY/D8xPVwlOapmLDE=";
})
];
nativeBuildInputs = [ cython ];
@ -44,11 +51,11 @@ buildPythonPackage rec {
propagatedBuildInputs = [ certifi ];
nativeCheckInputs = [
pytestCheckHook
mock
numpy
shapely
pandas
pytestCheckHook
shapely
xarray
];