martin: add updateScript

This commit is contained in:
Nikolay Korotkiy
2026-05-17 12:29:08 +04:00
parent 7fff33b503
commit 456ab429bb
+8
View File
@@ -11,6 +11,7 @@
openssl,
postgresql,
postgresqlTestHook,
nix-update-script,
}:
let
@@ -127,6 +128,13 @@ rustPlatform.buildRustPackage (finalAttrs: {
MLN_CORE_LIBRARY_HEADERS_PATH = "${mlnHeaders}";
};
passthru.updateScript = nix-update-script {
extraArgs = [
"--version-regex=martin-v(.*)"
"--subpackage=webui"
];
};
meta = {
description = "Blazing fast and lightweight PostGIS vector tiles server";
homepage = "https://martin.maplibre.org/";