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";
|
2020-06-06 07:47:24 +01:00
|
|
|
version = "6.0.0";
|
2017-07-26 18:32:29 +01:00
|
|
|
|
2019-01-21 10:02:54 +00:00
|
|
|
src = fetchPypi {
|
|
|
|
inherit pname version;
|
2020-06-06 07:47:24 +01:00
|
|
|
sha256 = "15beaafdb155885794443d99fa687a2787d8bad8ba440ecda10bb72bd6c8c815";
|
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";
|
2020-04-01 02:11:51 +01: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
|
|
|
};
|
|
|
|
}
|