mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-02 20:03:16 +00:00
2641d97cbf
Reproduction script: # Bulk rewrite ./maintainers/scripts/sha-to-sri.py pkgs/by-name # Revert some packages which will need manual intervention for n in amdvlk azure-cli cargo-profiler corefonts flatito fluxcd gist perf_data_converter protoc-gen-js solana-cli swt verible; do git checkout -- "pkgs/by-name/${n:0:2}/${n}" done
31 lines
916 B
Nix
31 lines
916 B
Nix
{ lib, buildGoModule, fetchFromGitHub }:
|
|
|
|
buildGoModule rec {
|
|
pname = "tile38";
|
|
version = "1.33.2";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "tidwall";
|
|
repo = pname;
|
|
rev = version;
|
|
hash = "sha256-+HclPZOVBa5cEAuUr5R40+CHI58yZJ6uo8qM06IAgQw=";
|
|
};
|
|
|
|
vendorHash = "sha256-nnamNwowRPWQBKUMg800bFgijv8iHbdh/wUwTfX0NcY=";
|
|
|
|
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;
|
|
};
|
|
}
|