python314Packages.mpv: fix build (#538764)
This commit is contained in:
@@ -7,6 +7,7 @@
|
||||
setuptools,
|
||||
pytestCheckHook,
|
||||
pyvirtualdisplay,
|
||||
writableTmpDirAsHomeHook,
|
||||
xvfb,
|
||||
}:
|
||||
|
||||
@@ -35,11 +36,21 @@ buildPythonPackage rec {
|
||||
nativeCheckInputs = [
|
||||
pytestCheckHook
|
||||
pyvirtualdisplay
|
||||
writableTmpDirAsHomeHook
|
||||
]
|
||||
++ lib.optionals stdenv.hostPlatform.isLinux [
|
||||
xvfb
|
||||
];
|
||||
|
||||
disabledTestPaths = [
|
||||
# timing sensitive
|
||||
"tests/test_mpv.py::CommandTests::test_sub_add"
|
||||
|
||||
# flaky
|
||||
"tests/test_mpv.py::ObservePropertyTest::test_property_observer_decorator"
|
||||
"tests/test_mpv.py::RegressionTests::test_wait_for_property_concurrency"
|
||||
];
|
||||
|
||||
pythonImportsCheck = [ "mpv" ];
|
||||
|
||||
meta = {
|
||||
|
||||
Reference in New Issue
Block a user