From 471d15382485e4ea6c2f2cdbd6377d37304c5228 Mon Sep 17 00:00:00 2001 From: Martin Weinelt Date: Tue, 30 Jul 2024 02:06:53 +0200 Subject: [PATCH] whipper: test with pytest --- pkgs/applications/audio/whipper/default.nix | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/pkgs/applications/audio/whipper/default.nix b/pkgs/applications/audio/whipper/default.nix index 179bb9666085..b6ff1f45440c 100644 --- a/pkgs/applications/audio/whipper/default.nix +++ b/pkgs/applications/audio/whipper/default.nix @@ -21,6 +21,7 @@ let in python3.pkgs.buildPythonApplication rec { pname = "whipper"; version = "0.10.0"; + pyproject = true; src = fetchFromGitHub { owner = "whipper-team"; @@ -38,14 +39,15 @@ in python3.pkgs.buildPythonApplication rec { }) ]; - nativeBuildInputs = with python3.pkgs; [ + nativeBuildInputs = [ installShellFiles wrapGAppsNoGuiHook gobject-introspection + ]; - setuptools-scm + build-system = with python3.pkgs; [ docutils - setuptoolsCheckHook + setuptools-scm ]; propagatedBuildInputs = with python3.pkgs; [ @@ -63,6 +65,7 @@ in python3.pkgs.buildPythonApplication rec { nativeCheckInputs = with python3.pkgs; [ twisted + pytestCheckHook ] ++ bins; makeWrapperArgs = [