mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-18 15:56:50 +01:00
python3Packages.pyatv: 0.8.2 -> 0.9.5 (#142821)
This commit is contained in:
parent
7cbb26bb9d
commit
be8a53f7ae
1 changed files with 11 additions and 3 deletions
|
@ -6,6 +6,7 @@
|
|||
, cryptography
|
||||
, deepdiff
|
||||
, fetchFromGitHub
|
||||
, mediafile
|
||||
, miniaudio
|
||||
, netifaces
|
||||
, protobuf
|
||||
|
@ -13,19 +14,23 @@
|
|||
, pytest-asyncio
|
||||
, pytest-timeout
|
||||
, pytestCheckHook
|
||||
, pythonOlder
|
||||
, srptools
|
||||
, zeroconf
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "pyatv";
|
||||
version = "0.8.2";
|
||||
version = "0.9.5";
|
||||
|
||||
format = "setuptools";
|
||||
disabled = pythonOlder "3.6";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "postlund";
|
||||
repo = pname;
|
||||
rev = "v${version}";
|
||||
sha256 = "035cjm78xakvfi7k8zahjk0xr23p9my67d8jvq5bqrd506awrl0f";
|
||||
sha256 = "sha256-7aeXTR0ecrm5+KHRCdW3+HLjU3U7Ja/J6JTU5QscCto=";
|
||||
};
|
||||
|
||||
postPatch = ''
|
||||
|
@ -38,6 +43,7 @@ buildPythonPackage rec {
|
|||
audio-metadata
|
||||
bitarray
|
||||
cryptography
|
||||
mediafile
|
||||
miniaudio
|
||||
netifaces
|
||||
protobuf
|
||||
|
@ -55,7 +61,9 @@ buildPythonPackage rec {
|
|||
|
||||
__darwinAllowLocalNetworking = true;
|
||||
|
||||
pythonImportsCheck = [ "pyatv" ];
|
||||
pythonImportsCheck = [
|
||||
"pyatv"
|
||||
];
|
||||
|
||||
meta = with lib; {
|
||||
description = "Python client library for the Apple TV";
|
||||
|
|
Loading…
Reference in a new issue