2017-07-26 18:32:29 +01:00
|
|
|
{ lib, fetchurl, buildPythonPackage, requests, six, zeroconf, protobuf }:
|
|
|
|
|
|
|
|
buildPythonPackage rec {
|
2017-11-09 11:26:09 +00:00
|
|
|
pname = "PyChromecast";
|
2018-04-04 19:13:53 +01:00
|
|
|
version = "2.1.0";
|
2017-11-09 11:26:09 +00:00
|
|
|
name = pname + "-" + version;
|
2017-07-26 18:32:29 +01:00
|
|
|
|
|
|
|
src = fetchurl {
|
|
|
|
url = "mirror://pypi/p/pychromecast/${name}.tar.gz";
|
2018-04-04 19:13:53 +01:00
|
|
|
sha256 = "a18fee9bf32f62fcb539783c3888e811015c1f6377bcdb383b13d6537691f336";
|
2017-07-26 18:32:29 +01:00
|
|
|
};
|
|
|
|
|
|
|
|
propagatedBuildInputs = [ requests six zeroconf protobuf ];
|
|
|
|
|
|
|
|
meta = with lib; {
|
|
|
|
description = "Library for Python 2 and 3 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 ];
|
|
|
|
platforms = platforms.linux;
|
|
|
|
};
|
|
|
|
}
|