udiskie: add version test

This commit is contained in:
Robert Schütz 2024-01-27 07:49:08 -08:00
parent a9118a4343
commit c61788b08d

View File

@ -10,6 +10,8 @@
, python3 , python3
, udisks2 , udisks2
, wrapGAppsHook , wrapGAppsHook
, testers
, udiskie
}: }:
python3.pkgs.buildPythonApplication rec { python3.pkgs.buildPythonApplication rec {
@ -78,6 +80,10 @@ python3.pkgs.buildPythonApplication rec {
pytestCheckHook pytestCheckHook
]; ];
passthru.tests.version = testers.testVersion {
package = udiskie;
};
meta = with lib; { meta = with lib; {
homepage = "https://github.com/coldfix/udiskie"; homepage = "https://github.com/coldfix/udiskie";
changelog = "https://github.com/coldfix/udiskie/blob/${src.rev}/CHANGES.rst"; changelog = "https://github.com/coldfix/udiskie/blob/${src.rev}/CHANGES.rst";