router: add updateScript and testVersion (#336943)
This commit is contained in:
@@ -7,6 +7,9 @@
|
|||||||
pkg-config,
|
pkg-config,
|
||||||
protobuf,
|
protobuf,
|
||||||
elfutils,
|
elfutils,
|
||||||
|
nix-update-script,
|
||||||
|
testers,
|
||||||
|
router,
|
||||||
}:
|
}:
|
||||||
|
|
||||||
rustPlatform.buildRustPackage rec {
|
rustPlatform.buildRustPackage rec {
|
||||||
@@ -40,6 +43,11 @@ rustPlatform.buildRustPackage rec {
|
|||||||
"-- --skip=query_planner::tests::missing_typename_and_fragments_in_requires"
|
"-- --skip=query_planner::tests::missing_typename_and_fragments_in_requires"
|
||||||
];
|
];
|
||||||
|
|
||||||
|
passthru = {
|
||||||
|
updateScript = nix-update-script { };
|
||||||
|
tests.version = testers.testVersion { package = router; };
|
||||||
|
};
|
||||||
|
|
||||||
meta = with lib; {
|
meta = with lib; {
|
||||||
description = "Configurable, high-performance routing runtime for Apollo Federation";
|
description = "Configurable, high-performance routing runtime for Apollo Federation";
|
||||||
homepage = "https://www.apollographql.com/docs/router/";
|
homepage = "https://www.apollographql.com/docs/router/";
|
||||||
|
|||||||
Reference in New Issue
Block a user