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";
|
2019-03-18 16:09:51 +01:00
|
|
|
version = "3.0.0";
|
2017-07-26 19:32:29 +02:00
|
|
|
|
2019-01-21 11:02:54 +01:00
|
|
|
src = fetchPypi {
|
|
|
|
inherit pname version;
|
2019-03-18 16:09:51 +01:00
|
|
|
sha256 = "15zaka9zjyx5lb78f0qs6w8g1rgz94gjgrgxm6iwih0a2l0pv5h9";
|
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";
|
2018-02-25 17:47:45 +01: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
|
|
|
};
|
|
|
|
}
|