1{ stdenv, buildPythonPackage, fetchPypi, srptools, aiohttp, zeroconf
2, ed25519, cryptography, curve25519-donna, pytest, pytestrunner
3, netifaces, asynctest, virtualenv, toml, filelock, tox }:
4
5buildPythonPackage rec {
6 pname = "pyatv";
7 version = "0.3.12";
8
9 src = fetchPypi {
10 inherit pname version;
11 sha256 = "135xvy1nn0x5knc7l05amfs837xkx2gcg3lpp69ya9kqs8j6brgp";
12 };
13
14 propagatedBuildInputs = [ srptools aiohttp zeroconf ed25519 cryptography curve25519-donna tox ];
15
16 checkInputs = [ pytest pytestrunner netifaces asynctest virtualenv toml filelock ];
17
18 meta = with stdenv.lib; {
19 description = "A python client library for the Apple TV";
20 homepage = https://github.com/postlund/pyatv;
21 license = licenses.mit;
22 maintainers = with maintainers; [ elseym ];
23 };
24}