diff --git a/pkgs/applications/audio/whipper/default.nix b/pkgs/applications/audio/whipper/default.nix index 8349cd8d5f62..7b76d91acf81 100644 --- a/pkgs/applications/audio/whipper/default.nix +++ b/pkgs/applications/audio/whipper/default.nix @@ -8,6 +8,8 @@ , flac , sox , util-linux +, testVersion +, whipper }: let @@ -72,6 +74,11 @@ in python3.pkgs.buildPythonApplication rec { runHook postCheck ''; + passthru.tests.version = testVersion { + package = whipper; + command = "HOME=$TMPDIR whipper --version"; + }; + meta = with lib; { homepage = "https://github.com/whipper-team/whipper"; description = "A CD ripper aiming for accuracy over speed";