1{ lib, fetchurl, buildPythonPackage, requests, six, zeroconf, protobuf }:
2
3buildPythonPackage rec {
4 name = "PyChromecast-${version}";
5 version = "0.8.1";
6
7 src = fetchurl {
8 url = "mirror://pypi/p/pychromecast/${name}.tar.gz";
9 sha256 = "05rlr2hjng0xg2a9k9vwmrlvd7vy9sjhxxfl96kx25xynlkq6yq6";
10 };
11
12 propagatedBuildInputs = [ requests six zeroconf protobuf ];
13
14 meta = with lib; {
15 description = "Library for Python 2 and 3 to communicate with the Google Chromecast";
16 homepage = "https://github.com/balloob/pychromecast";
17 license = licenses.mit;
18 maintainers = with maintainers; [ abbradar ];
19 platforms = platforms.linux;
20 };
21}