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-11-27 09:42:12 +00:00
|
|
|
version = "0.6.1";
|
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-11-27 09:42:12 +00:00
|
|
|
hash = "sha256-k5PekD+7cmsRa7qRAqQ1gKaX7i07whKTgeU6OM39BBE=";
|
2020-07-18 16:06:22 +00:00
|
|
|
};
|
|
|
|
|
2022-11-27 09:42:12 +00:00
|
|
|
cargoHash = "sha256-rcyR1/b9Ap6mQR9yFDdsDJSvGxVNQrpt+t3sRSV4oPU=";
|
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 ];
|
|
|
|
};
|
|
|
|
}
|