From e1317cb5a170da463a095839dac925fa144d73f8 Mon Sep 17 00:00:00 2001 From: Nikolay Korotkiy Date: Thu, 20 Jan 2022 19:40:48 +0300 Subject: [PATCH 1/2] tile38: init at 1.27.1 --- pkgs/servers/tile38/default.nix | 30 ++++++++++++++++++++++++++++++ pkgs/top-level/all-packages.nix | 2 ++ 2 files changed, 32 insertions(+) create mode 100644 pkgs/servers/tile38/default.nix diff --git a/pkgs/servers/tile38/default.nix b/pkgs/servers/tile38/default.nix new file mode 100644 index 000000000000..8d86a03ed7c8 --- /dev/null +++ b/pkgs/servers/tile38/default.nix @@ -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 ]; + }; +} diff --git a/pkgs/top-level/all-packages.nix b/pkgs/top-level/all-packages.nix index 0e8a3c276c88..cb10f4fe700e 100644 --- a/pkgs/top-level/all-packages.nix +++ b/pkgs/top-level/all-packages.nix @@ -10192,6 +10192,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 { }; From 899605d9b3c0ef408aea837d3f5e568ce62215d8 Mon Sep 17 00:00:00 2001 From: Nikolay Korotkiy Date: Thu, 20 Jan 2022 20:02:24 +0300 Subject: [PATCH 2/2] maintainers: update sikmir's email --- maintainers/maintainer-list.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/maintainers/maintainer-list.nix b/maintainers/maintainer-list.nix index 12c684640bbb..0e3d90d4a933 100644 --- a/maintainers/maintainer-list.nix +++ b/maintainers/maintainer-list.nix @@ -11016,7 +11016,7 @@ name = "Yann Hodique"; }; sikmir = { - email = "sikmir@gmail.com"; + email = "sikmir@disroot.org"; github = "sikmir"; githubId = 688044; name = "Nikolay Korotkiy";