Merge pull request #100489 from uvNikita/python/pyatv

pythonPackages.pyatv: 0.7.2 -> 0.7.4
This commit is contained in:
Rok Garbas 2020-10-14 14:07:39 +02:00 committed by GitHub
commit 694e112028
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 12 additions and 10 deletions

View File

@ -1,4 +1,4 @@
{ stdenv, buildPythonPackage, fetchPypi
{ stdenv, buildPythonPackage
, aiohttp
, aiozeroconf
, asynctest
@ -11,15 +11,20 @@
, pytest-asyncio
, pytestrunner
, srptools
, zeroconf
, fetchFromGitHub
, pytestCheckHook
}:
buildPythonPackage rec {
pname = "pyatv";
version = "0.7.2";
version = "v0.7.4";
src = fetchPypi {
inherit pname version;
sha256 = "83d86fac517d33a1e3063a547ee2a520fde74c74a1b95cb5a6f20afccfd59843";
src = fetchFromGitHub {
owner = "postlund";
repo = pname;
rev = version;
sha256 = "17gsamn4aibsx4w50r9dwr5kr9anc7dd0f0dvmdl717rkgh13zyi";
};
nativeBuildInputs = [ pytestrunner];
@ -31,6 +36,8 @@ buildPythonPackage rec {
protobuf
cryptography
netifaces
zeroconf
pytestCheckHook
];
checkInputs = [
@ -40,11 +47,6 @@ buildPythonPackage rec {
pytest-asyncio
];
# just run vanilla pytest to avoid inclusion of coverage reports and xdist
checkPhase = ''
pytest
'';
meta = with stdenv.lib; {
description = "A python client library for the Apple TV";
homepage = "https://github.com/postlund/pyatv";