bbox: init at 0.6.2; t-rex: drop - (#569598)

This commit is contained in:
Ivan Mincik
2026-11-17 06:54:11 +00:00
committed by GitHub
5 changed files with 6611 additions and 43 deletions

View File

@@ -256,6 +256,8 @@
Refer to [upstream upgrade instructions](https://goteleport.com/docs/upgrading/overview/)
and [release notes for v18](https://goteleport.com/docs/changelog/#1800-070325).
- `t-rex` has been removed due to being broken in nixpkgs and the upstream maintainer replacing it with the [BBOX project](https://www.bbox.earth/). To migrate to BBOX refer the [migration guide](https://www.bbox.earth/docs/tile-server/guides/#migration-from-t-rex).
- The `asterisk-lts` package was changed to v22 from v18. The default `asterisk` package was changed to v22 from v20. Asterisk version 18 has been dropped due to being EOL. The `asterisk-stable` (v20) package was unchanged. You may need to update /var/lib/asterisk to match the template files in `${asterisk-...}/var/lib/asterisk`.
- The `archipelago-minecraft` package was removed, as upstream no longer provides support for the Minecraft APWorld.

6543
pkgs/by-name/bb/bbox/Cargo.lock generated Normal file

File diff suppressed because it is too large Load Diff

View File

@@ -0,0 +1,65 @@
{
lib,
rustPlatform,
fetchFromGitHub,
pkg-config,
protobuf,
sqlite,
zstd,
}:
rustPlatform.buildRustPackage (finalAttrs: {
pname = "bbox";
version = "0.6.2";
src = fetchFromGitHub {
owner = "bbox-services";
repo = "bbox";
tag = "v${finalAttrs.version}";
hash = "sha256-FmY9Hqwv9lWjdEMe4JZM/nw8BaeZ+4eK+nibOUwcE+8=";
};
__structuredAttrs = true;
cargoLock = {
lockFile = ./Cargo.lock;
outputHashes = {
"pmtiles-0.12.0" = "sha256-wy22X51TcQOFxdXOInQxoL8DtFPqtV3pE0pQaEehtCA=";
};
};
nativeBuildInputs = [
pkg-config
protobuf
rustPlatform.bindgenHook
];
buildInputs = [
sqlite
zstd
];
env.ZSTD_SYS_USE_PKG_CONFIG = true;
cargoBuildFlags = [
# server including all features
"--package bbox-server"
];
cargoTestFlags = [ "--workspace" ];
meta = {
description = "Composable spatial services";
homepage = "https://www.bbox.earth/";
downloadPage = "https://github.com/bbox-services/bbox/";
changelog = "https://github.com/bbox-services/bbox/blob/${finalAttrs.src.tag}/CHANGELOG.md";
license = with lib.licenses; [
asl20
# or
mit
];
teams = [ lib.teams.geospatial ];
mainProgram = "bbox-server";
};
})

View File

@@ -1,43 +0,0 @@
{
lib,
rustPlatform,
fetchFromGitHub,
pkg-config,
gdal,
openssl,
}:
rustPlatform.buildRustPackage rec {
pname = "t-rex";
version = "0.15.0-alpha3";
src = fetchFromGitHub {
owner = "t-rex-tileserver";
repo = "t-rex";
rev = "v${version}";
hash = "sha256-oZZrR86/acoyMX3vC1JGrpc8G+DEuplqfEAnaP+TBGU=";
};
cargoHash = "sha256-z0YpX1dMWcn2N6fKDbT7lYEQC5PaDNNHi4CW88d/dgI=";
nativeBuildInputs = [
pkg-config
rustPlatform.bindgenHook
];
buildInputs = [
gdal
openssl
];
meta = {
description = "Vector tile server specialized on publishing MVT tiles";
homepage = "https://t-rex.bbox.earth/";
changelog = "https://github.com/t-rex-tileserver/t-rex/blob/v${version}/CHANGELOG.md";
license = lib.licenses.mit;
teams = [ lib.teams.geospatial ];
mainProgram = "t_rex";
platforms = lib.platforms.unix;
broken = true; # see https://github.com/t-rex-tileserver/t-rex/issues/320
};
}

View File

@@ -2676,6 +2676,7 @@ mapAliases {
syrics = throw "'syrics' has been removed because it has been archived upstream 2026-02-22. Upstream suggests librelyrics as a replacement, which is not yet packaged in nixpkgs."; # Added 2026-10-23
system = warnAlias "'system' has been renamed to/replaced by 'stdenv.hostPlatform.system'" stdenv.hostPlatform.system; # Converted to warning 2025-10-28
t1lib = throw "'t1lib' has been removed as it was broken and unmaintained upstream."; # Added 2025-06-11
t-rex = throw "'t-rex' has been removed due to being broken in nixpkgs and the maintainer upstream replacing it with `bbox`. See <https://www.bbox.earth/docs/tile-server/guides/#migration-from-t-rex>"; # Added 2026-11-15
tabnine = throw "'tabnine' has been removed as its source is unavailable"; # Added 2026-10-03
tamgamp.lv2 = tamgamp-lv2; # Added 2025-09-27
taplo-cli = throw "'taplo-cli' has been renamed to/replaced by 'taplo'"; # Converted to throw 2025-10-27