12 rustPlatform.buildRustPackage rec {
16 src = fetchFromGitHub {
20 hash = "sha256-Jq72aEwM5bIaVywmS3HetR6nnBZnr3oa9a/4ZbgeL9E=";
23 cargoHash = "sha256-RO9nUH2+0jOCbvGtZ5j802mL85tY+Jz7ygPrNuFeE98=";
25 nativeBuildInputs = [ pkg-config ];
29 ++ lib.optionals stdenv.hostPlatform.isDarwin [
35 "--skip function_source_schemas"
36 "--skip function_source_tile"
37 "--skip function_source_tilejson"
38 "--skip pg_get_function_tiles"
39 "--skip pg_get_function_source_ok_rewrite"
40 "--skip pg_get_function_source_ok"
41 "--skip pg_get_composite_source_tile_minmax_zoom_ok"
42 "--skip pg_get_function_source_query_params_ok"
43 "--skip pg_get_composite_source_tile_ok"
44 "--skip pg_get_catalog"
45 "--skip pg_get_composite_source_ok"
46 "--skip pg_get_health_returns_ok"
47 "--skip pg_get_table_source_ok"
48 "--skip pg_get_table_source_rewrite"
49 "--skip pg_null_functions"
50 "--skip utils::test_utils::tests::test_bad_os_str"
51 "--skip utils::test_utils::tests::test_get_env_str"
52 "--skip pg_get_table_source_multiple_geom_tile_ok"
53 "--skip pg_get_table_source_tile_minmax_zoom_ok"
54 "--skip pg_tables_feature_id"
55 "--skip pg_get_table_source_tile_ok"
56 "--skip table_source_schemas"
57 "--skip tables_srid_ok"
58 "--skip tables_tile_ok"
60 "--skip tables_tilejson"
61 "--skip tables_multiple_geom_ok"
65 description = "Blazing fast and lightweight PostGIS vector tiles server";
66 homepage = "https://martin.maplibre.org/";
67 license = with licenses; [
71 maintainers = with maintainers; [ sikmir ];