2022-10-21 18:38:19 +00:00
|
|
|
{ lib, stdenv, rustPlatform, fetchFromGitHub, fetchpatch, Security }:
|
2020-07-18 16:06:22 +00:00
|
|
|
|
|
|
|
rustPlatform.buildRustPackage rec {
|
|
|
|
pname = "martin";
|
2022-12-28 21:21:41 +00:00
|
|
|
version = "0.6.2";
|
2020-07-18 16:06:22 +00:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
2022-11-27 09:42:12 +00:00
|
|
|
owner = "maplibre";
|
|
|
|
repo = "martin";
|
2020-07-18 16:06:22 +00:00
|
|
|
rev = "v${version}";
|
2022-12-28 21:21:41 +00:00
|
|
|
hash = "sha256-+XD4w6W6dyKuTItLQS0P/waksIVsPXVswcrCQ7jpw90=";
|
2020-07-18 16:06:22 +00:00
|
|
|
};
|
|
|
|
|
2022-12-28 21:21:41 +00:00
|
|
|
cargoHash = "sha256-U3oNyMS4S44ybAtt1/b0AXDLiag41XWt9DT5mKLQzm8=";
|
2022-10-21 18:38:19 +00:00
|
|
|
|
|
|
|
buildInputs = lib.optional stdenv.isDarwin Security;
|
2020-07-18 16:06:22 +00:00
|
|
|
|
|
|
|
doCheck = false;
|
|
|
|
|
2021-01-15 22:18:51 +00:00
|
|
|
meta = with lib; {
|
2020-07-18 16:06:22 +00:00
|
|
|
description = "Blazing fast and lightweight PostGIS vector tiles server";
|
2022-11-27 09:42:12 +00:00
|
|
|
homepage = "https://martin.maplibre.org/";
|
|
|
|
license = with licenses; [ mit /* or */ asl20 ];
|
2020-07-18 16:06:22 +00:00
|
|
|
maintainers = with maintainers; [ sikmir ];
|
|
|
|
};
|
|
|
|
}
|