Some checks failed
Periodic Merges (6h) / master → staging-nixos (push) Failing after 12m50s
Periodic Merges (6h) / master → staging-next (push) Failing after 12m54s
Periodic Merges (24h) / merge-base(master,staging) → haskell-updates (push) Failing after 11m54s
Periodic Merges (6h) / staging-next → staging (push) Failing after 12m13s
Periodic Merges (24h) / staging-next-25.05 → staging-25.05 (push) Failing after 13m24s
Periodic Merges (24h) / release-25.05 → staging-next-25.05 (push) Failing after 14m28s
42 lines
938 B
Nix
42 lines
938 B
Nix
{
|
|
lib,
|
|
buildGoModule,
|
|
fetchFromGitHub,
|
|
}:
|
|
|
|
buildGoModule rec {
|
|
pname = "tile38";
|
|
version = "1.36.5";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "tidwall";
|
|
repo = "tile38";
|
|
tag = version;
|
|
hash = "sha256-+Kon202vDefi4kq7IB1WQU5FfvVJ7CxX1LT7W0HYGeI=";
|
|
};
|
|
|
|
vendorHash = "sha256-YiivAh7aXeVuvI9V1ayvqjJ658Hu8/1icvRbqq2QeI0=";
|
|
|
|
subPackages = [
|
|
"cmd/tile38-cli"
|
|
"cmd/tile38-server"
|
|
];
|
|
|
|
ldflags = [
|
|
"-s"
|
|
"-w"
|
|
"-X github.com/tidwall/tile38/core.Version=${version}"
|
|
];
|
|
|
|
meta = {
|
|
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 = lib.licenses.mit;
|
|
teams = [ lib.teams.geospatial ];
|
|
};
|
|
}
|