Merge pull request #295097 from sikmir/t-rex

t-rex: 0.14.3 → 0.15.0-alpha3
This commit is contained in:
Nikolay Korotkiy 2024-03-12 18:48:16 +04:00 committed by GitHub
commit 04e1a2d69c
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
3 changed files with 9 additions and 12 deletions

View file

@ -17830,6 +17830,7 @@
};
sikmir = {
email = "sikmir@disroot.org";
matrix = "@sikmir:matrix.org";
github = "sikmir";
githubId = 688044;
name = "Nikolay Korotkiy";

View file

@ -1,21 +1,22 @@
{ lib, stdenv, rustPlatform, fetchFromGitHub, pkg-config, gdal, openssl, Security }:
{ lib, stdenv, rustPlatform, fetchFromGitHub, pkg-config, gdal, openssl, darwin }:
rustPlatform.buildRustPackage rec {
pname = "t-rex";
version = "0.14.3";
version = "0.15.0-alpha3";
src = fetchFromGitHub {
owner = "t-rex-tileserver";
repo = pname;
repo = "t-rex";
rev = "v${version}";
hash = "sha256-LUVk5li2cl/LKbhKOh6Bbwav0GEuI/vUbDPLn7NSRIs=";
hash = "sha256-oZZrR86/acoyMX3vC1JGrpc8G+DEuplqfEAnaP+TBGU=";
};
cargoHash = "sha256-I4QmjTTKUp9iugEwzM0xCcNLvF5ozeBdYmbi8sytY88=";
cargoHash = "sha256-nxq4mX2Sy6Hyi8tA2CQsQwISB/kau4DEkAgIm4SvGns=";
nativeBuildInputs = [ pkg-config ];
nativeBuildInputs = [ pkg-config rustPlatform.bindgenHook ];
buildInputs = [ gdal openssl ] ++ lib.optional stdenv.isDarwin Security;
buildInputs = [ gdal openssl ]
++ lib.optional stdenv.isDarwin darwin.apple_sdk.frameworks.Security;
meta = with lib; {
description = "Vector tile server specialized on publishing MVT tiles";
@ -25,6 +26,5 @@ rustPlatform.buildRustPackage rec {
maintainers = teams.geospatial.members;
mainProgram = "t_rex";
platforms = platforms.unix;
broken = true; # https://github.com/t-rex-tileserver/t-rex/issues/302
};
}

View file

@ -27234,10 +27234,6 @@ with pkgs;
pg_tileserv = callPackage ../servers/geospatial/pg_tileserv { };
t-rex = callPackage ../servers/geospatial/t-rex {
inherit (darwin.apple_sdk.frameworks) Security;
};
tegola = callPackage ../servers/geospatial/tegola { };
tile38 = callPackage ../servers/geospatial/tile38 { };