python3Packages.pyatv: 0.3.13 -> 0.6.1
This commit is contained in:
parent
0a02d4129b
commit
a02dbee0a0
|
@ -1,19 +1,49 @@
|
||||||
{ stdenv, buildPythonPackage, fetchPypi, srptools, aiohttp, zeroconf
|
{ stdenv, buildPythonPackage, fetchPypi
|
||||||
, ed25519, cryptography, curve25519-donna, pytest, pytestrunner
|
, aiohttp
|
||||||
, netifaces, asynctest, virtualenv, toml, filelock, tox }:
|
, aiozeroconf
|
||||||
|
, asynctest
|
||||||
|
, cryptography
|
||||||
|
, deepdiff
|
||||||
|
, netifaces
|
||||||
|
, protobuf
|
||||||
|
, pytest
|
||||||
|
, pytest-aiohttp
|
||||||
|
, pytest-asyncio
|
||||||
|
, pytestrunner
|
||||||
|
, srptools
|
||||||
|
}:
|
||||||
|
|
||||||
buildPythonPackage rec {
|
buildPythonPackage rec {
|
||||||
pname = "pyatv";
|
pname = "pyatv";
|
||||||
version = "0.3.13";
|
version = "0.6.1";
|
||||||
|
|
||||||
src = fetchPypi {
|
src = fetchPypi {
|
||||||
inherit pname version;
|
inherit pname version;
|
||||||
sha256 = "8fc1a903a9d666e4109127410d35a83458559a86bc0de3fe1ffb3f15d2d653b3";
|
sha256 = "0f9wj1ggllwpjd9nh6nsrck7m4gbz29q6vqbrhbkc2kz6waqkgwc";
|
||||||
};
|
};
|
||||||
|
|
||||||
propagatedBuildInputs = [ srptools aiohttp zeroconf ed25519 cryptography curve25519-donna tox ];
|
nativeBuildInputs = [ pytestrunner];
|
||||||
|
|
||||||
checkInputs = [ pytest pytestrunner netifaces asynctest virtualenv toml filelock ];
|
propagatedBuildInputs = [
|
||||||
|
aiozeroconf
|
||||||
|
srptools
|
||||||
|
aiohttp
|
||||||
|
protobuf
|
||||||
|
cryptography
|
||||||
|
netifaces
|
||||||
|
];
|
||||||
|
|
||||||
|
checkInputs = [
|
||||||
|
deepdiff
|
||||||
|
pytest
|
||||||
|
pytest-aiohttp
|
||||||
|
pytest-asyncio
|
||||||
|
];
|
||||||
|
|
||||||
|
# just run vanilla pytest to avoid inclusion of coverage reports and xdist
|
||||||
|
checkPhase = ''
|
||||||
|
pytest
|
||||||
|
'';
|
||||||
|
|
||||||
meta = with stdenv.lib; {
|
meta = with stdenv.lib; {
|
||||||
description = "A python client library for the Apple TV";
|
description = "A python client library for the Apple TV";
|
||||||
|
|
Loading…
Reference in New Issue