python311Packages.pyatv: 0.13.4 -> 0.14.4

https://github.com/postlund/pyatv/blob/v0.14.4/CHANGES.md
This commit is contained in:
Martin Weinelt 2023-11-01 19:43:01 +01:00
parent 3086b37cc0
commit 545c6c0bc4
No known key found for this signature in database
GPG key ID: 87C1E9888F856759

View file

@ -1,15 +1,17 @@
{ lib
, buildPythonPackage
, aiohttp
, bitarray
, async-timeout
, chacha20poly1305-reuseable
, cryptography
, deepdiff
, fetchFromGitHub
, ifaddr
, mediafile
, miniaudio
, netifaces
, protobuf
, pydantic
, pyfakefs
, pytest-aiohttp
, pytest-asyncio
, pytest-httpserver
@ -18,23 +20,25 @@
, pythonRelaxDepsHook
, pythonOlder
, requests
, setuptools
, srptools
, stdenv
, tabulate
, zeroconf
}:
buildPythonPackage rec {
pname = "pyatv";
version = "0.13.4";
format = "setuptools";
version = "0.14.4";
pyproject = true;
disabled = pythonOlder "3.7";
disabled = pythonOlder "3.8";
src = fetchFromGitHub {
owner = "postlund";
repo = pname;
repo = "pyatv";
rev = "refs/tags/v${version}";
hash = "sha256-rZnL18vO8eYn70GzeKSY528iTc0r/seGv0dYDYGHNzw=";
hash = "sha256-w3WOlZFfuCmekUsr8msi2LXTm6j8/Bk49L3MiYF7lOM=";
};
postPatch = ''
@ -59,24 +63,28 @@ buildPythonPackage rec {
nativeBuildInputs = [
pythonRelaxDepsHook
setuptools
];
propagatedBuildInputs = [
aiohttp
bitarray
async-timeout
chacha20poly1305-reuseable
cryptography
ifaddr
mediafile
miniaudio
netifaces
protobuf
pydantic
requests
srptools
tabulate
zeroconf
];
nativeCheckInputs = [
deepdiff
pyfakefs
pytest-aiohttp
pytest-asyncio
pytest-httpserver
@ -84,10 +92,6 @@ buildPythonPackage rec {
pytestCheckHook
];
pytestFlagsArray = [
"--asyncio-mode=legacy"
];
disabledTests = lib.optionals (stdenv.isDarwin) [
# tests/protocols/raop/test_raop_functional.py::test_stream_retransmission[raop_properties2-2-True] - assert False
"test_stream_retransmission"