2022-01-25 03:21:06 +00:00
|
|
|
{ lib, buildGoModule, fetchFromGitHub }:
|
|
|
|
|
|
|
|
buildGoModule rec {
|
|
|
|
pname = "tile38";
|
2024-02-29 20:09:43 +00:00
|
|
|
version = "1.32.2";
|
2022-01-25 03:21:06 +00:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "tidwall";
|
|
|
|
repo = pname;
|
|
|
|
rev = version;
|
2024-02-29 20:09:43 +00:00
|
|
|
sha256 = "sha256-caOdcPVp1WonAK7QIvG34BxhOH7OGprWQmXEo+nsGKQ=";
|
2022-01-25 03:21:06 +00:00
|
|
|
};
|
|
|
|
|
2024-02-29 20:09:43 +00:00
|
|
|
vendorHash = "sha256-20zN5ts1jsCDyAolwuygHvkXJdbqGYwSdXh2CY6T1mk=";
|
2022-01-25 03:21:06 +00:00
|
|
|
|
|
|
|
subPackages = [ "cmd/tile38-cli" "cmd/tile38-server" ];
|
|
|
|
|
|
|
|
ldflags = [ "-s" "-w" "-X github.com/tidwall/tile38/core.Version=${version}" ];
|
|
|
|
|
|
|
|
meta = with lib; {
|
|
|
|
description = "Real-time Geospatial and Geofencing";
|
|
|
|
longDescription = ''
|
|
|
|
Tile38 is an in-memory geolocation data store, spatial index, and realtime geofence.
|
|
|
|
It supports a variety of object types including lat/lon points, bounding boxes, XYZ tiles, Geohashes, and GeoJSON.
|
|
|
|
'';
|
|
|
|
homepage = "https://tile38.com/";
|
|
|
|
license = licenses.mit;
|
2024-01-02 11:29:13 +00:00
|
|
|
maintainers = teams.geospatial.members;
|
2022-01-25 03:21:06 +00:00
|
|
|
};
|
|
|
|
}
|