python3.pkgs.mpv: use pythonImportsCheck
This commit is contained in:
parent
13e8ace184
commit
809c0ce0cd
1 changed files with 2 additions and 1 deletions
|
@ -23,7 +23,8 @@ buildPythonPackage rec {
|
|||
'';
|
||||
|
||||
# tests impure, will error if it can't load libmpv.so
|
||||
checkPhase = "${python.interpreter} -c 'import mpv'";
|
||||
doCheck = false;
|
||||
pythonImportsCheck = [ "mpv" ];
|
||||
|
||||
meta = with lib; {
|
||||
description = "A python interface to the mpv media player";
|
||||
|
|
Loading…
Reference in a new issue