2019-01-21 11:02:54 +01:00
|
|
|
{ lib, fetchPypi, buildPythonPackage, requests, zeroconf, protobuf, casttube, isPy3k }:
|
2017-07-26 19:32:29 +02:00
|
|
|
|
|
|
|
buildPythonPackage rec {
|
2017-11-09 12:26:09 +01:00
|
|
|
pname = "PyChromecast";
|
2020-07-06 22:52:34 +02:00
|
|
|
version = "7.1.0";
|
2017-07-26 19:32:29 +02:00
|
|
|
|
2019-01-21 11:02:54 +01:00
|
|
|
src = fetchPypi {
|
|
|
|
inherit pname version;
|
2020-07-06 22:52:34 +02:00
|
|
|
sha256 = "1wrl2mcsga60ps9fa6mf12c7agshwsvcmlrhwsbj1kmng5yqxq9h";
|
2017-07-26 19:32:29 +02:00
|
|
|
};
|
|
|
|
|
2019-01-21 11:02:54 +01:00
|
|
|
disabled = !isPy3k;
|
|
|
|
|
|
|
|
propagatedBuildInputs = [ requests zeroconf protobuf casttube ];
|
2017-07-26 19:32:29 +02:00
|
|
|
|
|
|
|
meta = with lib; {
|
2019-01-21 11:02:54 +01:00
|
|
|
description = "Library for Python 3.4+ to communicate with the Google Chromecast";
|
2020-04-01 03:11:51 +02:00
|
|
|
homepage = "https://github.com/balloob/pychromecast";
|
2017-07-26 19:32:29 +02:00
|
|
|
license = licenses.mit;
|
|
|
|
maintainers = with maintainers; [ abbradar ];
|
2019-02-17 14:00:33 +01:00
|
|
|
platforms = platforms.unix;
|
2017-07-26 19:32:29 +02:00
|
|
|
};
|
|
|
|
}
|