6 chacha20poly1305-reuseable,
31 buildPythonPackage rec {
36 disabled = pythonOlder "3.8";
38 src = fetchFromGitHub {
41 rev = "refs/tags/v${version}";
42 hash = "sha256-8ODhDuc4jaLtrLZYd1yJlpYygO6KaguyR/yLWb/rMR4=";
46 substituteInPlace setup.py \
47 --replace-fail "pytest-runner" ""
54 "chacha20poly1305-reuseable"
65 build-system = [ setuptools ];
70 chacha20poly1305-reuseable
94 lib.optionals (pythonAtLeast "3.12") [
95 # https://github.com/postlund/pyatv/issues/2365
96 "test_simple_dispatch"
98 ++ lib.optionals (stdenv.hostPlatform.isDarwin) [
99 # tests/protocols/raop/test_raop_functional.py::test_stream_retransmission[raop_properties2-2-True] - assert False
100 "test_stream_retransmission"
103 disabledTestPaths = [
104 # Test doesn't work in the sandbox
105 "tests/protocols/companion/test_companion_auth.py"
106 "tests/protocols/mrp/test_mrp_auth.py"
109 __darwinAllowLocalNetworking = true;
111 pythonImportsCheck = [ "pyatv" ];
114 description = "Python client library for the Apple TV";
115 homepage = "https://github.com/postlund/pyatv";
116 changelog = "https://github.com/postlund/pyatv/blob/v${version}/CHANGES.md";
117 license = licenses.mit;
118 maintainers = with maintainers; [ fab ];