anki: Add mock to check inputs

Probably got propagated from somewhere and doesn't anymore, which caused
the breakage.
This commit is contained in:
Martin Weinelt 2023-03-12 19:12:58 +01:00
parent 91e11f8f22
commit 4e57d4321a
No known key found for this signature in database
GPG key ID: 87C1E9888F856759

View file

@ -16,6 +16,7 @@
, requests , requests
, markdown , markdown
, matplotlib , matplotlib
, mock
, pytest , pytest
, glibcLocales , glibcLocales
, nose , nose
@ -104,7 +105,7 @@ buildPythonApplication rec {
++ lib.optionals stdenv.isDarwin [ CoreAudio ] ++ lib.optionals stdenv.isDarwin [ CoreAudio ]
; ;
nativeCheckInputs = [ pytest glibcLocales nose ]; nativeCheckInputs = [ pytest glibcLocales mock nose ];
nativeBuildInputs = [ pyqtwebengine.wrapQtAppsHook ]; nativeBuildInputs = [ pyqtwebengine.wrapQtAppsHook ];
buildInputs = [ lame mpv-unwrapped libpulseaudio ]; buildInputs = [ lame mpv-unwrapped libpulseaudio ];