blob: 6276ad90189d2c7692f2834f6e0317959614b39e (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
|
{ lib, stdenv, rustPlatform, fetchFromGitHub, pkg-config, openssl, Security }:
rustPlatform.buildRustPackage rec {
pname = "martin";
version = "0.7.2";
src = fetchFromGitHub {
owner = "maplibre";
repo = "martin";
rev = "v${version}";
hash = "sha256-F7CAP7PrG71EdAe2hb13L/fKSiFyNHYHHweqg2GiJeU=";
};
cargoHash = "sha256-/bIMQJ2+39PShVx/W/tOeD+EjPNLw4NianwJl9wkwmk=";
nativeBuildInputs = [ pkg-config ];
buildInputs = [ openssl ] ++ lib.optional stdenv.isDarwin Security;
checkFlags = [
"--skip function_source_schemas"
"--skip function_source_tile"
"--skip function_source_tilejson"
"--skip pg_get_function_tiles"
"--skip pg_get_function_source_ok_rewrite"
"--skip pg_get_function_source_ok"
"--skip pg_get_composite_source_tile_minmax_zoom_ok"
"--skip pg_get_function_source_query_params_ok"
"--skip pg_get_composite_source_tile_ok"
"--skip pg_get_catalog"
"--skip pg_get_composite_source_ok"
"--skip pg_get_health_returns_ok"
"--skip pg_get_table_source_ok"
"--skip pg_get_table_source_rewrite"
"--skip pg_null_functions"
"--skip utils::test_utils::tests::test_bad_os_str"
"--skip utils::test_utils::tests::test_get_env_str"
"--skip pg_get_table_source_multiple_geom_tile_ok"
"--skip pg_get_table_source_tile_minmax_zoom_ok"
"--skip pg_tables_feature_id"
"--skip pg_get_table_source_tile_ok"
"--skip table_source_schemas"
"--skip tables_srid_ok"
"--skip tables_tile_ok"
"--skip table_source"
"--skip tables_tilejson"
"--skip tables_multiple_geom_ok"
];
meta = with lib; {
description = "Blazing fast and lightweight PostGIS vector tiles server";
homepage = "https://martin.maplibre.org/";
license = with licenses; [ mit /* or */ asl20 ];
maintainers = with maintainers; [ sikmir ];
};
}
|