git.iko.soy/typeable/nixpkgs
on master help sign in
Merge pull request #168634 from mweinelt/whipper
commit497948ec71b344ddf23e730781c576bb519c9af5 authorMartin Weinelt <mweinelt@users.noreply.github.com> dateThu 14 Apr 2022, 17:12 (5 years ago) parent6490a18def4db6
1 file changed+8
pkgs/applications/audio/whipper/default.nix+8
pkgs/applications/audio/whipper/default.nix+8
@@ -8,6 +8,8 @@
88, flac
99, sox
1010, util-linux
11+, testVersion
12+, whipper
1113}:
1214
1315let
@@ -45,6 +47,7 @@ in python3.pkgs.buildPythonApplication rec {
4547 ruamel-yaml
4648 discid
4749 pillow
50+ setuptools
4851 ];
4952
5053 buildInputs = [ libsndfile ];
@@ -71,6 +74,11 @@ in python3.pkgs.buildPythonApplication rec {
7174 runHook postCheck
7275 '';
7376
77+ passthru.tests.version = testVersion {
78+ package = whipper;
79+ command = "HOME=$TMPDIR whipper --version";
80+ };
81+
7482 meta = with lib; {
7583 homepage = "https://github.com/whipper-team/whipper";
7684 description = "A CD ripper aiming for accuracy over speed";