nixpkgs/pkgs/servers/geospatial/martin/default.nix

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

27 lines
717 B
Nix
Raw Normal View History

2022-10-05 23:50:24 +00:00
{ lib, stdenv, rustPlatform, fetchFromGitHub, fetchpatch, Security }:
2020-06-06 10:34:35 +00:00
rustPlatform.buildRustPackage rec {
pname = "martin";
2022-12-18 10:15:04 +00:00
version = "0.6.2";
2020-06-06 10:34:35 +00:00
src = fetchFromGitHub {
2022-11-21 17:41:48 +00:00
owner = "maplibre";
repo = "martin";
2020-06-06 10:34:35 +00:00
rev = "v${version}";
2022-12-18 10:15:04 +00:00
hash = "sha256-+XD4w6W6dyKuTItLQS0P/waksIVsPXVswcrCQ7jpw90=";
2020-06-06 10:34:35 +00:00
};
2022-12-18 10:15:04 +00:00
cargoHash = "sha256-U3oNyMS4S44ybAtt1/b0AXDLiag41XWt9DT5mKLQzm8=";
2022-10-05 23:50:24 +00:00
buildInputs = lib.optional stdenv.isDarwin Security;
2020-06-06 10:34:35 +00:00
doCheck = false;
meta = with lib; {
2020-06-06 10:34:35 +00:00
description = "Blazing fast and lightweight PostGIS vector tiles server";
2022-11-21 17:41:48 +00:00
homepage = "https://martin.maplibre.org/";
license = with licenses; [ mit /* or */ asl20 ];
2020-06-06 10:34:35 +00:00
maintainers = with maintainers; [ sikmir ];
};
}