python3.pkgs.mpv: use pythonImportsCheck

This commit is contained in:
Alyssa Ross 2023-02-27 10:10:52 +00:00
parent 13e8ace184
commit 809c0ce0cd

View file

@ -23,7 +23,8 @@ buildPythonPackage rec {
''; '';
# tests impure, will error if it can't load libmpv.so # tests impure, will error if it can't load libmpv.so
checkPhase = "${python.interpreter} -c 'import mpv'"; doCheck = false;
pythonImportsCheck = [ "mpv" ];
meta = with lib; { meta = with lib; {
description = "A python interface to the mpv media player"; description = "A python interface to the mpv media player";