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