5 , chacha20poly1305-reuseable
30 buildPythonPackage rec {
35 disabled = pythonOlder "3.8";
37 src = fetchFromGitHub {
40 rev = "refs/tags/v${version}";
41 hash = "sha256-w3WOlZFfuCmekUsr8msi2LXTm6j8/Bk49L3MiYF7lOM=";
45 substituteInPlace setup.py \
46 --replace "pytest-runner" ""
53 "chacha20poly1305-reuseable"
69 propagatedBuildInputs = [
72 chacha20poly1305-reuseable
95 disabledTests = lib.optionals (stdenv.isDarwin) [
96 # tests/protocols/raop/test_raop_functional.py::test_stream_retransmission[raop_properties2-2-True] - assert False
97 "test_stream_retransmission"
100 disabledTestPaths = [
101 # Test doesn't work in the sandbox
102 "tests/protocols/companion/test_companion_auth.py"
103 "tests/protocols/mrp/test_mrp_auth.py"
106 __darwinAllowLocalNetworking = true;
108 pythonImportsCheck = [
113 description = "Python client library for the Apple TV";
114 homepage = "https://github.com/postlund/pyatv";
115 changelog = "https://github.com/postlund/pyatv/blob/v${version}/CHANGES.md";
116 license = licenses.mit;
117 maintainers = with maintainers; [ fab ];