6 chacha20poly1305-reuseable,
32 buildPythonPackage rec {
37 disabled = pythonOlder "3.8";
39 src = fetchFromGitHub {
42 rev = "refs/tags/v${version}";
43 hash = "sha256-yjPbSTmHoKnVwNArZw5mGf3Eh4Ei1+DkY9y2XRRy4YA=";
47 substituteInPlace setup.py \
48 --replace-fail "pytest-runner" ""
55 "chacha20poly1305-reuseable"
66 build-system = [ setuptools ];
71 chacha20poly1305-reuseable
96 lib.optionals (pythonAtLeast "3.12") [
97 # https://github.com/postlund/pyatv/issues/2365
98 "test_simple_dispatch"
100 ++ lib.optionals (stdenv.hostPlatform.isDarwin) [
101 # tests/protocols/raop/test_raop_functional.py::test_stream_retransmission[raop_properties2-2-True] - assert False
102 "test_stream_retransmission"
105 disabledTestPaths = [
106 # Test doesn't work in the sandbox
107 "tests/protocols/companion/test_companion_auth.py"
108 "tests/protocols/mrp/test_mrp_auth.py"
111 __darwinAllowLocalNetworking = true;
113 pythonImportsCheck = [ "pyatv" ];
116 description = "Python client library for the Apple TV";
117 homepage = "https://github.com/postlund/pyatv";
118 changelog = "https://github.com/postlund/pyatv/blob/v${version}/CHANGES.md";
119 license = licenses.mit;
120 maintainers = with maintainers; [ fab ];