/
default.nix
30 lines (24 loc) · 918 Bytes
/
default.nix
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
{ lib, buildGoModule, fetchFromGitHub }:
buildGoModule rec {
pname = "tile38";
version = "1.32.2";
src = fetchFromGitHub {
owner = "tidwall";
repo = pname;
rev = version;
sha256 = "sha256-caOdcPVp1WonAK7QIvG34BxhOH7OGprWQmXEo+nsGKQ=";
};
vendorHash = "sha256-20zN5ts1jsCDyAolwuygHvkXJdbqGYwSdXh2CY6T1mk=";
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;
maintainers = teams.geospatial.members;
};
}