diff options
Diffstat (limited to 'pkgs/servers/geospatial/martin/default.nix')
-rw-r--r-- | pkgs/servers/geospatial/martin/default.nix | 27 |
1 files changed, 27 insertions, 0 deletions
diff --git a/pkgs/servers/geospatial/martin/default.nix b/pkgs/servers/geospatial/martin/default.nix new file mode 100644 index 00000000000..78eaeb7ce8b --- /dev/null +++ b/pkgs/servers/geospatial/martin/default.nix @@ -0,0 +1,27 @@ +{ lib, stdenv, rustPlatform, fetchFromGitHub, Security }: + +rustPlatform.buildRustPackage rec { + pname = "martin"; + version = "0.5.0"; + + src = fetchFromGitHub { + owner = "urbica"; + repo = pname; + rev = "v${version}"; + sha256 = "1i9zhmjkgid4s90n52wqmrl3lwswcaxd6d47ssycgjl1nv0jla4k"; + }; + + cargoSha256 = "1jgl8s6h4pqhn189swrhn896kw1rkmqpf7dq52ry2rdci80g02nq"; + + buildInputs = with stdenv; lib.optional isDarwin Security; + + doCheck = false; + + meta = with lib; { + description = "Blazing fast and lightweight PostGIS vector tiles server"; + homepage = "https://martin.urbica.co/"; + license = licenses.mit; + maintainers = with maintainers; [ sikmir ]; + platforms = with platforms; linux ++ darwin; + }; +} |