cyme: add passthru.tests.version

This commit is contained in:
h7x4 2023-11-25 22:51:35 +01:00
parent 2804d70d6d
commit cc390604e6
No known key found for this signature in database
GPG key ID: 9F2F7D8250F35146

View file

@ -8,6 +8,8 @@
, libusb1 , libusb1
, udev , udev
, nix-update-script , nix-update-script
, testers
, cyme
}: }:
rustPlatform.buildRustPackage rec { rustPlatform.buildRustPackage rec {
@ -46,7 +48,12 @@ rustPlatform.buildRustPackage rec {
"--skip=test_run" "--skip=test_run"
]; ];
passthru.updateScript = nix-update-script { }; passthru = {
updateScript = nix-update-script { };
tests.version = testers.testVersion {
package = cyme;
};
};
meta = with lib; { meta = with lib; {
homepage = "https://github.com/tuna-f1sh/cyme"; homepage = "https://github.com/tuna-f1sh/cyme";