2019-01-21 10:02:54 +00:00
|
|
|
{ lib, fetchPypi, buildPythonPackage, requests, zeroconf, protobuf, casttube, isPy3k }:
|
2017-07-26 18:32:29 +01:00
|
|
|
|
|
|
|
buildPythonPackage rec {
|
2017-11-09 11:26:09 +00:00
|
|
|
pname = "PyChromecast";
|
2019-06-03 15:23:11 +01:00
|
|
|
version = "3.2.2";
|
2017-07-26 18:32:29 +01:00
|
|
|
|
2019-01-21 10:02:54 +00:00
|
|
|
src = fetchPypi {
|
|
|
|
inherit pname version;
|
2019-06-03 15:23:11 +01:00
|
|
|
sha256 = "17l7nlnpqjgnrw4hzs52lbzmdxa1vm3v51mm33l4c43c1md5m2ns";
|
2017-07-26 18:32:29 +01:00
|
|
|
};
|
|
|
|
|
2019-01-21 10:02:54 +00:00
|
|
|
disabled = !isPy3k;
|
|
|
|
|
|
|
|
propagatedBuildInputs = [ requests zeroconf protobuf casttube ];
|
2017-07-26 18:32:29 +01:00
|
|
|
|
|
|
|
meta = with lib; {
|
2019-01-21 10:02:54 +00:00
|
|
|
description = "Library for Python 3.4+ to communicate with the Google Chromecast";
|
2018-02-25 16:47:45 +00:00
|
|
|
homepage = https://github.com/balloob/pychromecast;
|
2017-07-26 18:32:29 +01:00
|
|
|
license = licenses.mit;
|
|
|
|
maintainers = with maintainers; [ abbradar ];
|
2019-02-17 13:00:33 +00:00
|
|
|
platforms = platforms.unix;
|
2017-07-26 18:32:29 +01:00
|
|
|
};
|
|
|
|
}
|