18 buildPythonPackage rec {
21 format = "setuptools";
22 disabled = pythonOlder "3.9";
24 src = fetchFromGitHub {
27 rev = "refs/tags/${version}";
28 hash = "sha256-ynAhu89VpvtQJRkIeVyffQHhd+OvWSiZzaI/7nd6fXA=";
31 # force pyproj to use ${proj}
34 src = ./001.proj.patch;
40 nativeBuildInputs = [ cython ];
41 buildInputs = [ proj ];
43 propagatedBuildInputs = [
62 "test/test_doctest_wrapper.py"
63 "test/test_datadir.py"
67 # The following tests try to access network and end up with a URLError
68 "test__load_grid_geojson_old_file"
69 "test_get_transform_grid_list"
70 "test_get_transform_grid_list__area_of_use"
71 "test_get_transform_grid_list__bbox__antimeridian"
72 "test_get_transform_grid_list__bbox__out_of_bounds"
73 "test_get_transform_grid_list__contains"
74 "test_get_transform_grid_list__file"
75 "test_get_transform_grid_list__source_id"
76 "test_sync__area_of_use__list"
77 "test_sync__bbox__list"
78 "test_sync__bbox__list__exclude_world_coverage"
79 "test_sync__download_grids"
80 "test_sync__file__list"
81 "test_sync__source_id__list"
83 "test_sync_download__directory"
84 "test_sync_download__system_directory"
85 "test_transformer_group__download_grids"
87 # proj-data grid required
88 "test_azimuthal_equidistant"
91 pythonImportsCheck = [
108 description = "Python interface to PROJ library";
109 mainProgram = "pyproj";
110 homepage = "https://github.com/pyproj4/pyproj";
111 changelog = "https://github.com/pyproj4/pyproj/blob/${src.rev}/docs/history.rst";
112 license = licenses.mit;
113 maintainers = with maintainers; teams.geospatial.members ++ [ lsix dotlambda ];