1{ lib, fetchurl, buildPythonPackage, requests, six, zeroconf, protobuf }: 2 3buildPythonPackage rec { 4 pname = "PyChromecast"; 5 version = "2.2.0"; 6 name = pname + "-" + version; 7 8 src = fetchurl { 9 url = "mirror://pypi/p/pychromecast/${name}.tar.gz"; 10 sha256 = "7c3773c0e134e762fd65a3407e680ab4c5c656fe7c5665b2f8f5ef445c7605a4"; 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}