Merge pull request #155907 from sikmir/tile38

This commit is contained in:
Sandro 2022-01-24 01:04:29 +01:00 committed by GitHub
commit 50dc603e56
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 33 additions and 1 deletions

View File

@ -11034,7 +11034,7 @@
name = "Yann Hodique";
};
sikmir = {
email = "sikmir@gmail.com";
email = "sikmir@disroot.org";
github = "sikmir";
githubId = 688044;
name = "Nikolay Korotkiy";

View File

@ -0,0 +1,30 @@
{ lib, buildGoModule, fetchFromGitHub }:
buildGoModule rec {
pname = "tile38";
version = "1.27.1";
src = fetchFromGitHub {
owner = "tidwall";
repo = pname;
rev = version;
sha256 = "sha256-CT611ZQmUYb6AclDEWXQsKDNxpwdJ+jqxIdDKGRo4/Q=";
};
vendorSha256 = "sha256-FeQbfnvdERg5jtiTaT7Uz1YvmYLDXCDEf4sAyr3+Avk=";
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 = with maintainers; [ sikmir ];
};
}

View File

@ -10208,6 +10208,8 @@ with pkgs;
tidy-viewer = callPackage ../tools/text/tidy-viewer { };
tile38 = callPackage ../servers/tile38 { };
tiled = libsForQt5.callPackage ../applications/editors/tiled { };
tiledb = callPackage ../development/libraries/tiledb { };