t-rex: migrate to by-name

This commit is contained in:
Nikolay Korotkiy 2024-03-11 23:30:20 +04:00
parent 21a16622ee
commit 439271b6ea
No known key found for this signature in database
GPG Key ID: D1DE6D7F693663A5
2 changed files with 3 additions and 6 deletions

View File

@ -1,4 +1,4 @@
{ lib, stdenv, rustPlatform, fetchFromGitHub, pkg-config, gdal, openssl, Security }:
{ lib, stdenv, rustPlatform, fetchFromGitHub, pkg-config, gdal, openssl, darwin }:
rustPlatform.buildRustPackage rec {
pname = "t-rex";
@ -15,7 +15,8 @@ rustPlatform.buildRustPackage rec {
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";

View File

@ -27236,10 +27236,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 { };