router: add updateScript and testVersion (#336943)

This commit is contained in:
Ryan Mulligan
2025-11-15 23:01:15 +00:00
committed by GitHub

View File

@@ -7,6 +7,9 @@
pkg-config,
protobuf,
elfutils,
nix-update-script,
testers,
router,
}:
rustPlatform.buildRustPackage rec {
@@ -40,6 +43,11 @@ rustPlatform.buildRustPackage rec {
"-- --skip=query_planner::tests::missing_typename_and_fragments_in_requires"
];
passthru = {
updateScript = nix-update-script { };
tests.version = testers.testVersion { package = router; };
};
meta = with lib; {
description = "Configurable, high-performance routing runtime for Apollo Federation";
homepage = "https://www.apollographql.com/docs/router/";