git.iko.soy/typeable/nixpkgs
on master help sign in
whipper: add passthru.tests.version
commitdef4db69a7a9f4226ce62f3e2832e7f2a66d0e00 authorArtturin <Artturin@artturin.com> dateThu 14 Apr 2022, 17:53 (5 years ago) parent6df2186
1 file changed+7
pkgs/applications/audio/whipper/default.nix+7
pkgs/applications/audio/whipper/default.nix+7
@@ -8,6 +8,8 @@
88, flac
99, sox
1010, util-linux
11+, testVersion
12+, whipper
1113}:
1214
1315let
@@ -72,6 +74,11 @@ in python3.pkgs.buildPythonApplication rec {
7274 runHook postCheck
7375 '';
7476
77+ passthru.tests.version = testVersion {
78+ package = whipper;
79+ command = "HOME=$TMPDIR whipper --version";
80+ };
81+
7582 meta = with lib; {
7683 homepage = "https://github.com/whipper-team/whipper";
7784 description = "A CD ripper aiming for accuracy over speed";