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