sydbox: add version test

This commit is contained in:
seth 2024-11-17 14:37:57 -05:00
parent 3fe4a6a95c
commit d02439295c
No known key found for this signature in database
GPG Key ID: D31BD0D494BBEE86

View File

@ -7,6 +7,8 @@
pkg-config,
rustPlatform,
scdoc,
sydbox,
testers,
}:
rustPlatform.buildRustPackage rec {
@ -64,6 +66,11 @@ rustPlatform.buildRustPackage rec {
'';
passthru = {
tests.version = testers.testVersion {
package = sydbox;
command = "syd -V";
};
updateScript = nix-update-script { };
};