2018-11-22 22:16:50 +00:00
|
|
|
{ stdenv, buildPythonPackage, fetchPypi, srptools, aiohttp, zeroconf
|
|
|
|
, ed25519, cryptography, curve25519-donna, pytest, pytestrunner
|
|
|
|
, netifaces, asynctest, virtualenv, toml, filelock, tox }:
|
|
|
|
|
|
|
|
buildPythonPackage rec {
|
|
|
|
pname = "pyatv";
|
2019-10-16 09:43:12 +00:00
|
|
|
version = "0.3.13";
|
2018-11-22 22:16:50 +00:00
|
|
|
|
|
|
|
src = fetchPypi {
|
|
|
|
inherit pname version;
|
2019-10-16 09:43:12 +00:00
|
|
|
sha256 = "8fc1a903a9d666e4109127410d35a83458559a86bc0de3fe1ffb3f15d2d653b3";
|
2018-11-22 22:16:50 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
propagatedBuildInputs = [ srptools aiohttp zeroconf ed25519 cryptography curve25519-donna tox ];
|
|
|
|
|
|
|
|
checkInputs = [ pytest pytestrunner netifaces asynctest virtualenv toml filelock ];
|
|
|
|
|
|
|
|
meta = with stdenv.lib; {
|
|
|
|
description = "A python client library for the Apple TV";
|
2020-04-01 01:11:51 +00:00
|
|
|
homepage = "https://github.com/postlund/pyatv";
|
2018-11-22 22:16:50 +00:00
|
|
|
license = licenses.mit;
|
|
|
|
maintainers = with maintainers; [ elseym ];
|
|
|
|
};
|
|
|
|
}
|