diff --git a/pkgs/development/python-modules/pyatv/default.nix b/pkgs/development/python-modules/pyatv/default.nix index 10667bc2f4f2..846c1d71a76a 100644 --- a/pkgs/development/python-modules/pyatv/default.nix +++ b/pkgs/development/python-modules/pyatv/default.nix @@ -44,7 +44,7 @@ buildPythonPackage rec { postPatch = '' substituteInPlace setup.py \ - --replace "pytest-runner" "" + --replace-fail "pytest-runner" "" ''; pythonRelaxDeps = [ @@ -62,11 +62,9 @@ buildPythonPackage rec { "zeroconf" ]; - nativeBuildInputs = [ - setuptools - ]; + build-system = [ setuptools ]; - propagatedBuildInputs = [ + dependencies = [ aiohttp async-timeout chacha20poly1305-reuseable @@ -93,11 +91,7 @@ buildPythonPackage rec { ]; disabledTests = - [ - # https://github.com/postlund/pyatv/issues/2307 - "test_zeroconf_service_published" - ] - ++ lib.optionals (pythonAtLeast "3.12") [ + lib.optionals (pythonAtLeast "3.12") [ # https://github.com/postlund/pyatv/issues/2365 "test_simple_dispatch" ]