2019-01-02 13:22:39 -08:00
|
|
|
{ lib, fetchurl, buildPythonPackage, requests, six, zeroconf, protobuf, casttube }:
|
2017-07-26 10:32:29 -07:00
|
|
|
|
|
|
|
buildPythonPackage rec {
|
2017-11-09 03:26:09 -08:00
|
|
|
pname = "PyChromecast";
|
2018-11-04 02:35:11 -08:00
|
|
|
version = "2.3.0";
|
2017-11-09 03:26:09 -08:00
|
|
|
name = pname + "-" + version;
|
2017-07-26 10:32:29 -07:00
|
|
|
|
|
|
|
src = fetchurl {
|
|
|
|
url = "mirror://pypi/p/pychromecast/${name}.tar.gz";
|
2018-11-04 02:35:11 -08:00
|
|
|
sha256 = "f385168e34d2ef47f976c8e41bad2f58f5ca004634c0ccb1a12623d8beb2fa38";
|
2017-07-26 10:32:29 -07:00
|
|
|
};
|
|
|
|
|
2019-01-02 13:22:39 -08:00
|
|
|
propagatedBuildInputs = [ requests six zeroconf protobuf casttube ];
|
2017-07-26 10:32:29 -07:00
|
|
|
|
|
|
|
meta = with lib; {
|
|
|
|
description = "Library for Python 2 and 3 to communicate with the Google Chromecast";
|
2018-02-25 08:47:45 -08:00
|
|
|
homepage = https://github.com/balloob/pychromecast;
|
2017-07-26 10:32:29 -07:00
|
|
|
license = licenses.mit;
|
|
|
|
maintainers = with maintainers; [ abbradar ];
|
|
|
|
platforms = platforms.linux;
|
|
|
|
};
|
|
|
|
}
|