1{
2 lib,
3 buildPythonPackage,
4 fetchFromGitHub,
5 setuptools,
6 pandas,
7 pyarrow,
8 pyproj,
9 shapely,
10 geopandas,
11 pytestCheckHook,
12}:
13
14buildPythonPackage {
15 pname = "geoparquet";
16 version = "0.7.5";
17 pyproject = true;
18
19 src = fetchFromGitHub {
20 owner = "darcy-r";
21 repo = "geoparquet-python";
22 rev = "b09b12dd0ebc34d73f082c3d97ccb69a889167e3";
23 hash = "sha256-WGZfDQh7Abh83n8jsCGr41IlKKq7QVDlauuWi20llh8=";
24 };
25
26 build-system = [ setuptools ];
27
28 dependencies = [
29 pandas
30 pyarrow
31 pyproj
32 shapely
33 geopandas
34 ];
35
36 nativeCheckInputs = [ pytestCheckHook ];
37 pythonImportsCheck = [ "geoparquet" ];
38
39 doCheck = false; # no tests
40
41 meta = {
42 description = "API between Parquet files and GeoDataFrames for fast input/output of GIS data";
43 homepage = "https://github.com/darcy-r/geoparquet-python";
44 license = lib.licenses.mit;
45 maintainers = with lib.maintainers; [ sigmanificient ];
46 };
47}