nixpkgs mirror (for testing) github.com/NixOS/nixpkgs
nix
at devShellTools-shell 41 lines 938 B view raw
1{ 2 lib, 3 buildGoModule, 4 fetchFromGitHub, 5}: 6 7buildGoModule rec { 8 pname = "tile38"; 9 version = "1.35.0"; 10 11 src = fetchFromGitHub { 12 owner = "tidwall"; 13 repo = "tile38"; 14 tag = version; 15 hash = "sha256-n17W/JOtVV6Mjhp81xx25j6GUbR9WCd3JLh9voyMeC0="; 16 }; 17 18 vendorHash = "sha256-/EgUacA9xTUw3e8208NWxhaeZ/KgHLSnxy/fIqC+gZE="; 19 20 subPackages = [ 21 "cmd/tile38-cli" 22 "cmd/tile38-server" 23 ]; 24 25 ldflags = [ 26 "-s" 27 "-w" 28 "-X github.com/tidwall/tile38/core.Version=${version}" 29 ]; 30 31 meta = { 32 description = "Real-time Geospatial and Geofencing"; 33 longDescription = '' 34 Tile38 is an in-memory geolocation data store, spatial index, and realtime geofence. 35 It supports a variety of object types including lat/lon points, bounding boxes, XYZ tiles, Geohashes, and GeoJSON. 36 ''; 37 homepage = "https://tile38.com/"; 38 license = lib.licenses.mit; 39 teams = [ lib.teams.geospatial ]; 40 }; 41}