whipper: add passthru.tests.version

This commit is contained in:
Artturin 2022-04-14 17:53:24 +03:00
parent 6df2186d5a
commit def4db69a7

View file

@ -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";