From cc390604e6853561a6af0588e2fcbf68f03509a7 Mon Sep 17 00:00:00 2001 From: h7x4 Date: Sat, 25 Nov 2023 22:51:35 +0100 Subject: [PATCH] cyme: add passthru.tests.version --- pkgs/by-name/cy/cyme/package.nix | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/pkgs/by-name/cy/cyme/package.nix b/pkgs/by-name/cy/cyme/package.nix index 89e02809a612..7f14863a2ecd 100644 --- a/pkgs/by-name/cy/cyme/package.nix +++ b/pkgs/by-name/cy/cyme/package.nix @@ -8,6 +8,8 @@ , libusb1 , udev , nix-update-script +, testers +, cyme }: rustPlatform.buildRustPackage rec { @@ -46,7 +48,12 @@ rustPlatform.buildRustPackage rec { "--skip=test_run" ]; - passthru.updateScript = nix-update-script { }; + passthru = { + updateScript = nix-update-script { }; + tests.version = testers.testVersion { + package = cyme; + }; + }; meta = with lib; { homepage = "https://github.com/tuna-f1sh/cyme";