t-rex: migrate to by-name

This commit is contained in:
Nikolay Korotkiy
2024-03-12 00:10:19 +04:00
parent 21a16622ee
commit 439271b6ea
2 changed files with 3 additions and 6 deletions
@@ -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";
-4
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 { };