python3Packages.pyatv: 0.8.2 -> 0.9.5 (#142821)

This commit is contained in:
Fabian Affolter 2021-10-25 16:39:59 +02:00 committed by GitHub
parent 7cbb26bb9d
commit be8a53f7ae
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -6,6 +6,7 @@
, cryptography , cryptography
, deepdiff , deepdiff
, fetchFromGitHub , fetchFromGitHub
, mediafile
, miniaudio , miniaudio
, netifaces , netifaces
, protobuf , protobuf
@ -13,19 +14,23 @@
, pytest-asyncio , pytest-asyncio
, pytest-timeout , pytest-timeout
, pytestCheckHook , pytestCheckHook
, pythonOlder
, srptools , srptools
, zeroconf , zeroconf
}: }:
buildPythonPackage rec { buildPythonPackage rec {
pname = "pyatv"; pname = "pyatv";
version = "0.8.2"; version = "0.9.5";
format = "setuptools";
disabled = pythonOlder "3.6";
src = fetchFromGitHub { src = fetchFromGitHub {
owner = "postlund"; owner = "postlund";
repo = pname; repo = pname;
rev = "v${version}"; rev = "v${version}";
sha256 = "035cjm78xakvfi7k8zahjk0xr23p9my67d8jvq5bqrd506awrl0f"; sha256 = "sha256-7aeXTR0ecrm5+KHRCdW3+HLjU3U7Ja/J6JTU5QscCto=";
}; };
postPatch = '' postPatch = ''
@ -38,6 +43,7 @@ buildPythonPackage rec {
audio-metadata audio-metadata
bitarray bitarray
cryptography cryptography
mediafile
miniaudio miniaudio
netifaces netifaces
protobuf protobuf
@ -55,7 +61,9 @@ buildPythonPackage rec {
__darwinAllowLocalNetworking = true; __darwinAllowLocalNetworking = true;
pythonImportsCheck = [ "pyatv" ]; pythonImportsCheck = [
"pyatv"
];
meta = with lib; { meta = with lib; {
description = "Python client library for the Apple TV"; description = "Python client library for the Apple TV";